Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » How do you show scores and highscores without showing the variables?
- olv6065
-
Scratcher
3 posts
How do you show scores and highscores without showing the variables?
I really want to know how do you show scores and highscores without showing the variables?
:/:/:/:/:/:/:/:/:/:/
:/:/:/:/:/:/:/:/:/:/
- Econinja
-
Scratcher
1000+ posts
How do you show scores and highscores without showing the variables?
Use a list (by using the following code if you want it real time)
forever
delete (all v) of [HighscoreList v]
add (join [Your Score: ] (Score)) to [HighScoreList v]
add (join [Highscore: ] (☁HighScore)) to [HighScoreList v]
end
Last edited by Econinja (July 11, 2015 01:20:15)
- Prinseskat
-
Scratcher
1000+ posts
How do you show scores and highscores without showing the variables?
You can use costumes to display each digit, such as:
define Display score (score) at (x)(y)You also need to create costumes that'll display each digit. Make sure to call each costume their corresponding number; the costume called 0 should be a 0, the costume called 1 should show a 1, etc.
go to x:(x) y:(y)
set [letter v] to [1]
show
repeat (length of (score))
switch costume to (letter (letter) of (score)
stamp //you could also create a clone of yourself
change x by (10)
end
- Deerleg
-
Scratcher
1000+ posts
How do you show scores and highscores without showing the variables?
Or you can just look for text engines and use those.
@djpro's updated pen text engine is pretty good.
@djpro's updated pen text engine is pretty good.
- VoltageGames
-
Scratcher
1000+ posts
How do you show scores and highscores without showing the variables?
because nobody is actually linking you to any, https://scratch.mit.edu/projects/12067195/ is a good text renderer if you're fine with clones (code needs modifying because it's set to disappear after 3 seconds, should be easy to fix)
just drag the variable that has your highscore in it to the custom block when it asks you for the string to print.
just drag the variable that has your highscore in it to the custom block when it asks you for the string to print.
- fdreerf
-
Scratcher
1000+ posts
How do you show scores and highscores without showing the variables?
None of you are right, you go to Data category, and use the
hide variable [ v]block.
- scrooge200
-
Scratcher
1000+ posts
How do you show scores and highscores without showing the variables?
This is one way.
when I receive [High Score v]
forever
say (join (join [The score is ] (High Score)) [.])
end
- silverCreeper356
-
Scratcher
18 posts
How do you show scores and highscores without showing the variables?
You can use costumes to display each digit, such as:define Display score (score) at (x)(y)You also need to create costumes that'll display each digit. Make sure to call each costume their corresponding number; the costume called 0 should be a 0, the costume called 1 should show a 1, etc.
go to x:(x) y:(y)
set [letter v] to [1]
show
repeat (length of (score))
switch costume to (letter (letter) of (score)
stamp //you could also create a clone of yourself
change x by (10)
end
thanks
- -TheCatMadeOfCoco-
-
Scratcher
4 posts
How do you show scores and highscores without showing the variables?
You can use costumes to display each digit, such as:define Display score (score) at (x)(y)You also need to create costumes that'll display each digit. Make sure to call each costume their corresponding number; the costume called 0 should be a 0, the costume called 1 should show a 1, etc.
go to x:(x) y:(y)
set [letter v] to [1]
show
repeat (length of (score))
switch costume to (letter (letter) of (score)
stamp //you could also create a clone of yourself
change x by (10)
end
okay, so I know I sound really dumb, but how dumb you make those y and x things?
as in: (x) and (y)
- -TheCatMadeOfCoco-
-
Scratcher
4 posts
How do you show scores and highscores without showing the variables?
oops sorry i meant the little things inside the
go to: x: (x) y
y)
(sorry my computer won't let me use scratchblocks)
go to: x: (x) y
y)(sorry my computer won't let me use scratchblocks)
- venyanwarrior
-
Scratcher
1000+ posts
How do you show scores and highscores without showing the variables?
Um… this topic is two years old. I'm pretty sure it's dead. Please don't necropost.
- -TheCatMadeOfCoco-
-
Scratcher
4 posts
How do you show scores and highscores without showing the variables?
oof sorry
- Buffek
-
Scratcher
100+ posts
How do you show scores and highscores without showing the variables?
-deleted-
Last edited by Buffek (Oct. 10, 2018 16:21:16)
- Discussion Forums
- » Questions about Scratch
-
» How do you show scores and highscores without showing the variables?










