GB2ShapeCache-x for V 3.2


If any one is interested, the conversion to GB2ShapeCache-x for v 3.2 can be downloaded here:

Please feel free to make any changes and let me know.

Thanks @AndreasLoew for the great work :smile:



Thanks - this is awesome.


Hi, is there a version for chipmunk?


Send me the 2.x version, I can convert it for you!


We’ve recently updated PhysicsEditor. Including an updated version of the shape cache that works with cocos2d-x out of the box. We’ve renamed the class to PhysicsShapeCache - and it should really be easy to use.

I’ve created a github repository containing the official exporters:

The use of the PhysicsShapeCache is simple:

  1. Load the shapes

    // Load shapes
    shapeCache = PhysicsShapeCache::getInstance();

  2. Create a sprite and attach it’s body

    auto sprite = Sprite::create(“banana.png”);
    shapeCache->setBodyOnSprite(“banana.png”, sprite);

An example project can be found here:

Full tutorial is coming soon.


I need Box2D generic loader. But it’s not compiles with latest cocos2d-x v3.14.
Created bug here


@AndreasLoew ?


Since generic-box2d-plist-cocos2d-x is now not supported officially(so Box2D official loader for PE will not work with latest cocos2d-x):

I’m looking for solution. @Meir_yanovich maybe you can help with this? I’ve found your loader but it’s looks like outdated. Do you have the latest version? I’d really appreciate for any help. Thank you in advance.

Or current topic starter solution works well and tested? My team just needs a well tested class…