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
4
votes
2 answers

What are Steps to grab the samples from AndEngine Repository

I had tried to grab the samples of AndEngine using Mercurial eclipse plugins, but that was firing some sort of error to me again and again. So, can someone please let me know what could be the easiest way to get the AndEngine examples or samples…
Lalit Poptani
  • 67,150
  • 23
  • 161
  • 242
4
votes
2 answers

Andengine with Trial Effect

Currently I am developing a game using andengine. In my game I have to bring trial effect which follows finger like fruit ninja. I have tried Rendering with BaseGameActivity and LayoutGameActivity with xml file. But while combining opengl…
stackuser
  • 239
  • 2
  • 7
4
votes
2 answers

How do I use andengine with maven?

I downloaded the source using hg clone https://code.google.com/p/andengine/ andengine And I'd like to know what the next step is to use andengine with maven.
dewijones92
  • 1,319
  • 2
  • 24
  • 45
4
votes
1 answer

In App BIlling trouble with Pending Intents and switching activities

Ok so I have been trying to fix this for days, and I'm not coming here looking for someone to do my work for me as I have been troubleshooting and fixed every single error message in the LogCat. I am developing an Android game using Andengine (this…
Sam Stern
  • 24,624
  • 13
  • 93
  • 124
4
votes
1 answer

Weird Exception when Livewallpaper is set in Android

04-24 13:30:59.312: VERBOSE/RenderScript(6044): RS Thread exited 04-24 13:30:59.320: ERROR/libEGL(6044): call to OpenGL ES API with no current context (logged once per thread) 04-24 13:30:59.335: WARN/WallpaperService(6044): Ignoring updateSurface:…
CarlLee
  • 3,952
  • 5
  • 23
  • 33
4
votes
1 answer

Why I can't show admob rewarded video ads with andengine in android studio?

I have a game with andengine in android studio . I want to show admob rewarded video ads in my app. But I can't show it. is there someone who can help me ? I run the application on my own device (Xiaomi mi 6). The application started correctly on my…
4
votes
2 answers

creating a smooth rope with an android physics engine

I want to practice programming with (popular) android physics engines (AndEngine and libgdx). It is not very difficult to create a small world with physics objects but now I want to create a rope and connect it to objects in the world. There are…
dilix
  • 3,761
  • 3
  • 31
  • 55
4
votes
2 answers

Error when build NDK of AndEngine example

I'm trying to build AndEngine sample on my MacOS Android Studio 2.3.2. But get this error. Cannot figure out what is the problem. Strange thing is the same project build normally on Windows, same version of Android Studio. > FAILURE: Build failed…
giang.asl.8
  • 313
  • 2
  • 11
4
votes
1 answer

AndEngine : Showing All sprites images same

enter image description hereI have 4 sprites. I am placing all 4 sprites in different place on the mobile screen. But it is taking the last added sprite image that is (sprite4.png) all the sprites images(sprite1.png, sprite2.png, sprite3.png and…
SMT
  • 469
  • 1
  • 5
  • 17
4
votes
4 answers

Top 5 scores from google leaderboard

My requirement is to get top 5 scores from leaderboard and display it in my app. There is a method loadTopScores but it shows the scores in its own UI i guess. mGamesClint.loadTopScores(new OnLeaderboardScoresLoadedListener() { public…
Sandeep R
  • 2,284
  • 3
  • 25
  • 51
4
votes
1 answer

Android in-app shop: How to restore purchases

I'm developing an Android game that contains a shop where the player can buy virtual clothes for the main character like t-shirts, hats, trousers etc. These articles can be bought with coins which the player can buy as an in-app-purchase…
sjkm
  • 3,887
  • 2
  • 25
  • 43
4
votes
1 answer

How to load spritesheet from SD card in AndEngine

I am new to AndEngine. I'm trying to play an animation by using the spritesheet(generated using TexturePacker) and I successfully animated by referring this question (Load Animation with Texture Packer in andengine) Q 1. How to load spritesheet and…
4
votes
3 answers

How to pause and resume andengine game?

I am developing a game for Android using game engine. I want to have a pause and resume button on game screen. I have implemented this by using MenuScene and for pausing the game I am using engine.stop(); But once it stop the engine, it does not…
Chandrapal Yadav
  • 277
  • 1
  • 3
  • 9
4
votes
2 answers

Move sprite in Andengine

I want to move sprite on yaxis with some a consistent speed current I am doing just decrement from height of screen to 0 with a constant value. here is the code this.engine.registerDrawHandler(new IDrawHandler() { @Override public…
mfq
  • 1,357
  • 13
  • 21
4
votes
1 answer

andengine activity bg not fit the screen

I have set bg for the menu page in my simple game developing using andengine. I have Set the bg as public class MenuActivity extends SimpleBaseGameActivity implements IOnMenuItemClickListener { private static int CAMERA_WIDTH = 480; private…
Tamilselvan Kalimuthu
  • 1,534
  • 1
  • 13
  • 28