How do I use local storage to save my credits?

Get help using Construct 2

Post » Thu Aug 04, 2016 11:49 am

How do I use local storage to save my credits? I don't want any highscore tutorials. Example: I have 1000 conis, and every tine i press a button i lose 100 credits. When i close the game I want to remain the last number of coins. That is all i want. I am tired of high score tutorials, i tried everithing and i am lost now . . .
B
8
Posts: 12
Reputation: 324

Post » Thu Aug 04, 2016 1:49 pm

The high score tutorial is exactly what you need because it's about storing a number. The number of coins is just another number that needs to be stored, it's exactly the same process. Instead of storing a 'high score' you store 'number of coins'.
B
45
S
15
G
73
Posts: 2,021
Reputation: 43,424


Return to How do I....?

Who is online

Users browsing this forum: armen1997, Syazanie Amirin and 10 guests