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

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