Drag and Drop Inventory System | Godot Tutorial
Game Development Center
In this Godot tutorial, I will teach you how to make a Drag and Drop Inventory System. This Godot Tutorial will make use of the built-in drag and drop functionalities of Godot's control nodes. With this code, we will be able to drag and drop items from one inventory slot to the other inventory slot, and also drag items from our inventory to then drop them in our equipment slots.
Tutorials for both UI panels: Character Screen: https://youtu.be/lwTPlnW1qhA Inventory Panel: https://youtu.be/lrAwX2t1mGY
0:00 Intro 0:29 Built-in Functions 2:49 Dragging an Item 4:34 Setting up Inventory and UI 7:01 Dropping an Item 7:50 Adding Code to All Slots 8:59 get drag data 11:13 can drop data 13:13 Inventory Catch-Up 17:36 drop data 22:36 Demonstration 23:03 Outro
⬧⬧⬧⬧⬧ GDC TUTORIALS ⬧⬧⬧⬧⬧ I believe educational material should be available to all, for free Support this vision by joining the GDC-Club and get perks in return https://www.youtube.com/c/gamedevelopmentcenter/join https://www.patreon.com/gamedevelopmentcenter
⬧⬧⬧⬧⬧ LEARN MORE GAMEDEV ⬧⬧⬧⬧⬧ These books have helped me in my game design and programming, I whole fully recommend them to you! Level Up! The Guide to Great Video Game Design ►► https://amzn.to/3hIg6dE Game Programming Patterns ►► https://amzn.to/35IoDsH The Art of Game Design: A Book of Lenses ►► https://amzn.to/35MSHoU
⬧⬧⬧⬧⬧ LIVESTREAMS ⬧⬧⬧⬧⬧ I Livestream game development twice a week right here on YouTube. Subscribe and hit that Bell Icon to make sure you don't miss it! https://www.youtube.com/c/GameDevelopmentCenter?sub_confirmation=1
Tuesday and Thursday 1900 to 2200 (GMT+1/2 (winter/summertime), that's; 1200 to 1500 (PST), or 1500 to 1800 (EST).
⬧⬧⬧⬧⬧ COMMUNITY & SOCIAL ⬧⬧⬧⬧⬧ Join the community! Follow me on Social! DISCORD ►► https://discord.gg/DwcFXyS TWITTER ►► https://twitter.com/GamedevStefan
⬧⬧⬧⬧⬧ ASSETS USED ⬧⬧⬧⬧⬧ UI asset pack ►► https://assetstore.unity.com/packages/2d/gui/classic-rpg-gui-160253?aid=1101leLEi 4000 Icons Pack ►► https://assetstore.unity.com/packages/2d/gui/icons/4000-fantasy-icons-163280?aid=1101leLEi
⬧⬧⬧⬧⬧ ABOUT GDC ⬧⬧⬧⬧⬧ GDC, Game Development Center, was created to provide in-depth tutorials on game design theory and game development using the Godot Game Engine. I aim for multi-part Godot tutorials, allowing me to dive deeper into Godot's features.
⬧⬧⬧⬧⬧ DISCLAIMER ⬧⬧⬧⬧⬧ Some of these links go to one of my websites and some are affiliate links where I'll earn a small commission if you make a purchase at no additional cost or disadvantage to you. You will receive the same price and service. ... https://www.youtube.com/watch?v=dZYlwmBCziM
210332940 Bytes