In this video we’ll add to our resource based inventory system by adding item pickups and a resource based item effect system for using items.
Topics Covered: Resources in Godot 4, Inventory System, Inventory UI, GUI, Godot UI, Pause Menu, Pause Game, Atlas Texture, Panel Container, Grid Container, Items, pickup
New Assets Needed:
- item_pickup.wav
- hp-up.wav
- items.png (latest version)
Asset Download Page: michaelgames.itch.io/2d-actio...
GitHub Repo: github.com/michaelmalaska/aar...
Discord: / discord
--------------------
Chapters
--------------------
0:00 Intro
0:36 Update Inventory Data Resource Script
6:43 Item Pickup Scene
8:58 Item Pickup Script
13:26 Add Player Inventory to PlayerManger
18:10 Add Item Pickups to Level
21:01 Item Effect Resource Type
26:16 Add ItemEffects to ItemData Class
30:03 Add AudioStreamPlayer to PauseMenu
32:26 Add Use to Inventoy Slot UI
36:29 Fix Inventory Description "Bug"
37:05 Handle Items Depleted
43:15 InventoryUI Handle Inventory Changed Signal
44:55 Fix Item Unfocus Defect when Item is Depleted
49:52 Test by Creating Brand New Item
--------------------
Previous Video - Resource Based Inventory System (part I) // E16: • Resource Based Invento...
Next Video - Save & Load Items - Inventory (part III) // E18: • Save & Load Items - In...
Series Playlist: • Make a 2D Action & Adv...
11 июн 2024