O'Reilly logo

ActionScript 3.0 Game Programming University 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

5 Game Animation: Shooting and Bouncing Games

image

So, far, we have only built games where the game pieces stay in one place. They change and accept player input, but they don’t move.

In this chapter, we work with animated game pieces. Some will be controlled by the player, and others will have a life of their own.

After looking at some animation examples, we’ll build two games. The first is Air Raid, a simple game in which you control an anti-aircraft gun and try to shoot down planes flying overhead. The second game is Paddle Ball, in which you control a paddle and direct a ball up into a ...

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