Learn & Master

Cocos2D Game Development

            "Crack that Coconut!"

Learn Game Development with Cocos2D

The Cocos2D for iPhone game engine is the premier 2D game engine for iOS and Mac OS X 2D game developers. It’s no secret that sometimes it can be a tough nut to crack. I’m Steffen, book author, blogger, game developer and nutcracker.

What is it that you want to know?

  • Could Cocos2D be any easier?
    It certainly can be, with Kobold2D! Without it, you’re hardcore.
  • Where can I find more advanced Cocos2D tutorials?
    Read my iDevBlogADay articles, most of them Cocos2D tutorials on advanced subjects.
  • Is there source code for that?
    Of course, it’s all in the LearnCocos2D github repository.
  • What if I like to hear your voice?
    Uhm, if you don’t mind broken accents and the occasional incoherent rambling then listen to the Cocos2D Podcast with me and Mohammad Azam. (iTunes)
  • Where can I watch and learn about Cocos2D?
    Check out the featured channels on the LearnCocos2D Youtube Channel and view my bi-weekly LearnCocosTV Show & Tell progress report.
  • Can I get an answer from you personally?
    Certainly! You can get in touch with me on the Cocos2D Central forum or by asking a Cocos2D/Kobold2D question on Stackoverflow.com.
  • Where can I find more tutorializing Cocos2D devs like you?
    Here’s a quick list: Ray Wenderlich, Mohammad Azam, Alex Curylo, Johann Döwa, Bucky Roberts, iPhoneGameTutorials.
  • I wouldn’t mind spending a few $$$ for code and education, but where?
    Try my Line-Drawing Starterkit source code, my Learn Cocos2D book and the various Affiliate Products I help to sell.
  • How can I support you?
    Either buy any of my products because Learn Cocos2D and Kobold2D are my livelihood, or contribute to Kobold2D with your time, feedback and source code.
  • What’s your affiliation with Cocos2D?
    Other than being a Cocos2D user, fan and critic: none.
  • Can I hire you?
    Nope, sorry. I’ve converted to business ownership and got my hands full. Still waiting for that clone I ordered …

Learn Cocos2D Game Development

Connect with me!

Join Cocos2D Central and start a discussion. That’s the best way to reach me. I also answer questions on StackOverflow.com.

You could also subscribe to my Newsletter to receive occassional updates and never miss anything important. I rarely send out a newsletter at all, only if it’s really important news.


You should definitely follow me on Twitter if you use Twitter. If you don’t, now would be a good time to start!

119 Responses to “Learn Game Development with Cocos2D”

  1. Daniel says:

    Hi, I bought the book and after 3 chapters I love it. I am new to the Mac and I was really struggling before I found it, now I feel I am on my way. One newbie question tough: When I load the code of the examples in XCode, I can’t run it under the Product menu so I press the upper left ‘Run’ arrow and after a warning or two it says build successful but nothing happen ?

    What do I need to do to run the examples, have the IOS simulator come up, etc. ? Thank you very much.

    • To the right of the Run/Stop buttons there’s a dropdown list where you can select what is being built. In some projects the default will be “box2d” or “cocos2d-iphone” because Xcode sorts the list alphabetically. Since those are static libraries (just code, not an app) they will build but don’t run. Simply select the scheme with the project’s name and run that, for example the “Doodle Drop” selection will run on the Simulator.

  2. Peter says:

    Hello,
    i just bought your book and a like it.

    I only have problems running the examples. Im working with XCode 4.2.
    I’m getting an error in line 155 of the cclayer.m in every example:

    Mutliple method “initWithColor:” found

    Semantic Issue: Sending ‘ccColor4B’ (aka ‘struct _ccColor4B’) to parameter of incompatible type ‘CIColor *’

    What must i change to fix this problem?

    Kind Regards,
    Peter

  3. Collin says:

    I’ve just started the book, and under “Getting Started” you link to a installer at Cocos2d Central. I typed it in and it now, as I’m sure you know, redirects to here “http://cocos2d-central.com/files/file/6-installer-for-cocos2d-cocos3d-for-ios-mac-os-x/” and says that “the Cocos2D installer has been superseded by Kobold2D.”

    On the one hand, I’m fine with this because I like the sound of Kobold2D better, and planned to install it after getting through the book. On the other hand, I’m worried. How lost will I be following the book with Kobold2D installed, instead of the bare cocos2d-iphone?

    I tried jumping ahead to the chapter on Kobold2D, but I can’t make much sense of what was mentioned just yet.

    • Except for the startup code (AppDelegate, GameConfig.h vs config.lua) all the code works just the same in Kobold2D. If you have any questions just post them here or on Cocos2D Central and I’ll help.

Leave a Reply