Discuss Scratch

FireFlakes_1
Scratcher
100+ posts

How to make a leaderboard using lists

I need help making a leaderboard using variables and lists. Please help?

Here's the game:
https://scratch.mit.edu/projects/411011892/

Last edited by FireFlakes_1 (Sept. 12, 2020 15:24:58)

MopperFat1
Scratcher
100+ posts

How to make a leaderboard using lists

What exactly do you want in your leaderboard? Only scores? To make a scoreboard, create a list and check if a person's score is higher than the lowest score in a certain amount (ie. top 25). If the score is higher than the score at position 25, then check for position 24 and so on until the score is not greater than the score above it.
game-titan
Scratcher
79 posts

How to make a leaderboard using lists

I don't think you can, I played around with this too: https://scratch.mit.edu/projects/422971121/
meunspeakable
Scratcher
100+ posts

How to make a leaderboard using lists

you can make it, contact me at the profile page of @-CloudGate- for more info on how to make it
Animal_SupernoVA
Scratcher
100+ posts

How to make a leaderboard using lists

when I receive [win v]
if <<(☁ score) = (item (last v) of [list v] :: list)> or <<(☁ score) > (item (last v) of [list v] :: list>> then
if <(days since 2000) > [...]> then //only if you need a time.
//Add the score to the leaderboard
end
//Add the score to the leaderboard, but at a higher place.
end
Animal_SupernoVA
Scratcher
100+ posts

How to make a leaderboard using lists

well, I guess that didn't help much. I typed the script wrong.
TobenR12
Scratcher
2 posts

How to make a leaderboard using lists

This is all usless so please give helpfull information
Malcominthemiddle200
Scratcher
1 post

How to make a leaderboard using lists

press make a list in the varibles section. have fun
cadestep01
Scratcher
10 posts

How to make a leaderboard using lists

I have made a leaderboard. It has instructions in the scripts. Just put the sprite in your backpack and follow the instructions.
https://scratch.mit.edu/projects/734559864/

Powered by DjangoBB