Inventory Added!


I have to say, I'm really enjoying this method of iterating across the project in broad strokes. There's something satisfying about seeing how all of the pieces fit together, even though none of them fully work yet. Yesterday and today, I managed to get the inventory into the game. The ticket said:

"When you press the Inventory Button, a menu appears with all of the items in your inventory"
Toggle Inventory Demo

This was my first time building any kind of inventory system  in a game! It went pretty well. The Inventory is a pretty simple class that keeps track of each of the UI elements for inventory images & counts, & the actual inventory with methods to Add or Remove an Item from the Inventory. The Items themselves consist of a sprite for the UI, a count (usually one), and a 3D game object. Here are the game objects for the inventory items above.


You can't actually pick anything up yet (or even move, for that matter) but you sure as hell almost can! 

Next Up: A fucking floor!

- Gege

Leave a comment

Log in with itch.io to leave a comment.