Hi guys, i followed this tutorial (http://youtu.be/06-LgQxceGg) to create a Top Ten High Score and I am having problems with it. It does not save the score (it replaces it with any new score). The score is only displayed in the first text box. (And i have some others bugs in-game.)
Here is the file:
dropbox.com/s/drlsbyx2ppcw8er/bugged_game.capx
Tanks for the help.
Check out this tutorial, I followed it and implemented in my game.
Very good tut and easy to follow.
scirra.com/tutorials/581/top-10-high-score-with-webstorage-and-arrays
Develop games in your browser. Powerful, performant & highly capable.
Just checked out your capx and you did not put "," (comma)in
int(tokenat(highscore,arScore.CurX, ","))
do this for both arScore loops and it will work for you.
Thanks. It worked. Do you know what i have to do to make it put the lowest time first, second smallest in second position and so?