Hour 18. Advanced Multi-Animation Techniques

What You’ll Learn in This Hour

Creating an animation system

Writing the animation base class

• Making major changes to the Sprite class

Animation is not limited solely to cartoon-style frame flipping, as described in the previous hour. It is possible to do quite a few different forms of animation, and at a higher level, “animation” might even blend in with the behavior of a game character, helping to bring personality, or at the very least, bring some very interesting gameplay options to the table. The term multi-animation refers to a system in which more than one type of animation can be applied to a game object or entity (sprite prop or actor) at the same time—for instance, doing frame animation ...

Get Sams Teach Yourself Android Game Programming in 24 Hours 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.