box2d-iphone Questions
5
Solved
i am using cocos2d template with Box2d but when i import Box2d.h in my project it gives me error
cassert fiel not found
i have cocos2d version 2.0
please help me
Nevernever asked 24/8, 2012 at 11:38
2
Solved
I haven't been able to find a tutorial on how to properly setup a gesture recognizer for iOS.
I need to detect swipe up & down, and the callbacks for them.
Any help, appreciated. Thanks.
Olid asked 14/9, 2012 at 9:49
3
I have a working Xcode project that includes Cocos2d in one of the views. I now need to add Box2d. I tried dragging the Box2D folder into the libs directory of my cocos2d-2.x-ARC-iOS folder and add...
Calvinism asked 2/3, 2013 at 20:43
1
Is it possible to change the shape of a Box2d b2Body dynamically? I want to do this to achieve the following.
i). Increasing the radius of a circle shape at a certain rate
ii). Changing the dimen...
Concord asked 12/6, 2013 at 13:3
3
I'm working on a game idea (2D) that needs directional lights. Basically I want to add light sources that can be moved and the light rays interact with the other bodies on the scene.
What I'm doin...
Bioscopy asked 16/10, 2012 at 22:26
1
Solved
I have added 7 sprites and give them tag and zorder.. but i can't get touch on third object and at last there is only one object remained then i get touch of it.. But when i added 6 sprites i'll ge...
Baryram asked 18/8, 2012 at 9:57
1
Solved
I wonder what is the best way to allocate and deallocate box2d objects (b2World and b2Body) in cocos2d for iOS?
Allocate
@property (nonatomic, assign) b2World * world;
@property (nonatomic, assig...
Dalessio asked 14/8, 2012 at 9:24
2
I'm making a game where player drags a boat around using finger. I'm using Box2D for the physics aspects of the game. In particular, I'm using b2MouseJoint to attach the touch event to the boat to ...
Giselagiselbert asked 15/1, 2012 at 1:33
1
Solved
I'm newbie in box2d. Can you help me?
I want to make gun (touch, move, stopped, ball flew).
I make detection and rotation of gun, but I can't make popping of ball. How can I count velocity, which ...
Erasure asked 6/2, 2012 at 17:12
4
Solved
Im working in objective C++. The issue I am stuck with is that I need to pass a std::vector to an objective c method. Is this possible? Below is my current code where I am having to do my calculati...
Beggarweed asked 3/1, 2012 at 14:12
4
Solved
Can anybody please guide me with the best engine for game development in HTML5?
It is simple jumping and surface detection game. The theme is like jumping and go above the tree tops.
What y...
Villous asked 11/9, 2011 at 6:37
1
Solved
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.
cocos2d renders my graphics correctly in reti...
Kaitlin asked 1/5, 2011 at 17:27
1
Solved
I'm experimenting with box2d.
I seem to have a problem people describe as sticky walls
I have a ball and a paddle
I'm using all the basic recommended scales I could find, 10m world, 1m ball
The ...
Sosthena asked 21/3, 2011 at 17:35
1
Solved
I'm attempting to create a "U" shape in Box2d (in Cocos2d) by joining 3 rectangles like so: |_|
It sounds like joints are not the correct solution here since I don't want any movement so I have cr...
Paule asked 16/1, 2011 at 16:17
1
© 2022 - 2024 — McMap. All rights reserved.