Mega Bubble v1.02

Get it FREE on iTunes


cocos2d box2d textured soft body physics

Download theĀ demo source.

The soft body box2d code + texturing is all wrapped up in the SoftCircle class. I didn’t implement removal of a SoftCircle for this demo, but all you need to do is loop through the stl maps where the joints and bodies have been stored and destroy them.

If you want to change the behavior, modify the joint definition’s frequencyHz & dampingRatio.