Discuss Scratch

Isabelle_Silverore
Scratcher
11 posts

How to make a leaderboard

I need help on how to make a leaderboard. Can you help me?
Bag_of_Boi
Scratcher
27 posts

How to make a leaderboard

First thing, you'll have to use cloud variables for sure.
Add a list
list
then, make a cloud variable.
name it score
score
I need to know what type of game it is for more detail. Hope that I helped!
blablablahello
Scratcher
1000+ posts

How to make a leaderboard

than you just want to encode the username and the score together with a seperator number (a number you wont use, such as 0 possibly?) and than make a decoder to put it in lists
ideapad-320
Scratcher
1000+ posts

How to make a leaderboard

you cant make cloud lists.
try this:
https://scratch.mit.edu/projects/407501137/
Isabelle_Silverore
Scratcher
11 posts

How to make a leaderboard

@Bag_of_Boi, I'm trying to recreate Popcat (popcat.click) and I have to make a leaderboard.
Bag_of_Boi
Scratcher
27 posts

How to make a leaderboard

Okay, thanks for that.
So, you want to make it so that the score changes with every click. I assume you already have that.
Make a list of high scores. Then, make it so that the player's score gets added to the leaderboard.

addjoinusernamescoretoHighscore


Hope this helped!
MICHAEL8390
Scratcher
9 posts

How to make a leaderboard

How do I use that add to highscore block(dark orange)and how to add it?
deck26
Scratcher
1000+ posts

How to make a leaderboard

MICHAEL8390 wrote:

How do I use that add to highscore block(dark orange)and how to add it?
That's a list block - until you create a list you don't see those blocks.

Note that will still not help other users see the highscore since only cloud variables are seen by others.
MICHAEL8390
Scratcher
9 posts

How to make a leaderboard

How do I make higher scores go upper?
deck26
Scratcher
1000+ posts

How to make a leaderboard

MICHAEL8390 wrote:

How do I make higher scores go upper?
Please create your own new topic rather than continuing to necropost. I only responded to your last post rather than point out you were necroposting because you were asking about blocks in an earlier post.

Powered by DjangoBB