Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Username Highscore
- Its_a_Llama
- Scratcher
8 posts
Username Highscore
OK- I know how to use a normal high score in numbers… but how do I display the username of the person who got the highscore with it?
I need to know for the new game I made!
Please help!
I need to know for the new game I made!
Please help!
- Its_a_Llama
- Scratcher
8 posts
Username Highscore
I know how to use the username brick, I just don't know how to get it to change when someone else gets a high score.
- drmcw
- Scratcher
1000+ posts
Username Highscore
It changes automatically to whoever is logged into Scratch. If you want to save the highscore and username then you need to store them in cloud variables.
- MegaApuTurkUltra
- Scratcher
1000+ posts
Username Highscore
I think (correct me if I'm wrong) that you want a cloud powered leaderboard for your game (where the top people's usernames are shown with their scores). To do this you could make a cloud list. I posted a guide to making cloud lists here, you may find it helpful. Once you have code for a cloud list engine, just save people's scores by
enter (join(username)(join[: ](score))) to cloud list::custom
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- Its_a_Llama
- Scratcher
8 posts
Username Highscore
posted a guide to making cloud lists here, you may find it helpful. Once you have code for a cloud list engine, just save people's scores byThank You! Exactly what I need. I think (correct me if I'm wrong) that you want a cloud powered leaderboard for your game (where the top people's usernames are shown with their scores). To do this you could make a cloud list. Ienter (join(username)(join[: ](score))) to cloud list::custom
- Discussion Forums
- » Help with Scripts
- » Username Highscore