Questions tagged [andengine]

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

andengine
Filter by
Sorted by
Tagged with
-1 votes
1 answer
182 views

solve null pointer exception at 'org.andengine.opengl.texture.ITexture org.andengine.opengl.texture.region.ITextureRegion.getTexture()' [duplicate]

java.lang.NullPointerException: Attempt to invoke interface method 'org.andengine.opengl.texture.ITexture org.andengine.opengl.texture.region.ITextureRegion.getTexture()' on a null object reference ...
Malashree Halade's user avatar
0 votes
2 answers
286 views

Looking for Andengine 64bit version

Google developer console requests my Andengine based Android game to be uploaded in both 32bit and 64bit versions. see here: Get your apps ready for the 64-bit requirement So i am looking for a ...
Daniel's user avatar
  • 13
8 votes
2 answers
819 views

64Bit Version for AndEngine

I have to provide a 64 Bit Version of my Android Game which is using AndEngine in Google Play Store. The offical github repo of AndEngine doesn´t provide a 64 bit version of the library. Does anyone ...
Jonny Right's user avatar
4 votes
1 answer
263 views

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 (...
mg2647's user avatar
  • 43
0 votes
0 answers
23 views

How to move Sprite randomly on scene in AndEngine for example like mosquito movement

I'm developing an AndEngine game in which I want to move the Sprite randomly on scene like mosquito movement. Its a simple sprite and not a physics body.
deepaksk's user avatar
1 vote
0 answers
71 views

AndEngine - Play video in background

I am working on simple application which is based on animation and video. I am using andEngine to build the game app. I am able to manage animations and music in my app but I don't know how I can play ...
MKP's user avatar
  • 141
1 vote
1 answer
41 views

AndEngine duration between animation

I am developing a simple game which is totally based on animation. For this app, I am using AndEngine SDK. I am totally new in developing games in Android. I googled it lot, but all articles are so ...
MKP's user avatar
  • 141
0 votes
1 answer
127 views

How can I implement "time compression" in box2d physics engine?

I am implementing a game in Andengine using physics. The physics looks quite real, but the game feels slow and boring. Is there any way to change the physics engine timing in case I want to implement ...
Chemari's user avatar
  • 43
0 votes
0 answers
51 views

TimerHandler's onTimePassed not been called

I am new to andEngine and trying to create a simple game using it, but got stuck at initial stage. I am trying to create splash screen with simple animation using andEngine's TimerHandler, but seems ...
Joe Doe's user avatar
  • 13
7 votes
1 answer
24k views

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-...
Roman Soviak's user avatar
1 vote
0 answers
56 views

How to change an animated sprite to a TMX layer by using andengine gles1

I'm very new in Android and game programming. I want to make a labyrinth game with the [Dijkstra algorithm].I want to create an AnimatedSprite that moved by DigitanOnScreenControl on TMX Map. But ...
Noviwidi's user avatar
0 votes
1 answer
50 views

There is a UnsatisfiedLinkError when app run with PhysicsWorld on box2d in android stduio

When I am running the code like this PhysicsWorld physicsWorld = new PhysicsWorld(new Vector2(0,0),true); the android sdk gives this error enter image description here I added andengine, box2d ...
umuryasinalper's user avatar
0 votes
2 answers
64 views

Can't find the error exactly what or where it is in Logcat in Eclipse?

I'm developing 2d games on Andengine for Android platforms. I'm getting an error but Eclipse doesn't show where or what it is. Can you help me to find it or how can I track the error? You can see the ...
immyth's user avatar
  • 11
1 vote
1 answer
148 views

Where to put images for AndEngine in Android Studio

It's normally in the drawable folder but when I put them there, I get a FileNotFoundException. Shouldn't the AssetBasePath be like "drawable/" and then texture region "ire.png", right? Please mind me ...
Hesham Haikal's user avatar
4 votes
2 answers
7k views

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 ...
giang.asl.8's user avatar
0 votes
1 answer
58 views

AndEngine can not shows sprite

In Android Studio, I'm trying to create a sprite with AndEngine, but it failed to display the sprite, it only shows a black screen. I'v searched and tried different methods for hours. Here is the ...
jdleung's user avatar
  • 1,098
0 votes
1 answer
90 views

How to make a scrollable view in AndEngine

Recently, I've built a simple game with AndEngine but I have no clue to how to make a level selector(scrollable view). I want a scrollable view to show three types of game difficulty such as "easy,...
Jennifer's user avatar
  • 1,842
0 votes
2 answers
136 views

AndEngine Error with PhysicsWorld

i am new with java and andengine and try to make the released jumper game to learn how it works. all fine now but if i try to load the PhysicsWorld i will get as follow errors: E/AndroidRuntime: ...
Enturion's user avatar
0 votes
0 answers
37 views

AndEngine physicsWorld crash the game

how the title says, if i try to use physicsWorld the game will close when he read it. i use GLES_2 AnchorCenter and the codes looks as follow: @Override public void createScene() { ...
Enturion's user avatar
2 votes
2 answers
89 views

AndEngine shows black screen with no errors

I am creating a game with AndEngine GLES2. I am trying to load an image in the activity. But everytime I run the app it just shows little black square with no errors. Below is my code : import org....
Neel Patel's user avatar
1 vote
1 answer
833 views

TMXLoader error when using Android Studio with AndEngineTMXTileExtension

I am trying to create a tower defense like game. I have created a tiled isometric map with Tiled Map Editor and have saved it is the assets folder in android studio. I am currently using andengine to ...
Neel Patel's user avatar
0 votes
1 answer
1k views

Andengine Banner Admob Black Screen

I'm trying to add ads to a simple app, but when the app is running, the screen of the phone is black. I've tried almost all the solutions I've done in Google, but it did not. Is there anyone that can ...
user3233571's user avatar
0 votes
1 answer
52 views

AndEngine load TiledTextureRegion from external storage or Bitmap source

I am trying to dynamically create a sprite sheet in AndEngine, but I have searched high and low and for some reason can't find any instance of this ever being done. I need to create an AnimatedSprite ...
DroidStunter's user avatar
1 vote
0 answers
663 views

couldn't find "libandenginephysicsbox2dextension.so"

I am making simple android app using andengine and box2d extention. Unfortunately, I got this message: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/...
백승진's user avatar
2 votes
2 answers
1k views

java.lang.UnsatisfiedLinkError when running android application

I am using Android Studio, making simple application. I wanted to use Andengine and Andengine box2d extension library, so I copied jar file into Project/apps/libs/ and did File-Project Structure-app-...
백승진's user avatar
1 vote
0 answers
267 views

Are distorted graphics caused by AndEngine/GL + Android Nougat, or a bug in the AVD?

I'm getting some buggy graphics behaviour when I run my AndEngine-based app on AVDs with the Android 7.0 (Nougat) image in Android Studio 2.2.2. The result is normal when I use Android 6 (link), but ...
Rebel42's user avatar
  • 41
2 votes
0 answers
49 views

andEngine sound issues

i am making a musical piano in andEngine and in my code i created two rectangles images and on putting fingers on that they play sound and i used scene.setOnAreaTouch() in my code and within it i had ...
Rini's user avatar
  • 33
8 votes
1 answer
177 views

AndEngine RenderTexture Exception: GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

I have developed an Android game which is played by many people. One user out of 100-200 faces an Exception that I cannot make any sense of. I use a RenderTexture which throws the following Exception ...
sjkm's user avatar
  • 3,908
1 vote
0 answers
44 views

How to Set the text for an iMenuItem (in code) using Android Studio?

Please help, I am trying to set the text of a IMenuItem, this is my code: cantidadUnoItem = new ScaleMenuItemDecorator(new TextMenuItem(7, resourcesManager.cantidadUnoFont, cantUno , vbom), 1.2f, 1); ...
Luis's user avatar
  • 11
1 vote
0 answers
224 views

Check that wifi direct is connected

I need to check my phone is connected to wifi direct another phone to play, it is developed on the framework of andengine. protected Boolean conectadoWifi(){ WifiP2pManager connectivity=(...
Roberth Loaiza Rosas's user avatar
1 vote
1 answer
52 views

I need to make a box in andengine

protected void texto() { activity.runOnUiThread(new Runnable() { public void run() { final EditText input = new EditText(activity); String value = input.getText()....
Roberth Loaiza Rosas's user avatar
2 votes
1 answer
138 views

Trouble loading bitmap texture atlas on screen

I'm using AndEngine GLES2, and I tried to load an image on my phone but what I got was a black screen Here are my code below: public class BaseActivity extends SimpleBaseGameActivity { static final ...
Man Hay Hong's user avatar
1 vote
1 answer
236 views

AndEngine: How do I change the color of a texture BEFORE it is part of an Entity

Using a class called LayeredAssetsBitmapTextureAtlasSource (which you can look at here:http://pastebin.com/vgfT1U5j) I am currently stacking multiple png images comprised of character pieces into one ...
Noneya Biznazz's user avatar
-4 votes
1 answer
231 views

How to add game like animation in app

I am working on educational app.It allows to take test, review answers, generate mark sheet etc. Now i wanna add one more module. Just like chemistry practicals. That is user will add input for two ...
Meenaxi's user avatar
  • 567
1 vote
1 answer
28 views

Andengine - detect collisions with multiple objects and delete them - Java

Currently I am checking for collisions with the following updateHandler. But it does not work properly. This is maybe due to the multiple objects I have in the platformMap List. public void ...
ninjaxelite's user avatar
  • 1,168
0 votes
1 answer
125 views

Playing a video inside a game application

Currently I am learning about games in android using andengine, the problem concern playing a video at my game and continue my application. I search about it, most examples propose using VideoView or ...
Math's user avatar
  • 1
0 votes
0 answers
28 views

(0,0) in AndEngine is not correct

i'm using AndEngine framwork for test but i draw my sprite in (0,0) but it draw in bottom right :| why? this is my code: @Override public EngineOptions onCreateEngineOptions() { camera = new ...
Mahdi.Zolqadr's user avatar
0 votes
1 answer
304 views

AndEngine/Box2d/Java - collision detection between static and dynamic body

I am checking with .collidesWith if two sprites with different body types are colliding. With the code below collisions with dynamic and static body are not detected. I would also like to delete the ...
ninjaxelite's user avatar
  • 1,168
1 vote
0 answers
40 views

AndEngine GLES 1 SpritedDisappearing when attaching to another sprite

I am using AndEngine GLES1. I have created 2 sprites one is called sphere and the other is called user_sphere. In the beginning, both are simply attached to the scene. When a certain condition ...
user3704686's user avatar
0 votes
1 answer
16 views

Andengine texture have strange lines after pressing home and then resuming

I have got very strange error in andengine. My sprites and background are all displayed correctly, but when i minimise the game using Home button, and then resume the texture seems to be corrupted, ...
Ankit developer's user avatar
2 votes
1 answer
190 views

Unable to show interstitial ads with admob in andengine

I have been trying to show interstitials in my andengine developed game but unable to. I have successfully integrated banner ads though. I prefer using coding for layout. Below are my GameActivity....
Ankit developer's user avatar
0 votes
1 answer
57 views

Unable to display Admobs banner ad in Game developed with AndEngine

I've made a game and integrated the admobs ads code, however, I get the following error posted below. E/AndroidRuntime(12583): FATAL EXCEPTION: main E/AndroidRuntime(12583): Process: ninja....
Jennifer's user avatar
  • 1,842
0 votes
2 answers
302 views

android studio 2.1 issue with NDK

I am trying to use AndEngine with Android Studio 2.1 and I am running issues specifically with the NDK stuff. The version of AndEngine I am trying to use is the GLES2-AnchorCenter for reference. I ...
Ryan Cori's user avatar
  • 460
1 vote
1 answer
2k views

how to escape white space in Android Studio link to SDK/NDK

I recently am taking development in Android using Android Studio 1.5.1 (AS) and I'm really beginner in this area. My last project is about Game app using AndEngine. Before this, I faced several ...
Muhamad Iqbal's user avatar
-1 votes
1 answer
101 views

How to Detect Collide with Random Generated Sprite AndEngine?

First sorry for my bad english... The Scenario: I have load 3 kind of sprite 1. Player 2. Obstacle (Generate Random X Coordinate) 3. Rectangle (Obstacle child) I've created auto generate obstacle ...
Waltruger Wander's user avatar
1 vote
1 answer
2k views

Error while making signed apk after enabling the Proguard in Android Studio

Error while making signed apk after enabling the Proguard in Android Studio. Warning:org.andengine.engine.camera.hud.controls.AnalogOnScreenControl: can't find referenced method 'float cos(float)...
Aman Shekhar's user avatar
  • 2,730
0 votes
1 answer
435 views

AndEngine setup with android Error

Since night, i am trying to setup andEngine with android studio, I downloaded andEngine from GITHub https://github.com/nicolasgramlich/AndEngine GLES- Anchor Center.. I installed NDK from SDK ...
Amul Bhatia's user avatar
0 votes
1 answer
40 views

Unable to call a method when HW menu button is clicked

I just started to develop a game with andEngine and now having trouble with the hardware Menu button in android device. What I want to do is to call a method "showMenu()" to show a custom menu scene ...
Jennifer's user avatar
  • 1,842
0 votes
1 answer
131 views

Unable to make AndEngine game to Full-Screen

I just started to learn AndEngine and find myself having trouble will full-Screen. I've set the basic setup so that the app will run with full screen , however, only the black navigation bar below ...
Jennifer's user avatar
  • 1,842
1 vote
1 answer
90 views

(AndEngine Multiplayer) Client Get data From Server when connected to a server

Hi I`m Working On MultyPlayerGame By Using AndEngine Multiplayer Extention And I Need Client Get Some Data From Server When They Connect To a Server Now How Can I Get Some Data From Server ? I need ...
Criss's user avatar
  • 775

1
2 3 4 5
45