Day #7 Item Stacking


I was tight on time today and had a bug to fix. Basically, the inventory would save the player's data just fine on resetting the scene, but when you quit and enter again it was all messed up because of how dictionaries work on JSON format. To simplify, I made an array of dictionaries and updated the code to acomodate it. It works and now the inventory remembers each and every slot!

Another major feature I added was item stacking, though I wanted item splitting too. That's for tomorrow.

Either way I want to start wrapping up the inventory and start working on item you might find and collecting them from the world itself.

Files

Day7.zip 4 MB
Apr 07, 2021
Day7Executable.zip 13 MB
Apr 07, 2021

Get Forbidden Entry

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.