Programming an Arcade Game Using Scratch
In This Chapter
Adding sprites to your game
Drawing and naming sprites
Controlling when scripts are run
Using random numbers
Detecting when a sprite hits another sprite
Making sprites move automatically
Adding scripts to the Stage
In this chapter, we show you how to use Scratch to create and play an arcade game. You can customize the game with your own graphics, but more importantly, you learn how to put a game project together so you can invent your own games.
In this sample game, you control a flying saucer as it defends its planet from invasion. Grumpy-looking aliens zoom in from above, but you can stop them ...