top of page
Score Help 2
1. Next create a variable for your scoring system.
Make sure you are doing this on the correct sprite (not the crab)
2. The aim is to score a point if the crab touches this sprite but also to disappear. Another aim is to get this sprite to show again if the game has been restarted.
Pseudo Code (see blocks of code to the right)
When green flag clicked
Show
Set Score to zero
If touching crab
Then Change score by 1
Hide
Do this forever
3. Stretch and challenge
What is the quickest way to set up several scoring sprites using the same code?
HINT: Duplicate your scoring sprite
bottom of page