Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » HOW TO MAKE A SCOREBOARD?
- maddie1822
-
3 posts
HOW TO MAKE A SCOREBOARD?
I am making a game for my school project where a monkey ‘eats bananas’ but I would like a scoreboard for how many he eats. Does anyone know how to do this?
- infinite_minus_zero
-
4 posts
HOW TO MAKE A SCOREBOARD?
Make a new variable called something like “Bananas”. To make it increase:
If (Monkey) touching (Bananas)
Change by ( 1 )
To reset the variable, use the
Set to ( 0 ) block.
Hope it helps! Any questions?
If (Monkey) touching (Bananas)
Change by ( 1 )
To reset the variable, use the
Set to ( 0 ) block.
Hope it helps! Any questions?
- maddie1822
-
3 posts
HOW TO MAKE A SCOREBOARD?
Sorry, but I don't get it, I am not a good scratcher, I have to do it for a school project! Could you tell me where to find the blocks because I can't find change by (1)???? Thanks
- mariobros406
-
500+ posts
HOW TO MAKE A SCOREBOARD?
Okay, so go to the variables section. Press Create Variable, and name it Bananas. Now do this on the MONKEY sprite:
On the top corner, the variable will show how many bananas the monkey eats. Chances are the sprites won't be named “monkey” and “banana”, probably Sprite1 and Sprite2, or something else. Replace banana and monkey with their sprite names, or change their names by pressing the “i” symbol on the top left corner of them. Scratch On!
On the top corner, the variable will show how many bananas the monkey eats. Chances are the sprites won't be named “monkey” and “banana”, probably Sprite1 and Sprite2, or something else. Replace banana and monkey with their sprite names, or change their names by pressing the “i” symbol on the top left corner of them. Scratch On!

- HyperPixel
-
46 posts
HOW TO MAKE A SCOREBOARD?
Create a variable, and name it bananas.
On the top left corner, the variable will show how many bananas the monkey eats. If not go back to the variable section and check the box next to the “bananas” variable.
_________________________________________________________________________________________________________
If you have any questions or would like any help on projects, feel free to leave a message to me on my profile! Good Luck, Scratch On!
On the top left corner, the variable will show how many bananas the monkey eats. If not go back to the variable section and check the box next to the “bananas” variable.
_________________________________________________________________________________________________________
If you have any questions or would like any help on projects, feel free to leave a message to me on my profile! Good Luck, Scratch On!
Last edited by HyperPixel (March 24, 2014 00:58:04)
- Discussion Forums
- » Help with Scripts
-
» HOW TO MAKE A SCOREBOARD?