box2d-iphone
How to implement horizontal scrolling in box2d?
I\'m working on an iPhone game using box2D and I need to impl开发者_高级运维ement horizontal scrolling... I was able to scroll the background textures and all... But, the problem is that, I\'m not abl[详细]
2023-03-05 04:19 分类:问答cocos2d, box2d and retina mode: give up, or try to get it to work?
I\'ve been trying to get my box2d game to work in retina mode, and I\'m running into a lot of irritating issues when running in higher-resolution mode.[详细]
2023-03-02 16:27 分类:问答mouse joint is not working to restrict the ball in the half part of the screen
Hi guys I Am developing the application in cocoas2d using the box 2d frame work but unfortunat开发者_如何学编程ely[详细]
2023-03-01 07:27 分类:问答Want label to display on ball collision in cocos2d and box2d application
I\'m using _world->step(dt,5,5) to detect the collision system. So col开发者_运维技巧lision is actually getting handled by box2d classes. Now I want to show score on balls collision depending on to wh[详细]
2023-02-26 02:57 分类:问答Box 2D - Is there a way to Move the Ground b2EdgeShape up
I\'m working on an iPhone game, and the ground is a long, repeating rectangular sprite object that extends about 30 pixels above the bottom of the screen. I\'m trying to align my ground edge shape 30[详细]
2023-02-21 15:59 分类:问答How to destroy a body based on its position in box2d?
I am new to objective-c. I am currently working on a game using cocos2d and box2d. Let me describe my game in details:[详细]
2023-02-21 10:36 分类:问答Finding CGPoint by adding into distance of two CGPoints
I have two CGPoints A and B. Distance between A and B can be found with ccpDistance(A,B). With this information, I need to find programmatically CGPoint(x,y) of X by adding small distance into dista[详细]
2023-02-18 22:05 分类:问答cocos2d/box2d trouble
I have just started working with cocos2d and box2d for iOS SDK, and have a few problems. I got the templates working, and got the test app (the one where you click the screen and a box with a random l[详细]
2023-02-18 19:39 分类:问答How can I prevent a ball from sticking to walls in Box2D?
I\'m experimenting with box2d. I seem to have a problem people describe as sticky walls I have a ball and a paddle[详细]
2023-02-18 00:18 分类:问答Box2d SetLinearVelocity not working with gravity
I have a body (player) in my box2d world. Whenever I try to set its x velo开发者_运维问答city (every 2 seconds or whatever) and it is falling due to gravity, it jitters up and down.[详细]
2023-02-11 17:58 分类:问答