You got an item

Most of my project work this week has been all about setting up an inventory for our escape room players. I first started off by just getting a rough outline of what the inventory screen would look like. My team and I thought about it and decided that we really only anticipate needing an inventory size of 8. I setup the framework of the inventory screen based off that number, so I hope it turns out to be correct. It’ll definitely take a good bit of UI rework if it isn’t large enough.

After creating the inventory screen, I had to have a way to populate it. I setup a player inventory with some simple add/remove item functionality. When the player looks around the room and sees something that they would like to pick up, they just have to click on it and it’ll be added to their inventory. Then they can open up the inventory screen and see information about the item that they just picked up. If they need to for solving a certain puzzle, they can then equip the item and use it.

I’m still working on the actual using it part though. It’s not going to do us much good to pick up this random book that we found on the floor if we can’t put it back into the bookshelf where it belongs. I think I have a good idea of how I want to implement the item usage interactions, but I guess I’ll see how that turns out.