Thanks for the reply, I thought local storage would allow the person to play a level and get a star.
Then when they close the app/game down and come back to it later the local storage remembers that the player got a star.
I thought web storage is for browers, eg: If I'm previewing on my PC.
How would local storage work on preview? eg:
When I click preview the game loads in and everything is reset, no star.
I play the game and win the star.
But in order to close the game down I have to press x to close browser.
But to load that game back I need to click preview and it clears everything when it loads.
Are you saying that it shouldn't be clearing each time?