Discuss Scratch

codenumber491
Scratcher
14 posts

I need help making a CLOUD leaderboard in scratch!!!

I need help making a CLOUD leaderboard in scratch!!!

Please help me!!!
CATSAREAMAZING-
Scratcher
100+ posts

I need help making a CLOUD leaderboard in scratch!!!

You need to make a cloud variable first. After that, you can code something along the lines of
forever
if <(score) > (☁ HIGH SCORE)> then
set (☁ HIGH SCORE) to (score)
insert (username) at (1 v) of [TOP SCORERS]
end
end
Basically you need to set a HIGH SCORE first, then the first player who beats it will be on the leaderboard. The code for the list will add the highest scorer in first place, and boost everyone else down 1.
Scratch137
Scratcher
1000+ posts

I need help making a CLOUD leaderboard in scratch!!!

CATSAREAMAZING- wrote:

(#2)
You need to make a cloud variable first. After that, you can code something along the lines of
forever
if <(score) > (☁ HIGH SCORE)> then
set [HIGH SCORE v] to (score)
insert (username) at (1 v) of [TOP SCORERS v]
end
end
Basically you need to set a HIGH SCORE first, then the first player who beats it will be on the leaderboard. The code for the list will add the highest scorer in first place, and boost everyone else down 1.
This script will work for creating a high score variable, but lists are exclusively local and will not be saved when you leave the page.
Scratch does not support creating cloud lists due to server constraints and moderation concerns.

See my post here for information on how you could work around this.
HoodieCoder
Scratcher
54 posts

I need help making a CLOUD leaderboard in scratch!!!

You need to make a cloud variable first. After that, you can code something along the lines of
forever
if <(score) > (☁ HIGH SCORE)> then
set (☁ HIGH SCORE) to (score)
insert (username) at (1 v) of [TOP SCORERS]
end
end
Basically you need to set a HIGH SCORE first, then the first player who beats it will be on the leaderboard. The code for the list will add the highest scorer in first place, and boost everyone else down 1.
That is what you should do.
Window_Panelol
Scratcher
2 posts

I need help making a CLOUD leaderboard in scratch!!!

@CATSAREAMAZING- thanks lol

Powered by DjangoBB