Questions tagged [andengine]

AndEngine is a free 2D OpenGL game engine for the Android platform and includes the Box2D physics engine.

AndEngine is a free 2D OpenGL game engine for the Android platform. Along with the core engine, the platform supports extensions, such as the following:

There is a fairly active community forum and the code itself is well designed and extensible.

AndEngine lacks documentation. To compensate the lack of documentation there is an AndEngine examples project available on GitHub and corresponding app on the PlayStore.

The current active development branch is GLES2-AnchorCenter and it's expected to be merged into the GLES2 branch.

The main difference between GLES2 and GLES2-AnchorCenter is the origin of the coordinate system.The coordinate system in the GLES2-AnchorCenter branch has its origin in the lower left.

2232 questions
5
votes
2 answers

AndEngine- Drawing sprite's child behind its parent

I'm trying to attach a sprite to another sprite and attach it behind its parent. This is usually very easy, and I've one it before in my code- but for some reason, in once instance, it doesn't work. The process is usually to set the parent's Z index…
LoneDuck
  • 1,852
  • 1
  • 21
  • 28
5
votes
2 answers

SharedPreference Changes not reflected in my wallpaper service

I am making a live wallpaper where i need to change the speed of a vehicle in setting scene and it needs to get reflected back to the wallpaper service when i press the return button. In my preference activity, i save the list preference changes in…
5
votes
1 answer

Android AndEngine : sprite.detachSelf() doesnt remove the sprite

I'm creating small balloon game. where balloons pop up randomly and disappear after a little while. When i clicked on them those i want to disappear them and show +1 instead of the balloon. When i click on the balloon, i want to deattach the balloon…
posha
  • 881
  • 4
  • 16
  • 28
5
votes
1 answer

AndEngine - SpriteGroup blinks on newly attachChild

I'm using the last version of the AndEngine, branch GLES2, with two devices: HTC Desire and a Galaxy Nexus. I have a problem when using a SpriteGroup with Sprites scrolling down on the screen. New sprites are attached to a SpriteGroup on the top of…
Florian
  • 389
  • 1
  • 4
  • 15
5
votes
1 answer

Draw a path in AndEngine to move a image or sprite

hi am new in Android game development i use AndEngine i need to ploat a path but there is a problem look at the image.The path i need is like the first one the object should move from the bottom to the middle of the screen.but while i plot my path…
Ramz
  • 7,116
  • 6
  • 63
  • 88
5
votes
3 answers

Android AndEngine: java.lang.IllegalArgumentException: No EGLConfig found

I'm doing a REALLY simple app, a basic hello world to test AndEngine and I am currently having some problems when running it: I set my emulator properties as RealMayo suggests in his videos and it should work but I get this error instead 07-23…
Luisjomen2a
  • 241
  • 2
  • 16
5
votes
4 answers

How do I apply a force to a body in the direction it is traveling (Box2D)?

I'm using AndEngine/Box2d to develop a game. I have a ball that bounces around the screen. I've successfully made it ignore gravity by applying an opposite force, but it has a tenancy to slow down after the initial impulse, even with the elasticity…
rphello101
  • 1,671
  • 5
  • 31
  • 59
5
votes
2 answers

Add background to Andengine scene Android

I wanna set My Scene Background but I don't know how! I had read a lot about this, but I can't make this works. Is my start with Andengine, and is hard found precise information for my problem, all is subjective. Well, I have implemented the splash…
Genaut
  • 1,810
  • 2
  • 29
  • 60
5
votes
1 answer

How to destroy and recreate a scene in andengine correctly?

In andAngine I need to destroy a Scene in andangine and to recreate it in order to restart the game variables and listeners and gamelogic. i use this…
Claudio Ferraro
  • 4,551
  • 6
  • 43
  • 78
5
votes
1 answer

AndEngine GLES 2 - black screen, no errors

I am writing a game for Android using AndEngine GLES 2. Everything was working properly - I had a background image, there were sprites moving around and even some music - until recently I tried something new (I wanted to be able to switch between…
GameDroids
  • 5,584
  • 6
  • 40
  • 59
4
votes
1 answer

add visual below finger swipe, Triangle strip like fruit ninja Andengine

I want to show a triangle strip when user swap finger on screen. I am not sure how to do it with AndEngine, using particle system or using sprites or using Triangle Strip algo... I haven't wrote any code because I am struck that what to do. I am…
AZ_
  • 21,688
  • 25
  • 143
  • 191
4
votes
3 answers

unlocking levels in Android Game logic

I have a level scene that i allow the user to select a level. But to move on to the next level the user must complete the level before it. Right now the first level which is automatically unlocked. When it is completed i want unlock the second…
coder_For_Life22
  • 26,645
  • 20
  • 86
  • 118
4
votes
1 answer

Update Stops when Dialog Comes in AndEngine

When ever a dialog comes on a scene in andengine the update method stops unless the dialog is dismissed. All I want to do is that whenever a dialog comes the update method should not be stopped it should be running as normal. Please provide a…
Jawad Amjad
  • 2,532
  • 2
  • 29
  • 59
4
votes
1 answer

Loading In Background - AndEngine GLES2

im porting my project in AndEngine GLES2, with GLES1 versione i use this tutorial to load assets in background, now i receive this error: mActivity.onCreateScene failed. @(Thread: 'GLThread 10') java.lang.ExceptionInInitializerError This is my…
Matteo
  • 2,029
  • 4
  • 22
  • 30
4
votes
1 answer

Load Animation with Texture Packer in andengine

I use Texture Packer. I have .pvr.ccz file there are 10 frames. I need to create an AnimatedSprite with this animation, but TexturePacker extension return only TextureRegion files. How I can create TiledTextureRegion from this file?
Androider
  • 121
  • 1
  • 11