1
vote
1answer
42 views

Alert Dialog Box font color in AndEngine

I am developing an app using AndEngine and I am using my own custom theme to use white background theme. My styles.xml file looks like this: <resources> <color ...
0
votes
1answer
46 views

Box2d linear velocity unit in AndEngine

I’m using AndEngine with Box2d for a game with many moving objects. I’m developing in iOS Sprite Kit simultaneously . in iOS Sprite Kit , I use, physicsBody.velocity The physics body’s ...
1
vote
1answer
55 views

Gradually reduce speed

Basically I am working on following application of android version Party Games: Drinking Wheel For this I want to rotate wheel and want to stop wheel at specific point. But I want this with gradually ...
1
vote
1answer
54 views

How to execute a piece of code for X seconds in Andengine?

I need to execute some code in my game for 5 seconds using the Andengine framework. So far, I've tried with the onTimePassed update handler: scene.registerUpdateHandler(new TimerHandler(5f, true,new ...
0
votes
1answer
138 views

AndEngine - Performance problems with many entities

I'm developing a rolling scene based game I'm loading all the entities from a XML file and create them in the Loading Scene recently I increase the game width , and by doing so , in the whole level I ...
0
votes
0answers
30 views

AndEngine: image partially disappear on finger move

I am new to andengine and I want to create an app like that: I have 2 images one on other now what I want is if I move my finger on upper image It should partially disappear only from the position ...
0
votes
0answers
58 views

sprite reset method not working in update thread(andengine)

I have sprite array with length of 8 and I am trying to reset sprites position in scene's update thread but it doesn't work. However I tried to reset sprites in sprites modifier listner which works. I ...
-1
votes
1answer
78 views

Combine Two Shader Program [closed]

For my android application, I want to apply brightness and contrast shader on same image. At present I am using gpuimage plugin. In that I found two separate program for brightness and contrast as ...
0
votes
0answers
47 views

setChaseEntity freezes or jitters the AnimatedSprite

I'm trying to implement setChaseEntity method in a physics based app. I wrote the below code which has an animated sprite ans as the player. The player is movable and it can jump. When i try to focus ...
0
votes
1answer
86 views

Player doesn't jumps in Box2D implementation [closed]

Well, i'm trying to learn andEngine. I was able to successfully implement the move functionality for the player. Now, i'm trying to make the player jump using Box2D. I referred few online tutorials to ...
0
votes
0answers
49 views

Andengine how to change the onscreen control directions?

I am creating a game using andengine. I am using digital onscreen control to move a ball (sprite) in maze. I am able to move the ball but now I want the movement such that if I move the joystick knob ...
0
votes
0answers
39 views

Broken screen when running empty AndEngine project using LimitedFPSEngine

I am new to AndEngine and I am following the steps in this tutorial: http://android.kul.is/2013/10/android-game-development-tutorial-part-3.html. In summary, it is a simple getting-started project ...
0
votes
1answer
168 views

Android AndEngine creating a body behind the sprite exactly

I am using AndEngine for Android. I created a body, but it is not behind the sprite as I wanted. Body.setTransform(Sprite.getX()/32, Sprite.getY()/32, 0); This is ...
0
votes
0answers
36 views

Register Modifier to Parent Entity

As far as I know, with Andengine if you register a modifier to a parent, all the children will also be affected by the modifier. If I am wrong please let me know. I'm currently working on a game and I ...
0
votes
0answers
253 views

Andengine Rotate Wheel with fast acceleration

I have a Wheel sprite and i am rotating it using Physics RevoluteJointDef. Its rotating. But problem is how i can make wheel to start moving fast. It took the speed after sometime like real. // ...
0
votes
0answers
199 views

Spin wheel with gesture in Andengine

I want to implement Fortune wheel in Andengine. The wheel would start spinning based on the speed of a finger fling. Then it would stop slowly like real Fortune wheel. What I am able to do now is to ...
0
votes
1answer
327 views

How do I implement swipe-to-throw in Andengine?

I have a ball sprite and I apply physics to it when the user swipes on it. I'd like the ball to start moving in the direction of the swipe, similarly to how Paper Toss works. How can I do this?
0
votes
0answers
85 views

How can I know when a scene is fully-created in Andengine?

I am using a scene manager like this. How can I know if a scene is fully created and visible on the screen, as it seems that the GameScene listens for touch events while the loading scene is still ...
0
votes
2answers
371 views

AndEngine - Smooth scaling on a sprite

I'm trying to implement a pinch zoom on a sprite. I would like to get an effect like the SmoothCamera, but on a single sprite. I've managed to pinch zoom on the sprite by changing its scale, but the ...
0
votes
0answers
92 views

DigitalOnScreenControl not showing on screen using AndEngine Anchor Center

i'm following tutorials and i wanted to add a knob controller on the screen, but it's not showing up, can you help me please? This is the createControls() method in GameScene: private void ...
1
vote
1answer
368 views

AndEngine Font Issue

I am learning AndEngine. I am displaying Hello world using this code: public class myactivity extends SimpleBaseGameActivity { private final int CAMERA_WIDTH = 320; private final int CAMERA_HEIGHT ...
1
vote
1answer
339 views

Pipe connection game algorithm - Java/Andengine

I am creating a game based on Pipe Dream/Pipe Mania using java/andengine for android. I have a square grid of tiles each representing a type of pipe. The player needs to swap tiles to connect the ...
1
vote
1answer
330 views

How should I generate the board for a match-3-style game?

I am trying to create a "match 3" game. I'm stuck figuring out a good algorithm to fill up the game board. My game's board is 8x8. EDIT: A few things: The board should always be solvable. for ...
1
vote
1answer
277 views

Max Row and Col for Animating Sprite in Andengine

I want to animate a Sprite in Andengine , I have used the following this.mSnapdragonTextureRegion = BitmapTextureAtlasTextureRegionFactory.createTiledFromAsset(this.mBitmapTextureAtlas, ...
1
vote
1answer
192 views

How to move a Entity without moving its children in AndEngine?

I have a Entity in AndEngine and when I move it, all child move together with it. Which is great. But, sometimes, I need to move it without moving its children. Is it even possible? And, if it is, how ...
0
votes
1answer
91 views

Physics don't apply on a unique body AndEngine

I am developing a game in AndEngine. So far I managed to create everything I wanted for my sprite that was connected to a BoxBody. I was rotating it, moving it, everything was great. I wanted my ...
0
votes
1answer
485 views

AndEngine: Painting on a canvas rather than composing image from objects

I'm trying to implement drawing a line with a finger, similar to a Pencil tool in image editors. From what I've found on AndEngine, it seems like the recommended approach would be to create a line ...
3
votes
3answers
904 views

How to make Box2D bodies automatically return to a initial rotation

I have two long Box2D bodies, that can collide while moving one of them around with MouseJoint. I want them to try to hold their position and rotation. Blue body is moved using MouseJoint (yellow) ...
1
vote
2answers
382 views

How do I make a Box2D object that makes objects passing through it slower?

I wish to have a sort of "slow motion" or "slow down" effect on a players character when they walk in a mud area, usually the character velocity is 3f constant in any one direction. The problem is I ...
0
votes
1answer
520 views

Drawing Text on a scene

I am not sure if I am missing something but I was thinking about how text entities are drawn on a scene, are they drawn with an offset depending on the length of the text? I notice that when I add a ...
0
votes
1answer
215 views

Getting body position

I am using BodyA.getPosition().x and BodyA.getPosition().y to get the x and y vector of a body location so i may attach some text above its head, but the log of that position prints out something like ...
2
votes
1answer
646 views

AndEngine Scoreloop - java.lang.IllegalStateException: you are not calling from the main thread context

I am a very novice android developer but also created a game using andEngine successfully. Now I want to integrate Scoreloop and everything is fine with Leaderboard view and TOS view, except I am ...
0
votes
1answer
134 views

Version number not supported by gl2 in andengine

I am new to andengine. From various forums, i got to know that my system should support hardware virtulisation. I have installed "Intel X86" and my system didn't throw any problem regarding "HAX" now. ...
0
votes
0answers
602 views

ANDEngine : 3d rotation in Particle System

Im using ANDEngine and wants to create confetti particle system. But im unable to make flipping and rotation of confetti particle around z-axis Since andengine is 2d engine, it doesnot support that. ...
1
vote
1answer
711 views

Button - change texture after click

I need to make a button with texture. After button is pressed I want to change texture of button permanently. For example on/of sound button. I tried this but it changes image only while I hold ...
2
votes
1answer
967 views

How do I pause Andengine, but still get input?

In my game when I pause the game, I'd like to display three options (Resume, Restart and Menu) so I did this after calling mEngine.stop(): Sprite resume = new Sprite(CAMERA_WIDTH/2, CAMERA_HEIGHT/2, ...
-1
votes
2answers
171 views

ParallaxBackground doesn't work well with sprite scaled

I'm trying to set a ParallaxBackground for my AndEngine's game. So I did this: Sprite montagne = new Sprite(0, 0, RM.montagneBackground, vertex); Sprite piante = new Sprite(0, 0, ...
0
votes
1answer
323 views

ParallaxBackground AndEngine

I'm new to game development andengine. I want to add ParallaxBackground but I don't know how to change background on player move. I'm using arrow for moving a player. Now my question is where I write ...
3
votes
2answers
340 views

Word Search Game Issue

I am developing a game like word search. I have used AndEngine for this and for displayig grid of words I have used TiledMap. In this game, we need to join letters to make a word as we drag our ...
2
votes
2answers
1k views

Reloading Resources on Resume

I'm having a problem with my game. If I press the "Home button" the game is paused... everythings fine, but if I then go back to the game all the resources are reloaded before I can continue the game. ...
-1
votes
1answer
597 views

Continuous increase in heap memory in Android game [closed]

For my Android AndEngine game, I used the scene based approach. Game contains more graphics so I need to load and unload those graphics multiple time so that game runs smoothly. But doing this, I ...
1
vote
2answers
784 views

“Non-additive” alpha blending in OpenGL ES 2.0, Android (AndEngine)

I have several monochromatic sprites and I render them with alpha = 0.25 (all of them the same value). I want to "paint" with them, so when they overlap, the alpha won't be added. I am not sure if I ...
2
votes
2answers
120 views

AndEngine: edit elasticity on action

I'm making a game for Android with AndEngine. It's going quite well, but now I'm stuck on something. My main character has a elasticity set in its fixturedef so it bounces around throughout the ...
2
votes
2answers
541 views

Logic For Puzzle Game - How do I do it?

What is the game all about? It's a puzzle game. I am using AndEngine to build it on Android platform (currently). I have divided the game into various World, with each World containing various ...
2
votes
1answer
1k views

Is it possible to design Android game(AndEngine) levels using XML? [duplicate]

I am developing a game. In the game there is a lot of levels. Is it possible to design game levels using XML? Or what are different ways to design game levels? Please help me. Give some link or ...
2
votes
1answer
2k views

AndEngine - Moving Rectangle using Accelerometer

I'm learning how to create games with this great engine and I'm trying to put my knowledge in order to create a simple game. My first goal is to make a Rectangle moving using accelerometer and create ...
2
votes
2answers
689 views

How can set vibration option with my game in android? [closed]

I am using AndEngine to develop an Android game and I want vibration to be triggered when an enemy hits a player. How can I implement this into my game?
-1
votes
3answers
704 views

How can I move an enemy towards a player in AndEngine? [closed]

I want to move all enemy towards player but i can't do this.Is there any way by which i c an perform this task?
4
votes
1answer
250 views

How can I change width of sprite Dynamically?

I want to change width of sprite dynamically but i can't perform it.!! Here i want to change only my white sprite i want to use these type of facility in my game in using AndEngine I want to display ...
-1
votes
1answer
146 views

How to Fix Some Portion of bound camera?

I want to add Progress bar with my game to display life of player but when i move down through DigitalOnScreen Control the black bar that i want to display is not displayed there. I want to display ...