Copy link to clipboard
Copied
Hi, I almost finish a game, I get my score and just need to save it to the "highscore screen" movieclip. Basically all I want is to take my score to the high scores, which will be a list of maybe 5 scores for example, and when you get a higher score, replace the lower one with it. Anybody knows the code for that?
Thanks in advance
Copy link to clipboard
Copied
use the sharedobject to have each user save their personal best scores.
Copy link to clipboard
Copied
But I need a button to save them right?
Copy link to clipboard
Copied
you don't need a button.
just save the score (if it's a high one) when a game/level/whatever is complete, or even when the player's score is updated and qualifies.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now