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 O’Reilly online learning.

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