O'Reilly logo

Learn cocos2d 2: Game Development for iOS by Andreas Löw, Steffen Itterheim

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

Chapter    3

Essentials

This chapter introduces you to the essential building blocks of the cocos2d game engine. You’ll be using most of these classes in every game you create, so understanding what’s available and how the classes work together will help you write better games. Armed with this knowledge, you’ll find it a lot easier to start working with cocos2d.

Accompanying this chapter is an Xcode project called Essentials that includes everything I discuss here, plus additional examples. The source code is full of comments.

This chapter starts with a high-level overview of the cocos2d game engine architecture. Because every game engine is different in the way game objects are managed and presented on the screen, it’s best to begin with an ...

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