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
7
votes
1 answer

Could not find method implementation() for arguments

I try to run my app, but gradle doesn`t want to compose it. Can you tell me what should I do ? Error:(36, 0) Could not find method implementation() for arguments [com.google.firebase:firebase-appindexing:11.6.2] on object of type…
7
votes
3 answers

andengine compileReleaseNdk error

I want to use andengine in my android studio project but I have ndk error while building. Error:Execution failed for task ':andEngine:compileReleaseNdk'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: …
Alex Zaitsev
  • 2,013
  • 4
  • 30
  • 56
7
votes
3 answers

Switching from AndEngine to libgdx - what to know?

I've been testing with AndEngine for months, but still haven't produced any game prototypes. There are few reasons why I want to switch to libgdx: - AndEngine is using libgdx's INI wrapper for Box2d, but updates reach Andengine slowly - I'm…
dario111cro
  • 805
  • 2
  • 10
  • 15
7
votes
1 answer

Drawing a Circular Timer (AndEngine)

I'm using AndEngine, and within that framework, I'd like to make a circular timer graphic. Specifically, I'd like to display the wait period for reuse of an ability. The idea is to dynamically fill the arc as the timer progresses. Something like…
Cameron Fredman
  • 1,259
  • 11
  • 24
7
votes
1 answer

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 activity, and I override the setContent view to place my admob ad.Everything works fine except the resolution policy. Ratio Resolution policy is the one I am…
Renjith K N
  • 2,613
  • 2
  • 31
  • 53
7
votes
2 answers

Andengine examples shows error not working

I am very new to andengine, trying to use this andengine examples from git url : https://github.com/nicolasgramlich/AndEngineExamples But it always shows me error on two classes BoundCameraExample and in HullAlgorithmExample In bound camera example…
Renjith K N
  • 2,613
  • 2
  • 31
  • 53
7
votes
6 answers

Cocos vs AndEngine for android

I want to make a game using Tiled Map Editor and I want to move the character around using a D-Pad for moving the character So I'm wondering which Engine would be better AndEngine or Cocos2d Keep in mind i'm a beginner at this so I'd like to stare…
cjds
  • 8,268
  • 10
  • 49
  • 84
6
votes
2 answers

AndEngine - Unable to instantiate Activity

I am new to Android development and facing a problem while using AndEngine. I am trying to run an empty application but getting a runtime error as follows: 04-01 21:56:16.326: W/dalvikvm(280): Unable to resolve superclass of…
Sami
  • 1,369
  • 14
  • 35
6
votes
3 answers

AndEngine background image

recently I started working on AndEngine. Hard to find up-to-date documentation / helping material in this regard. I am trying to set a background image after going through examples & source code. But for some reason the screen remains blank. I am…
Mob
  • 129
  • 1
  • 1
  • 6
6
votes
1 answer

Fast moving bodies miss the collision sometimes in Box2d, AndEngine

I have a Fast Moving Body(A) which is dynamic. It is supposed to collide with another Body(B). A collides with B, but sometimes it passes the Body B without collision. This is totally random behavior. I must have that collision. Kindly guide why it…
Khawar
  • 5,197
  • 4
  • 28
  • 52
6
votes
1 answer

Removing an object when collision happens

I’m still new to Java and Android programming and I am having so much trouble Removing an object when collision happens. I looked around the web and found that I should never handle removing BOX2D bodies during collision detection (a contact…
Ayham
  • 190
  • 1
  • 10
6
votes
1 answer

How to animate an explosion that blows the surrounding bodies away?

I am trying to put a bomb in some place and when it explodes every thing around it will fly away and the speed depends on how close the object to the bomb. something like when the black bird explodes in angry birds. can any one give me a sample code…
Ayham
  • 190
  • 1
  • 10
6
votes
4 answers

Changing Variable value from another class

I have an integer(levelstatus) in class A(LevelSelectScene) and I want to change it in class B(GameScene), is it possible? here is my code: (Code in GameScene) public class…
VonnCC
  • 447
  • 2
  • 7
  • 24
6
votes
1 answer

Android Studio and AndEngine - package does not exist

I've got problem with adding AndEngine to Google Android Studio IDE. I downloaded AndEngine from git and extract it to the folder. In my existing project I clicked File>Project Structure>Modeles In middle column green plus>new module>empty module…
6
votes
2 answers

SimpleLevelLoader class not found in AndEngine GLES2

Am new in AndEngine. While working from a AndEngine Tutorial , following classes are not found. I tried with importing all libraries from AndEngine but class are still not found. Classes are…
Akhilesh Mani
  • 3,502
  • 5
  • 28
  • 59