I have been working on a project for some time now and the moment to work on the saving system for it has come.
I have been trying to wrap my head around the Dictionary and how to use it to save the player progress, but so far no good. I have read multiple articles and posts on Dictionary and nothing, so i was wondering if i could get a more direct answer here.
The concept is simple.
I have multiple characters and each has a level, the current experience and the experience needed to reach the next level.
To make it more organized i would also like to be able to save the Dictionary that contains all the game info as a Jason file and then load it back up whenever the user enters the game.
But i have no idea how to use the Dictionary as all that i have ever used was global variables...
I did noticed the the Dictionary has instance variables, maybe i could use these to save all my info?
I do know how to work with LocalStorage but like i said i would to able to save everything as a Jason file.
Any tutorial or explain on how to get the Dictionary to work would be highly appreciated.
Thanks in advance and sorry for all the trouble.