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

learn more… | top users | synonyms (1)

2
votes
1answer
626 views

Black borders in Andengine

I am using Andengine and when I start the examples there are black borders on left and right of the screen. Like this: 10000001 10000001 10000001 where 1 is black and 0 is not black. On my phone (...
-1
votes
1answer
1k views

Continuous increase in heap memory in Android game [closed]

For my Android AndEngine game, I used the scene based approach. Game contains more graphics so I need to load and unload those graphics multiple time so that game runs smoothly. But doing this, I ...
0
votes
1answer
276 views

Font disappear after reloading

As this post title suggest, font of the scene become disappear when same scene call more than two time. Following code I used for creating font. mNumberFontTexture = new BitmapTextureAtlas( ...
2
votes
2answers
1k views

“Non-additive” alpha blending in OpenGL ES 2.0, Android (AndEngine)

I have several monochromatic sprites and I render them with alpha = 0.25 (all of them the same value). I want to "paint" with them, so when they overlap, the alpha won't be added. I am not sure if I ...
1
vote
1answer
356 views

Creating big scene and little size chasing camera

I would like to create a climb based game, so I need to have a big scene and a camera that cover only a little part of it and chase my player. This image explains easier what I want: How can I do ...
2
votes
2answers
208 views

AndEngine: edit elasticity on action

I'm making a game for Android with AndEngine. It's going quite well, but now I'm stuck on something. My main character has a elasticity set in its fixturedef so it bounces around throughout the game....
2
votes
2answers
817 views

Logic For Puzzle Game - How do I do it?

What is the game all about? It's a puzzle game. I am using AndEngine to build it on Android platform (currently). I have divided the game into various World, with each World containing various Levels....
2
votes
1answer
2k views

Is it possible to design Android game(AndEngine) levels using XML? [duplicate]

I am developing a game. In the game there is a lot of levels. Is it possible to design game levels using XML? Or what are different ways to design game levels? Please help me. Give some link or ...
2
votes
1answer
2k views

AndEngine - Moving Rectangle using Accelerometer

I'm learning how to create games with this great engine and I'm trying to put my knowledge in order to create a simple game. My first goal is to make a Rectangle moving using accelerometer and create ...
1
vote
2answers
138 views

Touch Coordinate in onManageUpdate method

I want to get touch coordinate in onManageUpdate() method. So how to perform that one? Because onSceneTouchEvent method simulation is some what slow so I could not able to get each coordinate in move ...
0
votes
1answer
426 views

Clip View for Game Play Scene

This is a small basic tool for the game. I want small box that reside on one of the corner of the scene. In which I want to show preview of whole game scene. I have read all the thing and try as much ...
0
votes
1answer
288 views

Is there an easy way to add TMX Object Layer to a Scene in Andengine?

I have a TMX file with a MAP layer and Object layer (called decorations, with property type = "decorations"). Is there an easy way to add the whole layer to the scene with all objects? Or do I have to ...
0
votes
1answer
250 views

Roulette Table Ball Movement Creation

I am developing following type of game Roulette Royale. I am basically ready with wheel and number table. When user move wheel table then ball also move on that table and stop at particular number ...
1
vote
2answers
500 views

Sprite not rotating around its centre after Scaling at its centre

If I scale a sprite at its centre, then try to rotate it around its centre as well, the rotation does not occur around its centre. If you need to rotate, for example a scaled ball,the way its working ...
-1
votes
3answers
2k views

Fruit Ninja Swipe

I now have nearly completed a Cut The Rope type game. I need only a swipe mechanic to cut the rope, both the logic and the visual effect. Suggestions would be most welcome. I only need a concept for ...
-1
votes
1answer
256 views

Child Object Placement based on Parent Object Angle

I want to perform object placement based on parent object position. For example, I have chest and head object. I want when I rotate chest object then as per chest rotation head object also rotate and ...
2
votes
2answers
1k views

How can set vibration option with my game in android? [closed]

I am using AndEngine to develop an Android game and I want vibration to be triggered when an enemy hits a player. How can I implement this into my game?
1
vote
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 for (int i = 0; i < 15; i++) { attachChild(new Ground(32 * i, 200, regPlatform, vertexBufferObjectManager, physicsWorld)); } ...
-1
votes
3answers
978 views

How can I move an enemy towards a player in AndEngine? [closed]

I want to move all enemy towards player but i can't do this.Is there any way by which i c an perform this task?
4
votes
2answers
688 views

How can I change width of sprite Dynamically?

I want to change width of sprite dynamically but i can't perform it.!! Here i want to change only my white sprite i want to use these type of facility in my game in using AndEngine I want to display ...
-1
votes
1answer
175 views

How to Fix Some Portion of bound camera?

I want to add Progress bar with my game to display life of player but when i move down through DigitalOnScreen Control the black bar that i want to display is not displayed there. I want to display ...
1
vote
1answer
367 views

Cost of changing scene in andengine

I'm working on a simple 2d puzzle with small textures (in count and quantity). Now after I finished the game logic I'm considering tow options to switch between levels: Remove all objects manually ...
2
votes
1answer
1k 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
2answers
998 views

How do I stop overlapping shapes when collision detected in AndEngine?

I am making a very simple demo in AndEngine in which I have three rectangles: rect1, rect2 and rect3 in an ArrayList. I register onAreaTouch as follows: @Override public boolean onAreaTouched(...
-1
votes
2answers
2k views

Semi Transparent Background in Scene [closed]

In my game I want to create game over scene which is semi transparent so game scene become partially visible. Game over scene contain several button that are not transparent but I need only ...
1
vote
1answer
1k views

Moving AutoParallaxBackground's ParallaxEntity in X and Y direction

Currently I can move AutoParallaxBackground's "ParallaxEntity" in one axis. Like: final AutoParallaxBackground autoParallaxBackground = new AutoParallaxBackground(0, 0, 0, 12); autoParallaxBackground....
-1
votes
1answer
1k views

Physics body with custom shape [closed]

I want to make a physics body like this image. The red color ellipse will be the physics body and the curved antenna shapes will not included in the physics body. I want to know how to call the ...
1
vote
1answer
985 views

How to attach a sprite to a TMXTiledMap at a particular coordinate, in AndEngine?

I am trying to add a sprite at a "grid" location on the tiled map. The TMX tiled Map is like a grid, and you can access the size of the grid by calling mTMXtiledMap.getTileRows() and mTMXtiledMap....
1
vote
1answer
828 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 ...
4
votes
2answers
913 views

How do I eliminate black bar artifacts in AndEngine/TMX plugin?

I used AndEngine gles1 along with the tmx plugin to generate my background maps. The image width is not fit to my virtual device, so I increased the tmx image size. Here is my code for the camera ...
2
votes
2answers
844 views

Animate Using setScale()

I want to animate my player from bigger size to smaller size and then smaller size to bigger size continuously. We can use setScale() method to re-size any sprite but is there any way to animate with ...
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 ...
2
votes
0answers
28 views

How do I create a scrollableparallax background in AndEngine GLES1 [duplicate]

In my game I want my background to move side by side as the player moves on screen in AndEngine. I moved my sprite using analogScreenControl. I am using AndEngine GLES1. i don't want to move my ...
4
votes
1answer
1k 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 ...
2
votes
2answers
3k views

How to Change default Mouse pointer on emulator in Android?

I want to change default mouse pointer in Android emulator. I want to change it for my game to use different type of cursor.I am using AndEngine for my game development. Is there nay way to change ...
6
votes
2answers
3k 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?
2
votes
1answer
2k views

Showing Parallax entity and AutoParallax entity on same scene in AndEngine

How do I create both a parallax background and an autoparallax background in the same scene using andengine? The problem is, I want one entity to move at a constant speed regardless of the camera's ...
1
vote
1answer
990 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
418 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
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 ...
0
votes
2answers
2k 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
2k 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
1k 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
1k 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. ...
4
votes
2answers
6k 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 ...
6
votes
2answers
827 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 ...
2
votes
1answer
212 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 ...
1
vote
1answer
3k 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
871 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
551 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 ...