Hello everyone,
I've made an endless runner and it saves a highscore with local storage.
I've checked a few tutorials here and as long as the game is open, it works great but when I close the game and then open again later, the highscore is back at zero.
Does someone know what the problem is?
Oh btw, I my eventsheets are something like this:
On start of layout -> check item "highscore" exist
On item "highscore" exist -> get item "highscore"
on item "highscore" get -> set "highscore" Localstorage.ItemValue
Score > highscore -> set item "highscore" to score.
Thanks