Chapter 10. Aim and Shoot Games

Aim and Shoot Games

Aim-and-shoot games are similar to catch-and-avoid games in two ways: The main character moves, and so do the other objects in the game. However, the new element introduced in this chapter is shooting. The character and objects never meet. Instead, the character shoots at the objects.

The first game you’ll build in this chapter allows the player to move a character across the bottom of the screen and shoot directly up at objects overhead. In the second game, the character stands still, but is able to aim and shoot diagonally at the objects. In the third game, ...

Get Macromedia® Flash™ MX ActionScript for Fun & Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.