O'Reilly logo

iOS 7 Game Development by Dmitry Volevodz

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

Chapter 4. Animating Sprites

In the last few chapters, we managed to get the basics of our game out of the way—we already have an infinite scrolling background, we handle collision detection with the physics engine, and we already have established controls. How can we improve our game? Of course, it can be enhanced with animation.

Our character does not move his legs while running, and that is clearly not the way it should be. In this chapter, we are going to add animations to our character—he will animate when he is running and jumping. We will also learn about texture atlases and how to efficiently animate our game.

What is animation?

In order to achieve the desired effect of animating our character, we need to understand a little more about 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