Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Make INVENTORY in Godot 4 (4.2), STEP-BY-STEP Tutorial
164Likes
4,412Views
2023Dec 16
Make this simple inventory in Godot 4.2 for your ARPG game with this detailed step-by-step tutorial! (Works also in Godot 4, Godot 3 with little to none changes). Get pixel-art icon pack from: itch.io - cainos - pixel art icon pack RPG Timestamps: 0:22 Start 2:30 Item - tool script 2:57 texture filtering 3:01 InventoryNode - Start 3:38 InventoryNode - getPosByIndex() 4:02 InventoryNode - _draw() 4:33 InventoryNode - getIndexByPos() 5:58 TEST 1: Slots and hovering effect 6:22 InventoryNode - Add child items 6:40 InventoryNode - update_item_positions() 7:08 TEST 2: Item positions updated 7:35 Adding new 'mouse_left'-input 8:05 InventoryNode - get_item() 9:40 TEST 3: Dragging & dropping items 10:01 InventoryNode - set_item() 11:45 TEST 4: Swapping items 12:30 Hotbar Hope you liked the video and found this somewhat helpful! If you want to see more videos like this, or another topic, please comment about it down below.

Follow along using the transcript.

CodePerformance

129 subscribers