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

learn more… | top users | synonyms (1)

1
vote
1answer
563 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 have tried putting a line at the ...
3
votes
1answer
287 views

Knob in DigitalOnScreenControl not moving. Why?

I have set up a DigitalOnScreenControl in my game but the knob does not move. The base and the knob are drawn on the screen but the latter doesn't move as per the AndEngine example here. Here is a ...
1
vote
2answers
2k 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 ...
0
votes
2answers
970 views

Memory clean up in scene management (AndEngine)

I have developed and launched a game called Bicycle Doodle GLD. In this game, I load all the game resources at the initial loading scene. The game contains 24 levels, so only the resources that ...
2
votes
1answer
1k views

Trying to run sample AndEngine gles2 code in the simulator throws “java.lang.IllegalArgumentException: No EGLConfig found!”, how can I fix this?

I tried to run a small sample game code in the emulator but it crashed. My LogCat is given here. Can you help me resolve the issue. 02-23 15:18:50.543: D/AndEngine(636): MainActivity.onCreate ...
0
votes
1answer
662 views

Which version of AndEngine (gles1 or gles2) should I learn? [closed]

I m new to Game Development. I've chosen AndEngine, but there are 2 versions: gles1 and gles2. I tried sample code from both and found that gles2 code is not run on an emulator, but required an actual ...
2
votes
1answer
743 views

Zoom In/Out Camera To Show Whole World

I am developing side scrolling game using AndEngine, and looking for additional camera control. I would like to view the whole level and then zoom/pan the camera to the left corner of the scene. ...
3
votes
2answers
2k views

Programmatically and efficiently create a graphical ripple effect?

I was developing tower of defence game for a long time. It was about to complete but I have to create ripple effect for one of the weapon that I have used. First question I want to ask is that is it ...
5
votes
2answers
507 views

Whats the physics behind the doodle jump game?

I'd like to know how we can achieve the doodle jump type physics using andengine. I mean the character is not colliding with the ground blocks when he moves upwards but will collide when he came ...
0
votes
1answer
401 views

set TouchEvent to every particle in SpriteParticleSystem in andEngine livewallpaper

All I have working on andEngine Live wallpaper and I have use SpriteParticleSystem. I want to add touch event to every Sprite of SpriteParticleSystem and remove that sprite from scene. I have use ...
2
votes
1answer
182 views

Memory issues with new game on s3

I am building a new game with AndEngine and for some reason i keep getting this debug statement in the Logcat: 01-31 21:29:50.503: I/Choreographer(697): Skipped 152 frames! The application may be ...
0
votes
1answer
1k views

Cant set up ANDENGINE GLES2-AnchorCenter Examples & Extensions

I am trying to setup the GLES2-AnchorCenter in my eclipse Downloaded andengine , extension and examples listed in Anchor center branch .But not yet succed . Andengine examples missing an extension ...
3
votes
1answer
496 views

AndEngine - Dragging a sprite that has a path modifier registered to it

I'm looking to be able to drag a sprite that is currently on a path from a path modifier. Currently, I have sprites on a path, and I have stationary sprites that are draggable. However, simply ...
2
votes
1answer
339 views

Playing a sound only once during collisions

So recently i thought i figured out a solution for it, only to find out it doesnt work when i have more than one of the same object type added to the level. What i was doing is iterating through my ...
-1
votes
1answer
959 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; ...
0
votes
1answer
360 views

AndEngine drawing 2D tiled game field

I'm in process of developing simple android puzzle game. I decided to choose andEngine as an engine for my game. In my game I have a gameField [][] array, which represents a game field, where each ...
0
votes
1answer
310 views

How to override onSetContentView while Using Ratio Resolution policy in Andengine Base game activity

I am developing (Learning to build :) ) a game with andengine GLES2. I am using base game acitvity , and i overrides the setContent view to place my admob ad.Every thing works fine except the ...
0
votes
1answer
155 views

How to enable sound on Base Game Activity in Andengine?

I am developing a game using Andengine , I am using a Base Game Activity with multiple scenes. I want to load a background music in it.But I dont know how to enable sound in engine while using Base ...
0
votes
1answer
350 views

Remove HUD from Child Scene

For my game, I create game scene for which I set HUD to it. First my game scene use BoundCamera, so I use hud to set score text, dollar text and setting button. Now on game scene when I touch on ...
2
votes
1answer
238 views

Handle Multiple Scene

For my game, now I adopt the strategy to create multiple scene. For this I have to ask two question please provide your view for my and other members for improvement. I have created single ...
4
votes
3answers
2k 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 ...
0
votes
1answer
163 views

Camera Calculation

For my game I don't able to decide what camera resolution I have to use ? Normally I use 1024x600 landscape resolution of camera for my game and create single graphics for my game. But I found that ...
1
vote
1answer
542 views

TextureRegions and TextureAtlases in AndEngine

This is my first android game, sorry if my code is bad, any advice will help. I am trying to find ways to improve performance on a game of mine, I'm using AndEngine GLES2. I have a basic question ...
2
votes
1answer
293 views

onSceneTouchEvent Triggering more than once on one click in Andengine

I am making a simple american football game, and I'm having an issue with the onSceneTouchEvent function, I have this code: public boolean onSceneTouchEvent(final Scene pScene, final TouchEvent ...
1
vote
0answers
276 views

Scene or Activity Animation

My game require an animation when one activity finishes and next started because I have develop game with multiple activity not as multiple scene per game. I have to show animation at the time of ...
3
votes
0answers
190 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 ...
2
votes
3answers
394 views

Implement 2x speed in tower of defense type game

I was currently developing tower of defense game and I want to implement 2x feature for my game. Game usually run with 1x speed that was normal speed of the game. Here what 1x and 2x mean : 1x - ...
1
vote
1answer
937 views

setPosition of Sprite onUpdate in AndEngine

I am trying to get a "highlighter" circle to follow around a sprite, but I am having trouble, I thought I could use the onUpdate method that's available to me in SequenceEntityModifier but it's not ...
3
votes
2answers
1k views

Detect multitouch (two fingers touch) on a sprite to apply pinch zoom behaviour

I am using andengine, want to move, zoom and rotate multiple sprites individually on a scene. I have achieved "move" but for pinch zoom i am unable to get the event to two fingers' touch. Below is the ...
1
vote
3answers
453 views

Path Modifier in Tower Of Defense Game

I implemented PathModifier for path of each enemy in my tower of defense game. So I applied fixed time to path modifier in that enemy complete their path. Like following code describe. new ...
3
votes
4answers
2k views

How to move a sprite automatically using a physicsHandler in Andengine?

I use a DigitalOnScreenControl (knob with a four-directional arrow control) to move the entity and the entity which is bound to a physicsHandler. physicsHandler.setEntity(sprite); ...
3
votes
1answer
707 views

How to rotate a sprite using multi-touch with AndEngine?

I am new to Android game development. I am using AndEngine GLES-2. I have created a box with a sprite. This box is now draggable by using the code below. It works fine. But I want multi-touch on ...
0
votes
1answer
284 views

Isometric projection bad coordonate

I have a 2D map, for each element I apply this isometric projection to place my Sprite //Element e; float[] f= projection(e.getX(), e.getY() ,z); // x and y represent Sprite Coordonate ...
0
votes
0answers
303 views

can it be done with 2D engine or is it real 3D? [duplicate]

Possible Duplicate: How should I sort images in an isometric game so that they appear in the correct order? My isometric game looks flat; how can I improve this? I'm working with ...
1
vote
1answer
1k views

Creating Transparent Game Menu Items using AndEngine

I'm trying to create a Game Menu which contains some Menu Items like New Game Multiplayer Options Exit I want to make this Menu Items Transparent. Only Text in White color should be visible. So i ...
2
votes
2answers
1k views

AndEngine Sprite position

I had noticed the AndEngine a few days ago, and I tried to create basic game with a few Sprites.Sure, the engine makes the development process much more easier.However I found the sprite lacking a ...
3
votes
1answer
799 views

Move Background in AndEngine for a Racing Game

I am new to game development and AndEngine. I have small query about racing game. I am going to develop a bike racing game. For bike racing game we will move the background or the player. I am tried ...
2
votes
1answer
559 views

How to make the game wait for an animation to finish?

I'm teaching myself andengine while trying to make a match-3 puzzle, so far I have a grid of gems that I populate and can move then around. Matching gems and new gems falling is working already. My ...
-1
votes
2answers
218 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 ...
2
votes
1answer
126 views

How to manage my model

I have in my model, a list of Classes : Player, NonPlayerCharacter, Monster, Item, NonMovableItem etc With AndEngine I've a list of sprite for each piece of my model, How can I manage the ...
1
vote
1answer
331 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
1answer
660 views

AndEngine player, background and camera

I'm developing a 2D shooter using AndEngine. At the moment I'm trying to make the camera follow the player. As I've understood the common approach is to use the SmoothCamera zooming it and setting the ...
1
vote
2answers
500 views

How do I add AndEngine documentation in Eclipse?

I am very new to AndEngine. I have just downloaded the full documentation file, but I can't attach it to Eclipse. How can I do that?
1
vote
0answers
306 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 ...
0
votes
1answer
1k views

rotate sprite and shooting bullets from the end of a cannon [duplicate]

Possible Duplicate: How to Align Gun with Bullets Hi all i have a problem in my Andengine code, I need , when I touch the screen, shoot a bullet from the cannon (in the same direction of ...
5
votes
1answer
670 views

Smooth pixels while rotating sprite

I just started with andengine, so this maybe gonna be silly question. How to make my sprites more smooth while I rotate them? Or maybe it because this is screenshot from tablet? Thanks JohnEye it ...
0
votes
2answers
187 views

collideWith Call Back Method

In my class, I extend Sprite class. I override one of the method collideWith(). But my problem was that when current sprite collide with other sprite it does not call the call back method ...
2
votes
3answers
704 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
524 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 ...
3
votes
1answer
1k 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() { ...