Skip to Main Content
Learn cocos2D Game Development with iOS 5
book

Learn cocos2D Game Development with iOS 5

by Steffen Itterheim, Andreas Löw
November 2011
Beginner content levelBeginner
532 pages
15h
English
Apress
Content preview from Learn cocos2D Game Development with iOS 5

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 DoodleDrop. 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.

images

Figure 4–1. The final version of the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk

Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk

Rod Strougo, Ray Wenderlich

Publisher Resources

ISBN: 9781430238133Purchase book