box2d

How to create a level with curved lines with cocos2d + Box2d on the iphone?

Hello, I'd like to create a game that has levels such as this: http://img169.imageshack.us/img169/7294/picdq.png The Player moves "flies" through the level and mustn't collide with the walls. How can I create such levels? I found that piece of software: http://www.sapusmedia.com/levelsvg/ It's not that cheap, so I wonder whether the...

[ios.cocos2d+box2d]how to disable auto-rotation?

I have created a project with cocos2d 0.99.5 + box2d. When I rotate my iphone, Screen automatically rotated too. So the boxes Flew up into the ceiling. How to disable auto-rotation? plz ...

Flash to Java port of this code (maybe getTransform) /box2d

var ldirection = wheel.GetXForm().R.col2.Copy(); ldirection.Multiply(engineSpeed); how i can do this in java code? Thanks ...

Box2D rotate an object, how?

How i can rotate an object in box2d? private static final double DEGREES_TO_RADIANS = (double)(Math.PI/180); float angle = (float) (45*DEGREES_TO_RADIANS); object.body.setTransform(object.body.getPosition(), angle); but not working.. ...