I am trying to save the highscore using webstorage I have done this in the past but for some reason the same method is not working I am doing the following:
-On start of layout
- Webstorage- if local key exists - System - High > WebStorage.LocalValue("Score")
-Else - System - Set High to 0
on population = 0
- System - Kills >High - Webstorage - Set local key "Score" to Kills
Then on the Highscore event screen I have this:
On start of layout- Set Text to "score"
What am I doing wrong all I get is the word text showing..
Any help appreciated!