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

learn more… | top users | synonyms (1)

0
votes
0answers
14 views

setChaseEntity freezes or jitters the AnimatedSprite

I'm trying to implement setChaseEntity method in a physics based app. I wrote the below code which has an animated sprite ans as the player. The player is movable and it can jump. When i try to focus ...
-1
votes
0answers
17 views

Moving a sprite like unblock me game andengine [on hold]

please let me guide What is the most efficient way to move a sprite(bricks) like "Unblock me" game in android? Thanks in advance.
0
votes
1answer
39 views

Player doesn't jumps in Box2D implementation [on hold]

Well, i'm trying to learn andEngine. I was able to successfully implement the move functionality for the player. Now, i'm trying to make the player jump using Box2D. I referred few online tutorials to ...
0
votes
1answer
32 views

How do I create a Fixture in Andengine and assign it user data?

I´m following this tutorial: How do I use ContactListener in JBOX2D? in order to get input from player's bottom part including a fixture in player's main body. My problem is that I´m initializing ...
0
votes
0answers
22 views

Andengine how to change the onscreen control directions?

I am creating a game using andengine. I am using digital onscreen control to move a ball (sprite) in maze. I am able to move the ball but now I want the movement such that if I move the joystick knob ...
0
votes
1answer
52 views

On Screen Coin Animation

am working with side scrolling skater game. I want to perform coin animation such that as player collect coin it moves upside and attach with currency sprite. My main character and coin present in ...
0
votes
0answers
22 views

Broken screen when running empty AndEngine project using LimitedFPSEngine

I am new to AndEngine and I am following the steps in this tutorial: http://android.kul.is/2013/10/android-game-development-tutorial-part-3.html. In summary, it is a simple getting-started project ...
0
votes
1answer
39 views

Concurrent touches not being detected

I have pretty much the same controls on the race example of the engine. A AnalogOnScreenControl and a button defined by a Sprite. The problem is, when I'm using the analog directional, touching the ...
1
vote
1answer
30 views

AndEngine Foreground Sprite

I'm developing an Android game and have some troubles: I want to add some foreground sprites, that must obstruct my player. Se the following example: Its a screenshot from "Shinobi 3". We can see ...
0
votes
1answer
71 views

Android AndEngine creating a body behind the sprite exactly

I am using AndEngine for Android. I created a body, but it is not behind the sprite as I wanted. Body.setTransform(Sprite.getX()/32, Sprite.getY()/32, 0); This is ...
6
votes
1answer
108 views

How do I make a scrolling background out of a sequence of images?

I am new to AndEngine and trying to code a basic sidescroller game using the ParallaxLayer class from this example. (I followed the example and it works.) How would I display multiple images ...
2
votes
2answers
155 views

2d platform game with zoom in and out

I am using AndEngine, and I wish to create a 2d platform game like worms, where I can zoom out to see the whole world and zoom into single character, so I can select it. I do not want to use the zoom ...
0
votes
0answers
58 views

How to create glowing line with andengine?

today I have played this game and still wondering about this effect: when I touch the target, some lines will appear (as those yellow lines in the image). How could I create this effect in andengine. ...
0
votes
0answers
19 views

Register Modifier to Parent Entity

As far as I know, with Andengine if you register a modifier to a parent, all the children will also be affected by the modifier. If I am wrong please let me know. I'm currently working on a game and I ...
0
votes
1answer
69 views

Andengine Rotate Wheel with fast acceleration

I have a Wheel sprite and i am rotating it using Physics RevoluteJointDef. Its rotating. But problem is how i can make wheel to start moving fast. It took the speed after sometime like real. // ...
0
votes
0answers
24 views

Andengine Box2D Physics “disappearing”?

I have problems with my PhysicsWorld in Andengine GLES20. Sometimes when i first load my app and level there is no velocity added to my bodies. they also rotate slower as it seems. This also happens ...
1
vote
0answers
65 views

Spin wheel with gesture in Andengine

I want to implement Fortune wheel in Andengine. The wheel would start spinning based on the speed of a finger fling. Then it would stop slowly like real Fortune wheel. What I am able to do now is to ...
0
votes
1answer
176 views

How do I implement swipe-to-throw in Andengine?

I have a ball sprite and I apply physics to it when the user swipes on it. I'd like the ball to start moving in the direction of the swipe, similarly to how Paper Toss works. How can I do this?
0
votes
0answers
66 views

How can I know when a scene is fully-created in Andengine?

I am using a scene manager like this. How can I know if a scene is fully created and visible on the screen, as it seems that the GameScene listens for touch events while the loading scene is still ...
0
votes
0answers
19 views

Andengine ResourceManager not loading

I am using Matims ResourceManager (matim-dev.com). I am 100% sure that I implemented it right and it works just right with my Note 2. Although on my older Galaxy S Plus I am having issues when ...
1
vote
1answer
74 views

Andengine reducing sprite quality?

I have a problem with bandings using andengine. When painting a picture on PC and uploading it to my phone, they look exactly the same. But as soon as I use that bitmap (PNG) in Andengine, I have ...
1
vote
0answers
27 views

Box2D setGravity() in Andengine?

Im currently using the Andengine GLES20 branch. I know that the new Box2D method setGravity() isn't implemented yet. Has anyone managed yet to get it to work with Andengine or to write a method ...
0
votes
2answers
157 views

AndEngine - Smooth scaling on a sprite

I'm trying to implement a pinch zoom on a sprite. I would like to get an effect like the SmoothCamera, but on a single sprite. I've managed to pinch zoom on the sprite by changing its scale, but the ...
1
vote
0answers
92 views

Eclipse loading old tmxtiledmap instead of fresh one

I am facing a weird issue. I created tiled map using Tiled Editor. Used it in my simple andengine project to test loading of tiledmap correctly. It did load successfully. After that, I made changes to ...
0
votes
0answers
54 views

DigitalOnScreenControl not showing on screen using AndEngine Anchor Center

i'm following tutorials and i wanted to add a knob controller on the screen, but it's not showing up, can you help me please? This is the createControls() method in GameScene: private void ...
0
votes
1answer
391 views

How to set a body to a specific position using Andengine

I'm developing a game with a single player and multiplayer mode. Lets say I have walls (static bodies), vehicles (dynamic bodies) and bullets (dynamic bodies). It works fine to control my own vehicle ...
1
vote
1answer
148 views

AndEngine Font Issue

I am learning AndEngine. I am displaying Hello world using this code: public class myactivity extends SimpleBaseGameActivity { private final int CAMERA_WIDTH = 320; private final int CAMERA_HEIGHT ...
1
vote
1answer
139 views

What is difference between AndEngine's three Cameras

I am new to game development. After observing some AndEngine code snippets, I am trying to figure out which camera would be best suitable for my 2D game. Either it's BoundCamera, SmoothCamera or ...
1
vote
1answer
220 views

Pipe connection game algorithm - Java/Andengine

I am creating a game based on Pipe Dream/Pipe Mania using java/andengine for android. I have a square grid of tiles each representing a type of pipe. The player needs to swap tiles to connect the ...
0
votes
1answer
104 views

Layout and Sprite in Andengine

I m playing video in andengine on @Override protected void onSetContentView() {} but when i place sprite in screen at some point of time it is placed behind that videoview but i need to appear ...
0
votes
2answers
64 views

Duration in ScaleModifier andengine

I want to scale an image before screen resume in AndEngine so I have applied the following code to my sprite: ScaleModifier scaleDrag1 = new ScaleModifier(1, 1, 0.7f); ...
1
vote
1answer
237 views

How should I generate the board for a match-3-style game?

I am trying to create a "match 3" game. I'm stuck figuring out a good algorithm to fill up the game board. My game's board is 8x8. EDIT: A few things: The board should always be solvable. for ...
1
vote
1answer
127 views

Max Row and Col for Animating Sprite in Andengine

I want to animate a Sprite in Andengine , I have used the following this.mSnapdragonTextureRegion = BitmapTextureAtlasTextureRegionFactory.createTiledFromAsset(this.mBitmapTextureAtlas, ...
1
vote
1answer
142 views

How to move a Entity without moving its children in AndEngine?

I have a Entity in AndEngine and when I move it, all child move together with it. Which is great. But, sometimes, I need to move it without moving its children. Is it even possible? And, if it is, how ...
0
votes
0answers
68 views

Physics don't apply on a unique body AndEngine

I am developing a game in AndEngine so far I managed to create everything I wanted for my sprite that was connected to a BoxBody. I was rotating it moving it everything was great. I wanted my ...
0
votes
1answer
297 views

AndEngine: Painting on a canvas rather than composing image from objects

I'm trying to implement drawing a line with a finger, similar to a Pencil tool in image editors. From what I've found on AndEngine, it seems like the recommended approach would be to create a line ...
3
votes
3answers
492 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) ...
1
vote
2answers
267 views

How do I make a Box2D object that makes objects passing through it slower?

I wish to have a sort of "slow motion" or "slow down" effect on a players character when they walk in a mud area, usually the character velocity is 3f constant in any one direction. The problem is I ...
1
vote
1answer
262 views

Making a 2D TMX tile map

Should there be a specific link between the characters height as well as the tile size for the tile maps? That is if a tile is 32x32 does that mean that a character sprite has to be the same size? ...
0
votes
1answer
317 views

Drawing Text on a scene

I am not sure if I am missing something but I was thinking about how text entities are drawn on a scene, are they drawn with an offset depending on the length of the text? I notice that when I add a ...
0
votes
1answer
128 views

Getting body position

I am using BodyA.getPosition().x and BodyA.getPosition().y to get the x and y vector of a body location so i may attach some text above its head, but the log of that position prints out something like ...
2
votes
1answer
361 views

AndEngine Scoreloop - java.lang.IllegalStateException: you are not calling from the main thread context

I am a very novice android developer but also created a game using andEngine successfully. Now I want to integrate Scoreloop and everything is fine with Leaderboard view and TOS view, except I am ...
0
votes
1answer
92 views

Version number not supported by gl2 in andengine

I am new to andengine. From various forums, i got to know that my system should support hardware virtulisation. I have installed "Intel X86" and my system didn't throw any problem regarding "HAX" now. ...
0
votes
0answers
399 views

ANDEngine : 3d rotation in Particle System

Im using ANDEngine and wants to create confetti particle system. But im unable to make flipping and rotation of confetti particle around z-axis Since andengine is 2d engine, it doesnot support that. ...
1
vote
1answer
329 views

Button - change texture after click

I need to make a button with texture. After button is pressed I want to change texture of button permanently. For example on/of sound button. I tried this but it changes image only while I hold ...
0
votes
0answers
111 views

AndEngine-Rotate a Steering Wheel like body using Touch

I've got a body that has to rotate on touch. There is no linear movement needed, they body just needs to rotate along an axis point. I'm using setTransform to rotate the body in the onAreaTouched ...
3
votes
0answers
314 views

AndEngine- OnAreaTouched

In my AndEngine-based game there are a few sprites on the scene. One sprite acts as a surface and the rest of them are placed on top of this surface. I want to take unique actions whenever any of the ...
2
votes
1answer
623 views

How do I pause Andengine, but still get input?

In my game when I pause the game, I'd like to display three options (Resume, Restart and Menu) so I did this after calling mEngine.stop(): Sprite resume = new Sprite(CAMERA_WIDTH/2, CAMERA_HEIGHT/2, ...
-1
votes
2answers
149 views

ParallaxBackground doesn't work well with sprite scaled

I'm trying to set a ParallaxBackground for my AndEngine's game. So I did this: Sprite montagne = new Sprite(0, 0, RM.montagneBackground, vertex); Sprite piante = new Sprite(0, 0, ...
0
votes
1answer
266 views

ParallaxBackground AndEngine

I'm new to game development andengine. I want to add ParallaxBackground but I don't know how to change background on player move. I'm using arrow for moving a player. Now my question is where I write ...