Page 225 - Scratch Programming Playground
P. 225
F keep score and
Make a timer
The Asteroid Breaker game quickly becomes challenging when
many tiny asteroids are flying around the Stage. A good game
strategy is to be slow and careful, finishing off small Asteroid
sprites before firing at larger ones. But
we also want to put some pressure on
the player, so let’s make the Score vari-
able start dropping by 1 point every
second and have the game end when the
Score is 0. This way, the player will have
to keep up a quicker pace when blasting
Asteroid sprites.
8. Create the Out of Time Sprite
Click the Paint new sprite button next to new sprite. In the
paint editor, use the Text tool to write OUT OF TIME in red
capital letters.
Click this new sprite’s button in the Sprite List to open
its Info Area. rename the sprite Out of Time.
ASTeroID BreAker . . . In SpACe! 199

