Web or Local storage for saving top scores?

Get help using Construct 2

Post » Thu Oct 27, 2016 2:14 pm

So i got the high score localstorage logic down, and I've been trying to learn about saving top 10 high scores. Reading and watching tutorials on the subject, most are over 2 years old, some are using the webstorage and others are using the localstorage.

The posts/tutorials i've seen either have deadlinks or only describe saving a single high score, while either using webstorage or local.

Which is best to use for a local top 10 high score and eventually a leaderboard on google play?


Thanks for any help with this.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Thu Oct 27, 2016 5:21 pm

Local Storage replaces WebStorage.
ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Thu Oct 27, 2016 10:04 pm

@blackhornet thanks for the reply. And a huge thank you for your GYFM!
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Mon Oct 31, 2016 3:41 am

Here is a local storage tutorial that I made thats simple and easy to follow with a full game capx file on the upper left side of the page.

https://www.scirra.com/tutorials/5343/h ... -game-capx
Check out my awesome Android Game releases https://play.google.com/store/apps/deve ... ames&hl=en
B
38
S
18
G
24
Posts: 681
Reputation: 16,613

Post » Fri Nov 04, 2016 12:22 pm

Thanks for the replies.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests