Discuss Scratch

idkwihtbs
Scratcher
2 posts

High scorer(idk how to spell it)

i onetime saw a clicker game that had a high score and highscorer variables

How do i make a high scorer thing in my clicker game
helloworldbyeworld
Scratcher
1000+ posts

High scorer(idk how to spell it)

To make a high scorer cloud variable, you need to make a cloud variable that stores the username of the user that set the high score. Since you can’t just put in text in a cloud variable (they only support storing numbers), make a encoder and decoder. Then, you can encode and decode the high scorer cloud variable.

Encoding and decoding scripts: https://en.scratch-wiki.info/wiki/Encoding_and_Decoding_Cloud_Data
idkwihtbs
Scratcher
2 posts

High scorer(idk how to spell it)

idk how to code and decode tho

Last edited by idkwihtbs (March 26, 2022 05:32:24)

kinosaurs515
Scratcher
1000+ posts

High scorer(idk how to spell it)

Change the high-score variable into a non-cloud variable.
Bluecat8813
Scratcher
23 posts

High scorer(idk how to spell it)

This is a script for the highscore in one of my clickers:

whenclickedforeverifScore>HighscorethensetHighscoretoScore

Last edited by Bluecat8813 (March 28, 2022 12:45:15)

irwinnick
New Scratcher
1 post

High scorer(idk how to spell it)

hey… i am trying to implement this high score funda on a click test project. It is easily able to count the clicks and set it as high score while the user is playing but once the user closes window, scores go back to zero. Can anyone please help me with this?

Last edited by irwinnick (May 30, 2022 09:46:47)

idkhow2type
Scratcher
100+ posts

High scorer(idk how to spell it)

idkwihtbs wrote:

idk how to code and decode tho
i think the scratch wiki has a tutorial, go search for it

Powered by DjangoBB