Cocos2d-x and Box2D using LevelHelper


Coding a complicated physics game without the right tools is tedious and slow.  Fortunately there is a tool that makes this work easy and fast so you can concentrate on creating a great game.

LevelHelper along with SpriteHelper are excellent tools for creating sprite sheets and generating usable physics code.  The author of this tool, Vladu Bogdan, is constantly improving the tools allowing you to easily create levels for your games complete with physics working with your sprite sheets taken from SpriteHelper.  The tool allows instant testing of the physics using the built in Scene Tester.

The software only works for the MAC and it is well worth purchasing a MAC just for this tool as it will save weeks and months of work for your development project.  The author supports cocos2d-x which can be run on several platforms.

The software can be purchased in the Apple App store, more information can be found at

Ray Wenderlich has excellent tutorials for cocos2d and Vladu has contributed an excellent tutorial series using LevelHelper and SpriteHelper.

Part 1

Part 2:

Part 3:

Part 4:

The final code for this tutorial series has been converted to cocos2d-x and will be posted soon.  Using cocos2d-x and Marmalade SDK it was an easy task to get the finished game onto the Kindle Fire.


Cocos2d to Cocos2d-x

The difference between the Objective-C and C++ code can be viewed here and can be used as an aid to converting between the languages for cocos2d to cocos2d-x conversions.


6 thoughts on “Cocos2d-x and Box2D using LevelHelper

  1. admin

    No, not yet. I’d recommend the book that is on the blog, it is very good and the examples helpful. It wouldn’t apply to the latest cocos2d-x 3.x but I just updated a project today and it wasn’t that difficult.

  2. admin

    I can post the ported code but it is fairly old now, it probably will not work with the latest Levelhelper and/or Cocos2d-x, this weekend I’ll zip it up and put a link so at least someone can use it as reference.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.