Godot 4 - RPG Inventory System From Scratch

Godot 4 - RPG Inventory System From Scratch

147.590 Lượt nghe
Godot 4 - RPG Inventory System From Scratch
Basic FPS Controller Code: https://pastebin.com/yJwwpkCu Shikashi's Fantasy icons Pack: https://cheekyinkling.itch.io/shikashis-fantasy-icons-pack Follow along as I code the structure of an RPG type inventory system in Godot 4. === Intro / Setup === 0:00 Intro 0:45 Project Setup === Resource Data Structure === 2:50 Item Data Resource 4:27 Slot Data Resource 5:38 Inventory Data Resource 6:22 Creating a Test Inventory === Inventory UI === 9:07 Slot UI Scene 10:46 Inventory UI Scene 11:47 Inventory Interface 13:12 Populating the Item Grid 15:29 Setting Slot Data 18:02 Quantity Bugfix 19:34 Link Player Inventory Data to Interface 21:24 Toggle Inventory Interface Visibility === UI Input === 23:05 Slot Clicked Signal 25:38 Inventory Interact Signal 27:00 Grab Slot Data 28:35 Update Grabbed Slot Display 30:28 Inventory Updated Signal 31:40 Drop Slot Data 33:41 Fully Merge Slot Data 36:24 Drop Single Slot Data === Chest / External Inventory === 39:22 Interact With Chest 42:12 Link Chest Inventory Data to Interface 44:50 Display External Inventory 46:43 Clear External Inventory === Picking Up / Dropping Items === 48:48 Pick Up Scene 50:59 Pick Up Script 52:25 Picking Up a Slot Data 53:52 Merging Pick Ups 54:56 Drop Slot Data Signal 56:14 Instancing a Dropped Pick Up 57:13 Misc Drop Item Fixes 58:41 Dropping a Single From Multiple 59:31 Drop When Toggling Inventory === Simple Consumable Item Example === 1:00:20 Item Data Consumable 1:02:22 Use Item Slot Function 1:04:24 Heal Function === Hotbar === 1:06:53 Hot Bar Inventory Scene 1:07:44 Populating the Hotbar 1:09:53 Using the Hotbar === Basic Equipment Slot Example === 1:11:20 Item Data Equip 1:12:41 Inventory Data Equip 1:14:13 Equipment Slot UI === Misc / Outro === 1:15:38 Chest Bugfix 1:17:17 Outro