Tutorial: How To Make A Simple iPhone Game with Cocos2D

Ray Wenderlich wrote a detailed tutorial about how to make a simple game with cocos2d.

The tutorial includes:

  • How to start a cocos2d project
  • How to add CCSprite objects
  • How to use the CCLayer object
  • How to use actions
  • How to use touches
  • How to detect collisions
  • How to handle the main loop
  • How to play music and sounds

Turorial: How to make a simple iPhone game with cocos2d

You can also download the XCode project: Cocos2DSimpleGame.zip

3 Responses to “Tutorial: How To Make A Simple iPhone Game with Cocos2D”


  • Thanx for this post.
    It really shows the concept of a simple cocos2d thing and is a great place to start learning.

  • dear sir
    its realy good for the beginner i am also first time programing in cocos2d i have gain the main idea of what is cocos2d and how to programe in it.But sory to say also tell the description of evey line of code that what actualy the code meaning and how they work. Means internally how they work. Because i am very new to cocos2d thats why did not understand some line of codes if the descriptions are present then it will be very helpful for evey one .

    thank you

  • hi fazal
    read through the Cocos2d programming guide pages to get an idea, they are short and to the point, that will get you started
    http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:index

    all the best

Leave a Reply




Social Widgets powered by AB-WebLog.com.