Book Image

Learning iPhone Game Development with Cocos2D 3.0

By : Kirill Muzykov
Book Image

Learning iPhone Game Development with Cocos2D 3.0

By: Kirill Muzykov

Overview of this book

Table of Contents (19 chapters)
Learning iPhone Game Development with Cocos2D 3.0
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Skeletal animation


The last animation technique that we'll briefly talk about will be skeletal animation.

Note

There are also other techniques used for animation. However, the three that we will be reviewing in this chapter are the most commonly used ones. Also, we will be reviewing skeletal animation from the point of view of 2D games. In the 3D games world, it is a bit different.

The skeletal animation technique is a try to get both of the two worlds: controlled movement as in frame-based animation and ability to create any required amount of intermediate frames as in the action-based technique.

Using this technique, you can create pretty complicated animations without lots of frame images. Of course, you might still be able to create a better animation using frame-based animation, but in some cases, when you simply cannot create frame-based animation for every situation, skeletal animation is the only solution.

Here is how it works. Instead of one image, you split your animated game object...