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


With Jumpy Clown, we implemented our first physics game. We covered some basics of Box2D. We then went on to create the physics world and run the simulation. We created shapes, bound them to fixtures, and bound these fixtures to bodies. You also learned how to listen for collisions and manipulated some basic physics at runtime. We implemented two other interesting things with this game which were an FSM for the clown and a technique to reuse game elements with pools.

This was a simple game with some new things going on under the hood, but don't get lazy now. Our next game involves some really interesting graphics programming. I sure felt as artsy as a graphics designer while developing the game, and I'm sure you will too!