Save and display achievements with webstorage?

Get help using Construct 2

Post » Wed Sep 05, 2012 2:34 am

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.
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Wed Sep 05, 2012 7:56 am

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.
B
42
S
9
G
6
Posts: 437
Reputation: 5,626

Post » Wed Sep 05, 2012 1:06 pm

Um, I dont know how to load something from webstorage. Can you tell me?
B
29
S
7
G
3
Posts: 361
Reputation: 6,187


Return to How do I....?

Who is online

Users browsing this forum: Artpunk, Braus, Kagubro, Mirlas, zeneizel and 20 guests