Learn iPhone and iPad cocos2d Game Development and over 2 million other books are available for Amazon Kindle . Learn more

Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading Learn iPhone and iPad cocos2d Game Development on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Learn iPhone and iPad cocos2d Game Development [Paperback]

Steffen Itterheim
3.8 out of 5 stars  See all reviews (4 customer reviews)
RRP: 31.49
Price: 26.15 & FREE Delivery in the UK. Details
You Save: 5.34 (17%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want it Friday, 25 April? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition 19.63  
Paperback 26.15  
Amazon.co.uk Trade-In Store
Did you know you can use your mobile to trade in your unwanted books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details or check out the Trade-In Amazon Mobile App Guidelines on how to trade in using a smartphone. Learn more.

Book Description

5 Dec 2010

Learn iPhone and iPad cocos2D Game Development provides a rock-solid introduction to the cocos2d iPhone game engine and related tools. It focuses on the process of creating several games made entirely with cocos2d and little-to-no iPhone SDK and OpenGL code. By creating 2-3 sample games over the course of the book, you'll learn key concepts of the cocos2d game engine and relevant tools like Zwoptex (TextureAtlas), ParticleDesigner (Particle Effects), and others.

The example games are modeled after popular App Store games so that they are relevant, recognizable, and immediately fun and inspiring. The games increase in complexity and highlight common recurring cocos2d beginner questions. As you move along, you'll learn about possible stumbling blocks and how to navigate them successfully. As you move from beginning to advanced, you'll encounter general game programming wisdom, tips for performance improvement, as well as pointers to alternative implementations and further reading.

It is assumed that the reader has previous programming knowledge but not necessarily with Objective-C. Related topics such as Xcode, Objective-C, the iPhone SDK, and OpenGL are only discussed where absolutely necessary.

What you’ll learn

  • Familiarity with the core cocos2d game engine API and the Box2d physics engine
  • Understanding of the process and best practices of game development, in the context of cocos2d and its related tools
  • Enthusiasm and excitement to create your own games paired with a realization that you are able to create games which can compete on the App Store
  • Where to go from here: further information and alternative implementations

Who this book is for

The book is aimed at beginning game developers looking for an easier and even more powerful way to create compelling 2D graphics using OpenGL and Objective-C. It is assumed that the reader will have some knowledge of object-oriented programming and the Apple and iPhone/iPad developer environment.

Check out the forum for Learn iPhone and iPad cocos2D Game Development: http://cocos2d-central.com

Table of Contents

  1. Introduction
  2. Getting Started
  3. Essentials
  4. Your First Game
  5. Game Building Blocks
  6. Sprites In-Depth
  7. Scrolling with Joy
  8. Shoot ’em Up
  9. Particle Effects
  10. Working with Tilemaps
  11. Isometric Tilemaps
  12. Physics Engines
  13. Pinball Game
  14. Game Center
  15. Out of the Ordinary

Product details

  • Paperback: 416 pages
  • Publisher: APRESS (5 Dec 2010)
  • Language: English
  • ISBN-10: 1430233036
  • ISBN-13: 978-1430233039
  • Product Dimensions: 23.4 x 19 x 2.5 cm
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: 726,661 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Steffen Itterheim is a professional Game & Tool Developer. He's worked for Electronic Arts Phenomic for the past seven years. Be it scripting, programming, or foreign languages, he's done it all. He has extensive experience with game localization including non-western languages and locales, and he also knows the Lua scripting language inside out. He learned English by watching too much American TV. Steffen currently lives in Ingelheim, Germany.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

3.8 out of 5 stars
3.8 out of 5 stars
Most Helpful Customer Reviews
1 of 1 people found the following review helpful
5.0 out of 5 stars Brilliant! 28 July 2011
By Jeffus
Format:Paperback|Verified Purchase
I've used this book as my main Cocos2d reference since the first day it arrived on my doorstep! Packed full of useful information! I would recommend the 2nd Addition of this book now as XCcode and the Cocos2d framework has moved on since it's first print.
Comment | 
Was this review helpful to you?
4.0 out of 5 stars Good introduction to cocos2D 4 Aug 2011
By Sirhc84
Good book. Don't expect a complete, detailed guide to every cocos2D aspect.
The author does a great job to push you in the right direction for cocos2D game development.
Comment | 
Was this review helpful to you?
2 of 3 people found the following review helpful
3.0 out of 5 stars Pretty good, but already out of date 23 Jan 2011
I suppose that's the problem with working with something that hasn't even had a version 1.0 release, is that the technology moves on pretty fast. As a result, recent changes to Cocos2D have made some of the material not entirely accurate. (-1 *)

The writing style is friendly, but I found some of the grammar confusing to read, as though it was missing some punctuation or just needed to be slightly re-ordered. (-1*)

If you buy this book you can get an eBook version of this title for $10. Given the cutting edge content of this title, I would like to think the eBook would be keep up to date with errata, though I haven't paid for it myself and feel that it should probably actually be free.

Also, the introduction talks about building some crazy game in Chapter 14, even though that chapter is entitled and about Game Center.

However, when all is said and done, I enjoyed reading the book and genuinely felt enlightened with regards to iOS, Cocos2D and game programming in general, so I would recommend it.
Comment | 
Was this review helpful to you?
1 of 2 people found the following review helpful
3.0 out of 5 stars Written and released slightly too soon 12 Mar 2011
Format:Paperback|Verified Purchase
I was in two minds about buying this book, written by the creator of Cocos2D itself. I already found a copy of the eBook, and was aware that despite version 0.99.5 being the version I would be developing with (for Retina support and some major bug fixes), the version of Cocos2D covered in this book is already well out of date. But seeing as I am a huge fan of Cocos2D, and that (I'm guessing) the book is one of the developer's revenue streams, I thought it more sensible to buy it rather than just make a donation.

Is it worth buying? Yes and no. You will probably find yourself searching the Internet to find the correct alternatives for the deprecated and replaced methods covered in the examples, but much of the stuff covered in the book is relevant. It's a shame though. Before the iPhone 4 was released I had no problems with earlier versions of Cocos2D on my iPhone 3G. As soon as the developer introduced Retina support I had the same sort of problems as every other developer trying to implement high-res graphics and resolution independence. These problems seem to have been ironed out in 0.99.5 to the extent that I will be able to complete my current project without upgrading Cocos2D again.

All that said, some of the stuff I learned by reading the eBook would have taken me longer to figure out on my own. So you might have two reasons to buy this book - to support the developer and to fill in some gaps in your knowledge. Maybe.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.7 out of 5 stars  19 reviews
46 of 46 people found the following review helpful
4.0 out of 5 stars An excellent introduction and more for cocos2d 27 Nov 2010
By Arjun Roychowdhury - Published on Amazon.com
A disclaimer: I am not a game programmer. But I am a techhie, who usually picks up on new things very quickly. My interest in iphone game programming began a few months ago. My first game was using just the UIKit but then I discovered cocos2d and saw how simple it makes things. You will find a zillion (literally) tutorials on the web on cocos2d (one big reason being its so simple to use). The author of this book mentions some of them in his credits page. But there is a problem with the web tutorials: While they are great to start you off, they don't get into much details on advanced things like memory optimization, etc.

Now onto this book: I've been tracking both this book, and another one (which is about to be released) and I bought the e-book version on day one of its release. The credentials of Steffen are just right (EA games). When I first started reading the book (first few chapters), I thought he was over simplifying stuff too much - for example, encouraging us to ignore apple's memory management guidelines, sticking to cocos2d autorelease mechanisms, and also using "tags" to find sprites instead of maintaining a pointer to them. This is what the cocos2d tutorials on the web say, and that is what he says too. So I thought he hasn't spent much time trying to analyze better mechanisms.

But then, as I read ahead, Steffen starts getting into details on how to pack memory, increase performance with various tips etc. that certainly went beyond what you can infer from reading web tutorials. It became obvious, once I was beyond the first 60-70 pages that he knows what he is talking about.

Here are the pros of the book:
a) It's really the first good book on cocos2D that you can buy. You theoretically could just read the many web tutorials, but some of them give you incorrect information (for example, using NSTimer directly with cocos2d - which will mess up CCDirector's pause/stop, for example). Steffen's book is thorough and well thought out and caveats are outlined in each chapter based on his experience

b) The book covers the particle system well enough. I am glad he spent time on it.

c) On Parallax scrolling, he also covers infinite parallax scrolling, which I think any game programmer doing parallax will eventually want

d) While this may be obvious to game programmers, I never knew about the coolness of SneakyInput - a 3rd party library that already implements console controls for the iOS. Steffen covers this well

e) While there are many tutorials on tilemaps (it took me 30 minutes to learn how to use tilemaps from a tutorial by SDKTutor on youtube), Steffen goes one step ahead and dedicates a full chapter on isometric tilemaps (3D effect in 2D space). That is wonderful

f) Steffen dedicates a full chapter on Box2D (and a bit of chipmunk) and the nice thing is he takes it to another chapter where he shows how to build a pinball game that integrates Box2D with cocos2D in a working game. This is great on two counts: 1) Box2D has many tutorials, but most of them stick to a bouncing ball. They don't spend too much time showing more details on how to integrate it with a CCSprite (besides that common loop code) and merge it well into a more complex cocos2d game. In Steffen's game, he takes it several notches ahead. Box2D or chipmunk play an important role in how to make a game look real by physics (think angry birds and the cool tower toppling calcuations) 2) He explains Box2D well to a point not to get into the math but enough to know how to use it

g) He covers GameCenter as well - though I have not yet read that chapter

Now the con:

a) There are several typos. I find this odd because his is not the only book. I found typos in many other apress books. This being a programming book, typos mean the code won't compile. Thats almost unpardonable. I wonder why apress isn't more diligent about this
12 of 12 people found the following review helpful
3.0 out of 5 stars Do Not Order The eBook 19 Feb 2011
By WH - Published on Amazon.com
Format:Kindle Edition|Verified Purchase
The content of this book is pretty good. There are a lot of good sources of picking Cocos2D on the net, but it's always nice to have a good resource from which to learn a new framework. The code examples are *mostly* complete, but I noticed in a few areas that the author didn't include some crucial code that forced me to go dig into the accompanying source code to figure out what was missing. Minor annoyance, for sure, but it'd be nice to not have to leave the book and start doing diffs to figure out what was missing.

My biggest complaints really center around the eBook edition of this publication: The author and publisher have recognized a series of poor-quality images that somehow managed to creep into the final edit of the eBook version, but have done nothing to rectify the situation. It has been three months of vain promises that it would be fixed, without any real action that would indicate follow through. For an industry that is experiencing turbulent times in a digital age, this is more evidence that people can find better service from alternative sources, than the legitimate ones. While I realize that the author is not responsible for this kerfuffle, I cannot recommend buying this book, if for no other reason than the publisher is not responsive to fixing an issue that they clearly should own.
9 of 9 people found the following review helpful
5.0 out of 5 stars Badly needed book for cocos2d 7 Dec 2010
By Naveed Ahmad - Published on Amazon.com
I was looking for documentation. This is the very first book on cocos2d and was badly needed. I have gone through many of the short tutorials on the web and was able to make prototypes from it. After reading half of this book i realized there were still many things not in the web sites. After reading the first 8 chapters a programmer should be able to develop a working game. It has lots of useful tips, programming good practices in it. I will definitely recommend to any iPhone game developer.
5 of 5 people found the following review helpful
5.0 out of 5 stars A great introduction to the world of Cocos2D iOS game development 21 Jan 2011
By Martin - Published on Amazon.com
Like many other aspiring iPohne game developers I started out with very little knowledge in programming and chose the iOS plattform to get into this exciting new field. That was almost a year ago and some months later I had selected Cocos2D as the graphics engine for my game. It's free, it's open source and it also has a constantly growing community that writes tutorials and helpful comments on forums.
When I started to learn how to use Cocos2D it was very hard to find good online documentation. I can't say anything about the current official docs or the wiki because I've learned everything I needed to know from this book, reading source code (both from the engine's source and from the line-drawing-starterkit I bought, which was also created by Steffen Itterheim) and asking questions on forums. I bought the book from Apress' alpha book programm where you get new chapters as pdf files as soon as they are written. That way the book got me going long before the official release and now that it's released I own the final e-book version as well.
Even though I consider myself as a complete beginner I had no problems to understand the different topics covered by the book. I found both the language and the explanations in this guide to be easily understandable and written with a lot of foresight. The author has a habbit of always answering questions that come to my mind in one of the next sentences. He not only covers all the basic concepts and functions of the game engine in several motivating little game examples that the reader can recreate and or modify, he also gives a lot of information about other topics. Whether you want to get a primer on iPhone game marketing, finding freelancers, game design advice or finding commercial source code projects to learn from, no chapter passes without giving you some valuable hints that go beyond the covered Cocos2D topic.
I'm not going into detail on single chapters as I've read some of them only in the preliminary alpha book and even skipped some that where not relevant for my project. But I can say that this guide also works excellently as a reference book.
In only a few weeks of using this book I learned so much that I now seldom need to look something up at all and things that where cryptic mysteries to me turned into easily understandable concepts used in my daily programming work. This leads me to my conclusion for "Learn iPhone and iPad cocos2d Game Development" - 5 stars!
12 of 15 people found the following review helpful
2.0 out of 5 stars Cocos2d 8 Jan 2011
By Sats - Published on Amazon.com
Format:Paperback|Verified Purchase
First 4 chapters are great and then you realise that the latest version of cocos2d is not compatible with the book examples....leaving you scratching your head ... Questions raised to the author go unanswered and errata submissions to the apress website get no response, which is a shame as this could ne a good book if the mistakes were corrected
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category