Save score?

Get help using Construct 2

Post » Mon Jan 20, 2014 11:21 am

Hi guys

I have followed this guide:https://www.youtube.com/watch?v=z_Z5rGSZnCo
And the top 10 score are working, the only problem is saving the current score when you play another time and the score is either greater or lower it won't add to array. Im always #1 for any score, im sure there is something i need to setup in the game.
Like when the game ends save the score to storage or something.
But i can't figure it out how to do that, can anyone help please?
B
5
Posts: 25
Reputation: 750

Post » Mon Jan 20, 2014 12:23 pm

First of all let me ask you a question.is your save game system server side or it is client side?
if it is client side you must use webstorage
and if it is server side you must use ajax to request save and load data from server
B
3
Posts: 7
Reputation: 739

Post » Mon Jan 20, 2014 1:55 pm

Im using it for an Android device, so i assume its a client side.
B
5
Posts: 25
Reputation: 750


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests