Discuss Scratch

I_LOVE_TO_MAKE_STUFF
Scratcher
1000+ posts

I need help on how to make a cloud high score board

Hello Scratch Community!
I am trying to make a cloud high score table that lists the records and who they are set by. I need a LOT of help! I need help with encoding, decoding, and adding a new line whenever it reaches the end of the username and score. (technically everything) Anything will help!

Sincerely, @I_LOVE_TO_MAKE_STUFF
define Love all
repeat until <[all projects loved] = [True]>
Love project
next project
end
when green flag clicked
forever
if <(join [Someone] [gives an answer]) = [Yes]> then
think [TYSM]
Follow
Love all
end
end


press ctrl+shift+down to see my full siggy!
1000th post
Scratch Team, please add targeted links for the forums!



FIRST EVER SCRATCH PROJECT!!!!!!! IT'S HISTORY!
I have a github account! I can make Websites!
People in the suggestions forums:
YOU MUST READ THIS!!!!

Check out The Forum Helpers!
#StandwithUkraine I am Ukrainian, and lots of my family lives there, please pray for Ukraine

Helpful emoji: ███
utkarsh_singh
Scratcher
3 posts

I need help on how to make a cloud high score board

This Will Help You https://www.youtube.com/watch?v=C5mX_0yK4kI

*•.¸♡ ʜᴀᴠᴇ ᴀ ᴡᴏɴᴅᴇʀғᴜʟ ᴅᴀʏ! ♡¸.•*
ღ(¯`◕‿◕´¯) ♫ ♪ ♫ ɢᴏᴏᴅʙʏᴇ!

“ꜱᴏᴍᴇᴏɴᴇ ɪꜱ ᴛᴏᴏ ᴘᴏʟɪᴛᴇ ᴏʀ ᴛᴏᴏ ʀᴜᴅᴇ ʙᴜᴛ ʏᴏᴜ ɴᴇᴇᴅ ᴛᴏ ʙᴇ ʜᴀʀᴅ ᴏᴜᴛꜱɪᴅᴇ ᴀ ʜᴜᴍʙʟᴇ ɪɴꜱɪᴅᴇ.”
deck26
Scratcher
1000+ posts

I need help on how to make a cloud high score board

Start with the encoding and decoding. There are wiki pages on this but it's actually a good coding exercise. You're just replacing A with 01, B with 02 and so on. You can use 00 between items. All you're doing is building up an encoded variablbe by looping through the input and working out the code for each characer in turn.
I_LOVE_TO_MAKE_STUFF
Scratcher
1000+ posts

I need help on how to make a cloud high score board

@utkarsh_singh Yeah, I know how to do THAT. But I want to make a list that shows everybody's scores, like on @griffpatch's Hill Climb Racing v1.0.


press ctrl+shift+down to see my full siggy!
1000th post
Scratch Team, please add targeted links for the forums!



FIRST EVER SCRATCH PROJECT!!!!!!! IT'S HISTORY!
I have a github account! I can make Websites!
People in the suggestions forums:
YOU MUST READ THIS!!!!

Check out The Forum Helpers!
#StandwithUkraine I am Ukrainian, and lots of my family lives there, please pray for Ukraine

Helpful emoji: ███
Nezon
Scratcher
1000+ posts

I need help on how to make a cloud high score board

Did you try this wiki page?

This is my signature (it goes automatically under every post I make)! Here is a bit of advice on foruming, by the way. Don't do SAND. SAND means four words.
SAND means Spam, Advertising, Necroposting, and Derailing.
Spam is when a irrelevant message is sent to many places. Wiki Article: Spam
Advertising is when you promote your studios and projects. Wiki Article: Advertising
Necroposting is when you post on a old topic. It distracts other helpers! Wiki Article: Necroposting
Derailing is when you post something that is irrelevant to the topic, like minimodding. It is called thread hijacking. Wiki Article: Derailing(Derailing idea comes from this guy),
in the process of leaving scratch.
bob has been hidden again :(

applepiethefirst
Scratcher
10 posts

I need help on how to make a cloud high score board

make a cloud varable and code it so every time someone gets a score (another variable), higher than it than it updates to that score

if [ score ]>[ highscore ]
set [ highscore ] to [ score ]


* score being variable and highscore a cloud variable

Last edited by applepiethefirst (Dec. 13, 2021 15:55:52)

I_LOVE_TO_MAKE_STUFF
Scratcher
1000+ posts

I need help on how to make a cloud high score board

@Nezon TYSM!


press ctrl+shift+down to see my full siggy!
1000th post
Scratch Team, please add targeted links for the forums!



FIRST EVER SCRATCH PROJECT!!!!!!! IT'S HISTORY!
I have a github account! I can make Websites!
People in the suggestions forums:
YOU MUST READ THIS!!!!

Check out The Forum Helpers!
#StandwithUkraine I am Ukrainian, and lots of my family lives there, please pray for Ukraine

Helpful emoji: ███
gor-dee
Scratcher
1000+ posts

I need help on how to make a cloud high score board

I_LOVE_TO_MAKE_STUFF wrote:

@utkarsh_singh Yeah, I know how to do THAT. But I want to make a list that shows everybody's scores, like on @griffpatch's Hill Climb Racing v1.0.
I don't think the highscore list on @griffpatch's Hill Climb Racing works anymore (it was written in Scratch 2.0) as cloud variables are now limited to 256digits which means you are now limited to about 50 places using all 10 cloud variables. I have a hi score engine (link below) that has a commented script so you can quite easily see how it works. I have also made games with hi score lists longer than 50 places (see my quiz project for instance) but these require a normal list together with a cloud list and regular ‘maintenance’ to transfer the cloud list to the normal list!

Powered by DjangoBB