7

MAKE IT MOVE—ACTIONSCRIPT ANIMATION

CHAPTER OUTLINE

A Little Terminology

Easing

Sequencing

To Tween or Not to Tween? Is That a Question?

A Simple Scripted Shooter

The Projectile Class

The SimpleShooter Class

Memory: Tweening Animation

The MemoryCard Class

The Memory Class

Summary

No matter how good the artwork in a game looks, it can fall completely flat if it is unconvincingly animated. Players respond to motion and animation in a game, and it can mean the difference between a successful suspension of disbelief and a boring experience. Luckily for Flash game developers, animation is at the core of Flash’s long history. It is what the product originally started out doing and has only continued to develop over the years. Flash CS4 introduced ...

Get Real-World Flash Game Development, 2nd Edition 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.