O'Reilly logo

Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk by Ray Wenderlich, Rod Strougo

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

Appendix. Principal Classes of Cocos2D

In order to use Cocos2D, it is important to understand a few key classes in the Cocos2D framework. To avoid conflicts with your classes or other libraries and frameworks, all of the Cocos2D classes start with CC. When you see Director, Scene, Layer, Sprite, and other Cocos2D classes in this book, they are referred to by their class name, such as CCDirector, CCScene, CCLayer, and so forth. Knowing these classes wilsl make it easier for you to work through the tutorials in this book:

CCDirector

The director design in Cocos2D is similar to a director’s role in movies. The director controls when a scene starts and ends and the transitions between each scene. Do not fret; you are still in full control over ...

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