Godot 3 Inventory Tutorial | The Refactor | Part 11

Опубликовано: 14 Октябрь 2024
на канале: Calame321
1,841
41

The inventory system is using nodes for the UI and data. It could be a problem if there is a lot of inventories, item slots and items loaded. So to fix that I placed the data and code in a resource script and only generate the UI when I want to display the inventory.

GitHub code
https://github.com/Calame321/Modular-...

Useful links
itch.io: https://itch.io/profile/calame
Twitch:   / calame321  
Discord:   / discord  
Patreon:   / calame  

Timestamps:
0:00 - Intro
1:20 - The Problem
2:34 - Folder Cleanup
4:00 - New Item Scene
5:35 - New Item Rsource
10:40 - ItemManager
13:50 - ReourceManager
14:35 - Item_Node
17:43 - CooldownManager
21:41 - Item_Usable
25:43 - Moving items Components & Item_Info
27:41 - Inventory_Slot & Node
35:16 - Inventory & Node
40:15 - Equipment_Slot & Node
42:36 - Equipment & Node
45:00 - Hotbar_Slot & Node
48:40 - Inventory Container
50:16 - Inventory Player
52:40 - Interactables
55:33 - Data Resources
58:23 - InventoryManager
1:07:00 - Hotbar & Node
1:13:47 - The UI Folder
1:20:40 - Equipment UI
1:22:18 - InventoryManager UI
1:24:11 - Bug Hunting!
1:36:34 - Thank You!