menu/inventory + save system rework


hello homies :)

i am done with my finals now, so i will continue to work on my game.


this is my current plan for the menu/inventory. i have moved them into one scene. when you first enter the scene, you can switch which panel you are looking at by moving up and down on the upper left portion of the screen. below that there will be a small message explaining the panel, and the right side will be the panel. i think this is a great way to bundle up everything into a package that isn't too difficult to handle, but not ground too small that it becomes obnoxious. 

my other work has to do with the save system. before, save data was written into a .txt file which i parsed with my own protocols. it was very messy. but i was proud of it! the fact that i did it and it all worked made me very happy. the problem was save data could only consist of a bundle of variables that only had one number or letter or word connected to them. being able to have more complicated data structures like arrays and dictionaries would make this game a LOT easier to make, so i knew i had to make a new system. 

so, with regret i tell you that the old save system, is out of order.

i've picked up using a json parser to convert source code variables into a json string, and throw that string into a .txt file. 

it's a lot better! the code is a lot shorter. it will be easier in the long run. i am still sad that i wasn't able to use my own system. recreating something like json would be pretty silly, so i will have to settle for this. i will still be able to come up with my own silly encryption puzzle for the saves, and i still get to use most of the stuff i've created, but its not the same.

heres a diagram showing how it works:


this little ghost character is actually pretty cute. the t's look like eyes. 

okay. this is all for now. i am planning on doing another small release of the game when i am completed with the inventory. look out for that!

thank you for reading! <3


Get ski butters

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

(+1)

The menu layout looks very nice!

thank you so much power :3 you are so kind