Tagged Questions
0
votes
0answers
38 views
Making Puzzle Bubble type game in AndEngine [closed]
I want to make Puzzle Bubble clone game and I need some serious help.
Can you please tell me using physics what should I start with? I mean how can I make addictive levels and How can I reflect the ...
-1
votes
1answer
110 views
Why might a body suddenly stop while moving on continue platform?
I have a 32x32 sprite and I make some to be platform like this
for (int i = 0; i < 15; i++) {
attachChild(new Ground(32 * i, 200, regPlatform, vertexBufferObjectManager, physicsWorld));
}
...
0
votes
0answers
102 views
Slow Rope Joint Simulation
I am right now developing game similar to Cut The Rope.
But I have some problem in developing this game.
I have successfully created rope and attached multiple rope with candy.
Below I represent ...
0
votes
0answers
51 views
Large Polygon Body in Physics World than Actual Debug Draw Show [closed]
In my game, I was creating hammer object using following code.
public Body createBody(Vector2 position, String bodyName, String path,
float angle, PhysicsWorld ...
2
votes
1answer
177 views
AndEngine; Box2D - high speed body overlapping, prismatic joints
I'm trying to make good suspension for my car game, but I'm getting nervous of some problems with it.
At the beginning, I've tried to make it out of one prismatic joint/revolute joint per one wheel ...
0
votes
1answer
162 views
Rotate Box Sprite With Circle Body
I want to rotate my rectangular sprite with circle body.
The problem is the body doest not attached to the centre of the sprite. This was the default behaviour of the body and sprite.
But I want that ...
1
vote
1answer
263 views
How would I make an air hockey AI?
I am making an air hockey game for Android using AndEngine and its Box2D extension.
How would I make an AI for an air hockey game? For it to work the AI would not only need to move its paddle side ...
-4
votes
1answer
121 views
Bicycle creation in side scrolling game [closed]
I am developing side scrolling race game.
For that I create bicycle but it can't work perfect as my assumption. Following are code for it.
public class Cycle {
private float accelerate = 0f, ...
-1
votes
1answer
335 views
Create Box2D and engine polygon Box2D body without sprite
Hey I have created my body using following code: (please read full description)
Body polyBody;
final BodyDef mBodyDef = new BodyDef();
mBodyDef.type = BodyDef.BodyType.DynamicBody;
...
1
vote
3answers
940 views
Box 2d Level Editor for AndEngine
I am getting started with Box2d in AndEngine.
I need to know if there is any level editor to be used with box2d and gives output capatable with AndEngine.
Is there any tool which can help me building ...
2
votes
0answers
118 views
Letting the user draw a Polygon Body and Image
In my game, I want to provide the user with a drawing feature.
By free hand drawing, the user creates a polygon shape. Then, in my game implementation, I have to create a body for the found vertices ...
-1
votes
2answers
150 views
Single and Double Jump with single button.
I want to make Single Jump on Single Tap and Double Jump on Double Tap. My problem is that if I make double Tap on ground then it’s fine but if I make first Tap on ground and second Tap in Air then ...
1
vote
0answers
230 views
AndEngine Box2d game
I'm developing a 2d survival shooter using Box2d extension and I've got some questions:
I have two AnalogOnScreenControls. Their listeners modify both
sprites and bodies. I receive TouchEventPool ...
1
vote
0answers
187 views
Wheel Joint Implementation in AndEngine
I am currently developing car game in AndEngine. In which I was using revolute joint for car wheel and chassis attachment. But my friend suggest me that use wheel joint for that purpose for better ...
1
vote
0answers
355 views
Split Body and Sprite
I want to split the body and sprite into multiple pieces as like following link suggest:
http://www.raywenderlich.com/14302/how-to-make-a-game-like-fruit-ninja-with-box2d-and-cocos2d-part-1
I try to ...
2
votes
3answers
357 views
Rotate Body From Corner
I want to ask that how to rotate body from corner?
movableBeam.getBeamBody().setTransform(movableBeam.getBeamBody().getPosition(), angle);
The above line of code rotate the beam from center that I ...
2
votes
1answer
353 views
RagDoll in AndEngine
I want to create a RagDoll body in andEngine which can run and jump over different jumpObjects. Can any one give a nice tutorial on how to create RagDoll body and how to move it, like jump and ...
2
votes
1answer
688 views
Andengine. Put bullet to pool, when it leaves screen
i'm creating a bullet with physics body. Bullet class (extends Sprite class) has die() method, which unregister physics connector, hide sprite and put it in pool
public void die() {
...
1
vote
1answer
667 views
AndEngine Physics: Shape rotating but not updating physics effects
I was looking at PhysicsExample from AndEngine's Examples. I made the following change that I added a vertical line shape and created a fixture for it. Then I registered a rotation modifier for that ...
2
votes
1answer
219 views
Show path of a body of where it should go after linear impulse is applied
I am making a game with Andengine and Box2D. I have a dynamic body and I apply linear impulse on the body to move it around when the user have touched the screen.
Now I want to show the path where ...
0
votes
1answer
599 views
RevoluteJoint Stop Rotating when Some Physics Body Collide in Andengine + Box2d?
I am making a Game from andengine + box2d in Which i am using RevoluteJoint in that case i am facing some problem that when physics body or Sprite Collide with this Revolute joint body then Revolute ...
6
votes
4answers
1k views
How do I make my rain effect look more like rain and less like snowfall?
I am making a game in that game I want a rain effect. I am little bit far from this right now. I am creating the rain effect like below:
particleSystem.addParticleInitializer(new ColorInitializer(1, ...
-4
votes
2answers
528 views
How can I create a rain effect?
I'm making a game in which I want a rain effect, like rain is coming and game play normally.
2
votes
2answers
640 views
Box2d debug render
How can I render the body and joints in the physics world? During research I found the class called Box2dDebugRenderer. But when I put it into use it was full of errors. I do not found some classed in ...
4
votes
3answers
444 views
Box2d Collision problem
I'm not good with words so here's a picture to describe my problem:
In my game there is this big ball which the user can move on x-axis only. Now, if the ball is falling like the red one, it's ...
-3
votes
1answer
156 views
JointDef Modify at Runtime
In my game, I want run time modification in object body so I want to modify the joint def according to situation. So provide comment for how to modify jointdef run time.
4
votes
3answers
2k views
Remove gravity from single body
I have multiple bodies in my game world in andengine. All the bodies affected by gravity but in that I want my specific body does not affected by the gravity.
For that solution after research I found ...
-1
votes
2answers
478 views
Continuous Movement of gun bullet
I was using box2d for the movement of the body. When I apply gravity (0,0) the bullet continuously move but when I change gravity to the earth the behavior was changed. I also try to apply continuous ...
0
votes
1answer
408 views
Making body(box2d) a spite(andengine) in android
I can't make body(box2d) a spite(andengine) and at the same time i wanna apply MoveModifier to sprite which is body.if i can make just body,it works namely the srites can collide.if i can apply just ...
3
votes
1answer
1k views
AndEngine Moving a Connected Texture and Physics Body
In AndEngine, many times we create a TextureRegion for our sprite. We can move this region around the scene but when I connect that region to a physics body I end up being able to use either one to ...
0
votes
1answer
407 views
How do I calculate logical velocity / direction?
I have a simple jBox2D (Java) implementation of a world with couple of Circle bodies that at the begining are static.
I want to make them movable when the user touches the circle. But I want them to ...
5
votes
3answers
4k views
How to remove a box2d body when collision happens?
I’m still new to java and android programming and I am having so much trouble Removing an object when collision happens.
I looked around the web and found that I should never handle removing BOX2D ...
