O'Reilly logo

Learn iPhone and iPad cocos2d Game Development by Steffen Itterheim

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. Your First Game

In this chapter you'll build your first complete game. It won't win any awards, but you'll learn how to get the essential elements of cocos2d to work together. I'll guide you through the individual steps, so you'll also learn a bit about working with Xcode along the way.

The game is the inversion of the famous Doodle Jump game, aptly named Doodle Drop. The player's goal is to avoid falling obstacles for as long as possible by rotating the device to move the player sprite. Take a look at the final version in Figure 4-1 to get an idea of what you'll be creating in this chapter.

The final version of the DoodleDrop game.

Figure 4.1. The final version of the DoodleDrop ...

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