Split Inventory Stacks | Godot Inventory Tutorial

Опубликовано: 16 Май 2026
на канале: Game Development Center
3,263
115

In this Godot tutorial, I will teach you how to split inventory stacks. The code handles both functionalities of splitting stacks and many of the common bugs/exploits that could creep into the code when programming stacking and split stacks. Combined with the other tutorials in this series you have a flexible grid-based inventory system to use in your games.

Inventory Panel:
   • Grid Based Inventory System | Godot Invent...  
Drag & Drop functionality:
   • Drag and Drop Inventory System | Godot Tut...  
Stackable Items:
   • Stackable Items  | Godot Inventory Tutorial  

0:00 Intro
0:17 Possible exploits to address
2:27 Creating the UI Popup
7:24 Coding Popup Call
11:44 Coding for User Input
15:17 Coding to Split a Stack
17:35 Demonstration
18:59 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
MEMBERS ►►   / gamedevelopmentcenter  
PATREON ►►  / 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/GameDevelop...

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 ►►   / discord  
TWITTER ►►   / gamedevstefan  

⬧⬧⬧⬧⬧ ASSETS USED ⬧⬧⬧⬧⬧
UI asset pack ►► https://assetstore.unity.com/packages...
4000 Icons Pack ►► https://assetstore.unity.com/packages...

Chocolate Cake Icon by KAdala

⬧⬧⬧⬧⬧ 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.