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

learn more… | top users | synonyms (1)

0
votes
2answers
332 views

How do I draw a sprite on top of a video in Andengine?

I'm playing a video in Andengine on @Override protected void onSetContentView() {} However, when I place a sprite on the screen at some point in time, it is placed behind that video view. I want it ...
2
votes
1answer
781 views

AndEngine - Performance problems with many entities

I'm developing a rolling scene based game I'm loading all the entities from a XML file and create them in the Loading Scene recently I increase the game width , and by doing so , in the whole level I ...
2
votes
1answer
464 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
1answer
80 views

How to replace tiles in Tiled in AndEngine?

in my Game I Create object layers and interpret the shapes in the engine as collision objects...now I want when Player collide with object, after a few seconds object falls...this works properly but ...
1
vote
1answer
95 views

How to implement constant velocity and collisions without gravity

I am learning game development and i am trying to implement the AndEngineBox2D Extension such that my character is always moving at a constant velocity, when it collides with a body sprite, the ...
1
vote
1answer
165 views

How to clip or mask entity in adnroid/andengine?

I want to implement masking with sprite in Andengine. I want same functionality as in ios class called SKCropNode which works like an masking node! Is there any workaround like this in ...
0
votes
1answer
342 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
1answer
966 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 ...
-1
votes
1answer
39 views

Change Andengine Text By clicking and typing a new text like native android EditText

I have a board in my game, with a name. I want to edit it on a button click (not by text.setText("text") method ) i want the user to enter a text and set it there. I couldnt find, how to change the ...
-1
votes
1answer
22 views

Remove Touch LIstener from scene at a specific point

how to remove SceneTouchListner at a specific point? I am Working on a Endless Runner Game. my player is jumping onSceneTouchListner when player is collide with a barrier i want to remove ...
-1
votes
1answer
2k 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; ...
2
votes
0answers
57 views

Spawning enemies in four different positions with a fixed trajectory in android game

This is my first android game, I appreciate all the help. I want to define 4 spawning zones starting from out of the screen (left, right, up and down). Enemies coming from this areas have a fixed ...
2
votes
0answers
1k views

AndEngine Making Chase Camera Follow Player

I am playing around with the AndEngine Race Game example. I am trying to make the camera follow the car as the player moves around. The Tile Map is larger than the player's screen but the camera ...
1
vote
0answers
25 views

getting a black screen instead of the background image

Was creating a my first game in AndEngine and am only getting a black screen instead of getting the background image and play button.. Here the code MainActivity public class MainActivity extends ...
1
vote
0answers
50 views

How can I detect sprite collisions out of screen?

I am creating an Android game using andEngine library. I have enemies coming from out of the screen into the screen. I already know how to detect collisions, but is there any method I can use to ...
1
vote
0answers
33 views

Best way to load multiple TextureRegion from multiple bitmaps in AndEngine

I've seen a lot of examples of AndEngine usage where some bitmaps are mapped into some TextureRegions and loaded into an Atlas. But what if I have a lot of bitmaps, where each bitmap is a sprite ...
1
vote
0answers
21 views

Unregister touch sprite when background scene is zoom and moving

I am new to game development on Android, I use AndEngine framework. I'm developing an application with isometric view, at this time I had problems with touchlistener area on the sprite in the scene ...
1
vote
0answers
29 views

Andengine app freezes after resuming from background

I have developed an andengine app which works fine except whenever the app goes goes into background. There are 2 issues I am seeing. 1) If i leave the app by pressing the home button and then come ...
1
vote
0answers
505 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
5 views

AndEngine Anchor Center and axis orientation

I'm using AndEngine and I had a little problem. I downloaded the game example from here The problem is: the axis X is Vertical and the axis Y is Horizontal. So, how can I fix the "right" orientation? ...
0
votes
0answers
26 views

Move/Rotate 3d multiple objects w.r.t. to one another in libgdx

I have two blender objects in .g3dj format. Below is the code : private void createBaseArm1(){ // Now load the model by name from asset folder baseArm1 = ...
0
votes
0answers
29 views

Speedometer with Box2D and AndEngine

I have a class that extends from entity. I do not know how to apply the physics from box2d to create a speedometer. I simply want to rotate a sprite. mAngularBarLine.setRotation(4.5f); With the ...
0
votes
0answers
28 views

Andengine: Put a Sprite between 2 Parallax-Layers

It it possible in AndEngine to put a Sprite between two layers of Parallax-Background, without the Sprite moving together with the Parallax-Background? Like: First Parallax Sprite (will be above ...
0
votes
0answers
29 views

Touch and Collisions not working together in AndEngine when i set a custom Physics Handler

I have a set of custom sprites which implement a custom physics handler. The aim is to allow the user to move them by touch, then upon release they should act like a spring is connecting them to the ...
0
votes
0answers
20 views

AndEngine Font garbled on engine.setScene

I load a font as a member of my main activity with the intent of using the font in two different scenes on the same activity. The two scenes are also members of the mainActivity. public class ...
0
votes
0answers
7 views

How setBlendingFunction() method works and how it affects to andengine game performance

I'm new at game programming. I'm learning andengine and i've seen in lots of sites the use of setBlendFunction() method of sprites but I'm a bit confused about how it works when used on sprites and if ...
0
votes
0answers
13 views

AndEngine : Collision does not make line disappear

I have drawn the line between two sprites and there is a rectangle. When the line collides with rectangle the line should be invisible else the line should be visible. But i am having problem with ...
0
votes
0answers
87 views

Sprite drag drop andengine

How to drag an andEngine sprite anywhere on the phone screen? I have written this code in onAreaTouched function of IOnAreaTouchListener interface which is implemented in my activity, but its not ...
0
votes
0answers
115 views

How do I manually create a .atlas file?

I am trying to learn Andengine, and it seems it does not support sprites in any other way other thab a Texture Atlas. I am using the Android AIDE app and importing the older Andengine .JAR because I ...
0
votes
0answers
75 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
0answers
617 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
73 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 ...
0
votes
0answers
908 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. ...