Hi, i always use the localstorage to save the score (only 1 value),Very easy and simple.
But now i want to purchase weapons with coins on a mobile game.
sword 200 coins (locked)
bow 100 coins(locked)
axe 50 coins (unlocked)
With the localstorage i will use this:
on start of layout -> get item "swordstate"
get item "bowstate"
get item "axe state"
on item get "swordstate" / sword--> set lockedanimation to Localstorage.itemvalue
and the same for the other 2 items...
Then my question is,how i can do it with less actions please? I am getting 3 localstorage values on the startoflayout.. and 3 on item exist or get..