I\'d like to create a game that has levels such as this: http://img169.imageshack.us/img169/7294/picdq.png
I have been experimenting with the box2D sample project within cocos2D for the iPhone and am wondering if box2D is the appropriate engine to use to make a moving object \"stick\" to a stationary objec
I am using cocos2d and box2d in my iPhone game. When two balls hit each other, I get a notification thoug开发者_如何学JAVAh the ContactListener and I have a reference to both bodies.
I started off with the tutorial here and added drawing code for a view (covering the entire screen). The scene appears static and not dynamic even though I\'m calling world.step(,). How does one make
newbie to iPhone game development and Box2D here. I\'m developing a game in which I can move (drag) otherwise stationary objects that can collide with other objects.
In JBox2d, there exists the following code for Vec2.equals(): @Override public boolean equals(Object obj) { //automatically generated by Eclipse
I am writing a game in android using Box2d physics engine in NDK. So physics is entirely in the native world but the drawing is still in Java world.
I\'m trying to make physics bodies generated at a random position with a random velocity hit a target. I gleaned and slightly modified this code from the web that was using chipmunk to run in Box2d
When I use the following, somet开发者_StackOverflow中文版imes I get a negative value in mmVelik.x and mVelik.y.
I\'m working on a platformer for the iPhone that is using Box2D and cocos2D. I\'m trying to figure out a way to create similar behavior for my controlled character as is found in the Sonic the Hedgeh