guys can i ask how to make a simple inventory system with 12 slots and how it works also has drag&drop, i.e stackable items… im not really that good in terms of javascript coding and stuff
An inventory system requires the following:
- a GUI to show the inventory items
- icons for each possible inventory item
- an array of possible objects that could be added to the inventory
- an array of objects that are actually in the inventory
- functions to add items, remove items, and use items
- optional functions for stacking items and combining two items together
If you’re not confident with your skills in JS coding, it would probably be best to find a solution from the Asset Store. However, if you still want to tackle this, you could possibly start simpler, like an inventory that can only hold one object at a time. That would be significantly easier to build.