How do I save and display unlocked achievements using webstorage? I want to make it so when you unlock an achievement, it saves locally, and you can display it in a text and save that.
Develop games in your browser. Powerful, performant & highly capable.
You do it the way you just mentioned yourself.
If the player reaches an achievement, save a value in webstorage. To check if he has that Achievement, just read from the webstorage.
Um, I dont know how to load something from webstorage. <img src="smileys/smiley5.gif" border="0" align="middle" /> Can you tell me?