I create an event that when the game finish, set a local key "SCORE" to the score you get on the game...etc.
The question:<img src="smileys/smiley25.gif" border="0" align="middle" />
Everytime that I set a local key to the same key is going to overwrite that data? I mean, the data will not increase on size?
yes it will overwrite
Yep. To add to the score you can set the key to itself + a number. Alternatively you can store data in a dictionary or array since it's more manageable, and then save the whole thing to a webstorage key.
Develop games in your browser. Powerful, performant & highly capable.
Yeah but is more like an highscore process, it's only going to be saved when the score is higher than the last one submitted!
Thank you guys, and other thing... so the webstore quota exceeded only going to happen when you got a lots of differents key saved and reach the 5MB limit?