O'Reilly logo

Macromedia® Flash™ MX ActionScript for Fun & Games by Gary Rosenzweig

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required