Slot-based Inventory System

This is a UI demo for a simple inventory system written from scratch in Godot engine.

Demo features

  • Drag and drop controls for managing inventory items
  • Simulating item pick-ups and dropping items
  • Multiple external containers
  • An example of using items' meta data (e.g. calculating total armor rating)

Controls

  • Left-click for grabbing/putting down an item
  • Right-click for grabbing half of the items in a slot or putting down a single item i a slot
  • Left-click with a grabbed item outside of the inventory interface to drop it
  • Use the Item pick-up buttons to simulate picking items (e.g. picking dropped items from game world)
  • Use container toggle buttons to open/close containers

How to use

You can download the full project from this page or my GitHub:

https://github.com/ShayanMasoudzadeh/Slot-based-Inventory-System

The core inventory system code can be found in "src/" folder

Updated 27 days ago
Published 29 days ago
StatusReleased
CategoryTool
PlatformsHTML5
AuthorShayanJoon
Made withGodot
TagsGodot

Download

Download
Godot Project File 658 kB

Install instructions

Project file for Godot Engine v4.5.stable.

Leave a comment

Log in with itch.io to leave a comment.