Book Image

Learning iPhone Game Development with Cocos2D 3.0

By : Kirill Muzykov
Book Image

Learning iPhone Game Development with Cocos2D 3.0

By: Kirill Muzykov

Overview of this book

Table of Contents (19 chapters)
Learning iPhone Game Development with Cocos2D 3.0
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. Cocos2D – Under the Hood

At this point, you should be a little familiar with Cocos2D. We've set everything up and even created a basic project. Before we can move to some actual game making, we have to review a few basic concepts and review how Cocos2D works under the hood. This is required so that we can concentrate on writing code in the future without huge side notes about each line of the code. After this chapter, you will have a general top-level understanding of Cocos2D concepts, main classes, and techniques and will be able to concentrate on actually using Cocos2D to solve real-world tasks.

In this chapter, we will cover the following topics:

  • An overview of the Cocos2D architecture

  • The main Cocos2D classes CCNode, CCScene, and CCDirector

  • The Cocos2D initialization code and configuration options