Chapter 10

Programming an Arcade Game Using Scratch

IN THIS CHAPTER

check Adding sprites to your game

check Drawing and naming sprites

check Controlling when scripts are run

check Using random numbers

check Detecting when a sprite hits another sprite

check Introducing variables

check Making sprites move automatically

check Adding scripts to the Stage

In this chapter, we show you how to use Scratch to create and play an arcade game. You get a chance to customize the game with your own graphics, but more importantly, you learn how to put a game project together so that 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 ...

Get Raspberry Pi For Dummies, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.