Page 277 - Scratch Programming Playground
P. 277
quickly as possible instead of playing it safe. Click the Paint
new sprite button, and draw the text Time’s Up in the paint
editor. Mine looks like this:
rename the sprite Time's Up. then create a for all sprites
variable named Timer, and add the following code.
this code gives the player 45 seconds to collect as many
apples as possible while trying to avoid the crabs who will
steal one. When the Timer variable reaches 0, the Time's Up
sprite will appear and the game will end.
Now the Platformer game is ready for final testing!
MakING aN advaNCed pLatforMer 251

