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
0 answers

Load tmx map at background with progress bar or loading scene

I use AndEngine and i have a large tmx map in 3000 * 3000 px. When i click to play button at menu scene for load game scene takes over 20 seconds to loading and wait at menu scene.i want to show progress bar or loading scene when tmx map is…
Reza Ahmadi
  • 57
  • 1
  • 11
0
votes
1 answer

Updatable/changable polygon vectors

Build - GLES2 Anchor-Center: I'm having trouble, without myself getting into shaders, trying to draw simple polygons that once created can have their vector points changed. Do i have to destroy and recreate every time i want to change them? I have…
Crazy World
  • 354
  • 3
  • 10
0
votes
0 answers

SensorEventListener and PhysicsWorld

i use sensorManager to move a sprite in my app but the sprite not collide With any object that i have registrated in PhysicsWorld. this is my full code: public class MainActivity extends SimpleLayoutGameActivity implements IOnSceneTouchListener,…
0
votes
2 answers

Large tmx map And outOfMemory error with AndEngine

I have a large tmx map for my Andengine game, which is 9000*30 in size, and when I want to load it into the application, I get an outOfMemory error. Can anyone help me with this problem? Any idea?
Reza Ahmadi
  • 57
  • 1
  • 11
0
votes
1 answer

How to implement andengine surfacegesturedetector adapter in gles2?

I want to implement swipe gestures in my game. search on net but not accurate result found. Please anyone help me to implement surfacegesturedetectorAdapter in andengine gles2. The logcate say: "Can't create handler inside thread that has not…
user3844944
0
votes
0 answers

Android Navigation Drawer Appears on top of mRenderSurfaceView on API<=4.0.3

I am trying to combine Andengine's mRenderSurfaceView with a standard android application. I created a standard Android project with navigation drawer, and succesfully plugged in the mRenderSurfaceView. Problem: on Android 2.3 and on android 4.0.3,…
erahal
  • 433
  • 4
  • 17
0
votes
1 answer

black boxes instead of sprites on reload andengine

My sprites (which are boxes themselves, but different colors) are all showing as black boxes the second time my andengine activity is loaded. It's odd because usually this problem is due to the texture atlas not being large enough, but I tried…
user3287039
  • 29
  • 1
  • 6
0
votes
1 answer

how to set sprite as backgroound in AndEngine?

I am new in AndEngine. I want to set an image as background in my game.I am able to do this job but problem is that when i set a sprite as background then all other sprites in current seen become hidden. Here is the code : public class SplashScene…
Stack
  • 5
  • 3
0
votes
0 answers

Andengine - text object dosn't visible in updateHandler

I created a game on andengine. splash screen remove when load resources finish. I want to displays "loading.." I create a text object and attach to splash. It's invisible. But it can't be visible.. here is my onCreateScene method: protected…
sadrag
  • 555
  • 2
  • 7
  • 19
0
votes
0 answers

Android : IllegalArgumentException: Invalid int: "D1%" on Galaxy Tab3 Lite (goyawifi)

To day, in my Google Developer Console -> Crash & ARn, I receive a crash response below java.lang.IllegalArgumentException: Invalid int: "D1%" at android.os.Parcel.readException(Parcel.java:1429) at…
ninja
  • 48
  • 1
  • 5
0
votes
2 answers

How to jump for the present intent to another intent after a given period of time?

I am using an andengine .My idea is to display a intro screen and the after 2 seconds jumps to the main activity. As of yet I can display the intro screen , I want it to wait for 2 to 3 seconds and then jump to another intent . here is my code…
0
votes
3 answers

Andengine VS Unity

I am new to Game Development. I have java background and want to develop an android game as final assignment for android course. (I don't have much time to develop) I search around and see AndEngine is a good engine for android game development. But…
0
votes
1 answer

Trying to run my first Andengine app on device

I tried Little Child's suggestion, but got "Unfortunately V3 has stopped" on the physical device. Here's some of my code: package org.andengine.ui.activity; import…
0
votes
0 answers

How to implement Ads In AndEngine

I am trying to display an advertisement using startApp in AndEngine. like this, @Override protected void onSetContentView() { StartAppAd.init(this, "apiID", "appID"); RelativeLayout relativeLayout = new RelativeLayout(this); …
user3844944
0
votes
1 answer

TouchEvents in andengine HUD on multiple areas

I have an andengine scene set up with a HUD. The HUD has 2 touch areas (rectangles). The onAreaTouched() works for both of them individually but when the left touch area is being touched the one on the right does not respond to touches and vice…
Uwais A
  • 737
  • 6
  • 23