Prototype version 0.4; inventory system part 1


Hello folks and welcome to update number four of the Adventures of Zoldan project. 

In this update, I focused on the first part of an inventory system. At the moment you can only drag items around in the inventory but it will be expanded with picking up loot and storing it. I also added a game menu where you can save and load the game and finally the player now actually dies when the health is gone. 

For the inventory system, I first created the UI elements for it and I went with simple slots with a black background and a nice looking border.  

I didn't now where to start with the functionality for an inventory so rather then reinventing the wheel, I decided to follow a tutorial on RPG inventory building. Here I learned to start with clicking and dragging stuff around and this is where we are now. I had to make some changes to the canvas of the UI which resulted in the UI elements now no longer have post processing imaging on them. So the UI looks a little less "shiny" but I think it's barely noticeable.  

In the previous update I added a saving/loading system and I expanded it this update with an in-game menu which can be accessed by pressing the "Esc" key. I used the same asset pack for the buttons, border and background image to give the user interface a coherent look. The game also pauses when the game menu is active. Currently, there is no naming of save files yet, so the menu just closes when you press save. This can be expanded in a future update. 

I also noticed a bug with the saving system that when you destroyed terrain features, those didn't come back after a reload. This is fixed and now the previous destroyed items return intact when you load the save. 

Also added in this update is the dead of player character. When you get to 0 health the game pauses and the player fades out. I created a game over menu where you can restart the game, load a previous game or exit. The weapon does not fade out, but I think it should fall to the ground or something but that will be added later.. 

I'm happy with the progress and in the next update the inventory system will be expanded with picking up loot and maybe also equipping stuff.  

Thanks for reading!

Files

Zoldan_0_4.zip Play in browser
93 days ago

Leave a comment

Log in with itch.io to leave a comment.