Summary

In this chapter, we explored how to create a frame-by-frame animation where the item or actor in the game updates its location incrementally, many times a second. You learned how to synchronize an animation loop with the refresh rate of the device screen, and how to describe the state of a game in a display-agnostic way, freeing you from the coordinate system of the host UIView. We continued our exploration of this type of game by looking at some simple techniques to create animations and adding life to our actors.

Get Beginning iOS 5 Games Development: Using the iOS 5 SDK for iPad, iPhone, and iPod Touch 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.