This is my attempt of making a inventory system that can lock on into six different slots. This is how far I got into making this because I had no idea what I was doing. Click to drag the tiles around and if you drop it towards the red box the item will delete. (If you're playing on my computer and all the tiles are gone just restart the page since I have no idea how this thing even worked :( ).

StatusReleased
PlatformsHTML5
AuthorDebblepop
Made withUnity

Comments

Log in with itch.io to leave a comment.

A simple prototype of an inventory system using a grid, with the objects you can click and drag into slots in the inventory.

I do like the simple pick up and put down it all snaps into place. Having different size objects can make this more interesting and can be built out into a larger game about organizing.

You can try to represent each inventory with a height and width variable and check in a grid if it is colliding with any other object in the grid.

I like that each spot can have more than tile. It would be cool if there was a UI element to say how many tiles each slot was currently holding.

(1 edit)

I think the inventory could have a little more to the tile-based theme, but I think it's a unique concept with inventory systems because the inventory slots are sorta like tiles.