O'Reilly logo

Designing Mobile Apps — Tips And Techniques by Smashing Magazine

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

Creating Realistic iPhone Games With Cocos2D

By Zack Grossbart

Animation makes games real. Movement adds excitement to a game and makes the characters more realistic. In this chapter, we’ll look at the Cocos2D library and how it supports programmatic animations in iPhone games.

This chapter is part of a series that teaches you how to create iPhone games based on the open-source game Seven Bridges1. Make sure to check out the first article in the series, “Designing an Open-Source iPhone Game2” and look at the source code in the Seven Bridges GitHub repository3.

This chapter walks you through the basics of animation. We’ll look at actions in Cocos2D and see how to combine them to create complex and custom effects.

Simple Actions

All of the basic building ...

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