Dictionaries are actually very simple, much easier to understand than arrays.
They are like variables, only more flexible. Just add keys and values, for example:
Key="Coins", value="35"
Key="Weapon", value="small_sword"
etc.
.
Then save to local storage Dictionary.AsJSON
To load: Dictionary load from JSON (LocalStorage.LastData)
.
I made this demo for some other post:
https://www.dropbox.com/s/1cz1k5x3teikbv5/DictionaryLocalStorage.capx?dl=0
So setting the key is like setting the item in local storage can you set the value to a variable instead of a set number or word? I will have to look up some tutorials on dictionaries and learn more
so I would do say for player gold
set key "playerGold" to value playerGold?
I think I am just making it seem more difficult than what it really is lol, I'll have to play around with it and see what I can make it do