I built the first real version of my inventory system where items can be dragged between slots and now picked up from the world. The biggest change is that the inventory is no longer just UI — it actually connects to gameplay through item pickups and world objects.
The hardest part was getting Godot’s drag-and-drop system working correctly. At first, items would disappear or not register drops because I was clearing slots too early and missing the proper _get_drag_data() flow. I also had to fix mouse filtering so the slots would actually receive input.
After that, I added a simple world item system using an Area3D, so walking into the sword adds it directly into the first empty inventory slot. Wiring the inventory as a global group took a bit of trial and error, but it finally connects cleanly now.
Right now it’s still very basic — no stacking or hotbar yet — but the foundation is solid: items exist in the world, can be picked up, and moved freely between slots. This is the first step toward a full RPG inventory system.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.