Book Image

Cocos2d-X Game Development Blueprints

By : Karan Sequeira
Book Image

Cocos2d-X Game Development Blueprints

By: Karan Sequeira

Overview of this book

Table of Contents (17 chapters)
Cocos2d-x Game Development Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


SpaceCraze taught us a lot more about developing games with Cocos2d-x. We started the chapter with the awesome project-creator tool to create a cross-platform project. We then discussed how to extend the engine's most frequently used CCSprite class into our own CustomSprite. We then got creative by implementing a particle system. One of the important things you learned was storing and parsing our level data from XML files. This not only increases the scalability of the game, but also makes the level designer's job a lot easier. We also used actions for almost everything other than collision detection in this game. I'm sure you can see how much time, effort, and code we saved.

Our next game is sure to intrigue you. Want to know why? It's because we'll go back to the drawing board with primitive drawing and you will learn how to implement the really cool accelerometer control. Get ready!