O'Reilly logo

Sams Teach Yourself Android Game Programming in 24 Hours by Jonathan S. Harbour

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

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

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