Questions tagged [andengine]

AndEngine is a free Open Source 2D OpenGL Game Engine for the Android platform.

Filter by
Sorted by
Tagged with
11
votes
4answers
4k views

Should I move the world or move the player?

I'm about to start developing a sidescrolling game where the player's goal is to travel as far as he can in the horizontal axis before touching down. Note that I do not need to ever travel back on the ...
6
votes
2answers
1k 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 ...
9
votes
2answers
14k views

How do I find the angle between two vectors?

I have 3 points on my screen: ...
-2
votes
2answers
2k views

Road parallax background

I am a beginner in game development. I want to create a parallax background that merges at the front and expands at the bottom. I'm sure there is a way to do this, but I'm missing something. My ...
4
votes
1answer
3k views

How do I implement an AutoParallax Background in AndEngine GLES1?

I'm using AndEngine GLES1. In my game, I use AnalogOnScreenControl to move a sprite and when it moves vertically, the background image also moves vertically. I want to do something like this: that is ...
6
votes
2answers
4k views

How do I support variable screen ratios using AndEngine?

When displaying a background, AndEngine produces black bars above the image on certain devices. How do I support variable screen ratios for different devices using AndEngine?
4
votes
2answers
3k views

Rotation angle based on touch move

I want to rotate my stick based on the movement of the touch on the screen. From my calculation I did not able to find correct angle in degree. So please provide guidance, my code snippet for that are ...
4
votes
3answers
3k views

How to make Box2D bodies automatically return to a initial rotation

I have two long Box2D bodies, that can collide while moving one of them around with MouseJoint. I want them to try to hold their position and rotation. Blue body is moved using MouseJoint (yellow) ...
2
votes
1answer
1k 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 ...
1
vote
1answer
1k views

How to detect screen boundary using AndEngine GLES1?

I am using the AnalogOnScreenControl to move my sprite around the screen. I would like to restrict the sprite so it can not move outside the screen boundaries. I ...
2
votes
4answers
5k views

How do I detect pixel-level collision using andEngine?

I'm developing a game for Android using andEngine, and I need to detect collisions only when two objects visually collide (not in blank space of the image). In J2ME, I'm able to do that using ...
1
vote
2answers
3k views

Detecting Screen Resolution in Android/AndEngine to display high or low quality images

I am developing a game with 1024x600 resolution. I can't target smaller resolution devices at this resolution, so I intend to use two graphics for the game. How do I detect which graphics to use for ...