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

Andengine - a good rube loader?

I took a look on those 2 project that I found in here: AndEngineJb2dJson AndEngineRubeLoaderExtension As some of you know I'm developing a rolling scene based game I'm loading all the entities from a XML file and create them in the Loading…
0
votes
2 answers

How start the countdown timer ONLY when the sprite is touched

I have a sprite(sprite1), and a countdown timer, and I wanted to know if there is a way to have andengine start the countdown timer ONLY when the sprite is touched. Sprite sprite1; int time=10; @Override public void onPopulateScene(Scene pScene, …
0
votes
1 answer

AndEngine and smooth rotate sprite

I want to smooth rotate my spirtes. I have 6 sprites and I want to rotate them on 360. This is my code: unactiveTimerWaitingForPlayersTxtSprite .registerUpdateHandler(timerToUnactiveTimerWaitingTxt); TimerHandler…
edi233
  • 3,511
  • 13
  • 56
  • 97
0
votes
3 answers

Listview in andengine

I want to implement a list like a leaderboard into my project. I saw an example which usw the Android native ListView class but is this the right way? Does any body know a solution?;)
Tobias
  • 4,921
  • 4
  • 31
  • 40
0
votes
1 answer

TimerHandler duplicating and cannot be unregistered in andengine

I need some help with a strange problem I am having involving TimerHandlers. For some reason when I call unregisterUpdateHandler on my set of timers they don't get removed on the first pass. This problem has been driving me nuts since it makes…
Andy Lee
  • 1
  • 1
0
votes
1 answer

AndEngine stop animated sprite when destination reached

I am working on an Android project using AndEngine. I have a working animated sprite that moves to a touched location on the screen. My issue is I can't seem to figure out how to stop the animation once the sprite reaches the destination. Here is my…
IrishCarBomb
  • 49
  • 1
  • 2
  • 11
0
votes
1 answer

AndEngine ads with Google Play Services

I created an application with AndEngine that is using only one View, the game itself. It extends the SimpleBaseGameActivity, but my problem occurs on all of those: Every example that I have found on the internet does not work, and the reasons are…
Ercksen
  • 668
  • 9
  • 23
0
votes
1 answer

AndEngine GLES2 - line-through Text

I'm trying to set line-through Text in AndEngine but I can't find how. Is it possible without manually calculating position and draw line by myself?
Błażej
  • 3,617
  • 7
  • 35
  • 62
0
votes
1 answer

How to make bodies on different layers (andengine)

I'm using andengine to develop my android game and ran into the following problem: I have some bodies flying around a scene. Since they are flying in random directions, some of these bodies may collide with each other. My question is: Is there a way…
asherbret
  • 5,439
  • 4
  • 38
  • 58
0
votes
1 answer

AndEngine GLES1 Destroy and Create Object During Box2D Collision crashes app

I am working (still) on an implementation of a Chain Reaction game. I have a lot of particles bouncing around the screen, and the user can tap the screen to create a single 'sticky' particle. When any normal particle hits the user's sticky…
0
votes
1 answer

Two animations in one sprite in andengine

This is possible to add two animations to one sprite? This is my code: public class MainGameActivity extends SimpleBaseGameActivity { private int width, height; private Scene scene; private Camera camera; private…
edi233
  • 3,511
  • 13
  • 56
  • 97
0
votes
1 answer

AndEngine and play video as background

This is possible to play video as background and show elements of my game over that video? I have a video and I want to this video was my background and my game was played on that video. Can I do that in AndEngine?
edi233
  • 3,511
  • 13
  • 56
  • 97
0
votes
1 answer

AndEngine GLES1: Identifying Objects during Collision

I am creating a 'Chain Reaction' type game. In onLoadResources I create 4 static bodies (ground, roof, left border and right border) to act as boundaries. I then create 30 dynamic bodies (which are balls that bounce around). My question is, how can…
0
votes
0 answers

Choosing game image assets (sprites/textures) for AndEngine

Which is the 'best practice' on using image resources for developing Android games using AndEngine ? The 'best' way, means loading images/sprites/textures effectively, high performance, won't use up too many device resources (GPU, memory,…
topher
  • 1,357
  • 4
  • 17
  • 36
0
votes
1 answer

Andengine tail to bullet

Help me with the creation of the tail in the bullet. Effect should be like the tail of a comet. If anyone has an example please share. Example in image http://www.android-apps-heaven.com/wp-content/uploads/2010/12/RocketBunniesv10two-300x180.jpg