Here, I got this example from the support and this is also not working. The highscore doesn't save when I restart the application. It always go back to 0, so frustrating! What am I missing?? I have tried it on the PC and on my Android.
Scirra should make it easier for people to save, have finished examples because it's not just me who have problems with the localstorage plugin
+ System: On start of layout
-> LocalStorage: Check item "high" exists
+ LocalStorage: On item "high" exists
-> LocalStorage: Get item "high"
+ LocalStorage: On item "high" missing
-> System: Set HighScore to 0
-> LocalStorage: Set item "high" to HighScore
+ LocalStorage: On item "high" get
-> System: Set HighScore to LocalStorage.ItemValue
+ System: Score = HighScore
-> System: Set HighScore to Score
-> LocalStorage: Set item "high" to HighScore
+ System: Every tick
-> Text2: Set text to HighScore
Or can someone please send a working example instead before I punch my left nut?