0
votes
1answer
39 views

Player doesn't jumps in Box2D implementation [on hold]

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
1answer
39 views

Concurrent touches not being detected

I have pretty much the same controls on the race example of the engine. A AnalogOnScreenControl and a button defined by a Sprite. The problem is, when I'm using the analog directional, touching the ...
0
votes
2answers
158 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 ...
1
vote
1answer
221 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
237 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
221 views

Cost of changing scene in andengine

I'm working on a simple 2d puzzle with small textures (in count and quantity). Now after I finished the game logic I'm considering tow options to switch between levels: Remove all objects manually ...
1
vote
1answer
542 views

TextureRegions and TextureAtlases in AndEngine

This is my first android game, sorry if my code is bad, any advice will help. I am trying to find ways to improve performance on a game of mine, I'm using AndEngine GLES2. I have a basic question ...
2
votes
1answer
293 views

onSceneTouchEvent Triggering more than once on one click in Andengine

I am making a simple american football game, and I'm having an issue with the onSceneTouchEvent function, I have this code: public boolean onSceneTouchEvent(final Scene pScene, final TouchEvent ...
1
vote
1answer
937 views

setPosition of Sprite onUpdate in AndEngine

I am trying to get a "highlighter" circle to follow around a sprite, but I am having trouble, I thought I could use the onUpdate method that's available to me in SequenceEntityModifier but it's not ...
2
votes
1answer
126 views

How to manage my model

I have in my model, a list of Classes : Player, NonPlayerCharacter, Monster, Item, NonMovableItem etc With AndEngine I've a list of sprite for each piece of my model, How can I manage the ...
1
vote
1answer
660 views

AndEngine player, background and camera

I'm developing a 2D shooter using AndEngine. At the moment I'm trying to make the camera follow the player. As I've understood the common approach is to use the SmoothCamera zooming it and setting the ...
1
vote
2answers
500 views

How do I add AndEngine documentation in Eclipse?

I am very new to AndEngine. I have just downloaded the full documentation file, but I can't attach it to Eclipse. How can I do that?
0
votes
1answer
1k views

rotate sprite and shooting bullets from the end of a cannon [duplicate]

Possible Duplicate: How to Align Gun with Bullets Hi all i have a problem in my Andengine code, I need , when I touch the screen, shoot a bullet from the cannon (in the same direction of ...
3
votes
1answer
1k views

Andengine. Put bullet to pool, when it leaves screen

i'm creating a bullet with physics body. Bullet class (extends Sprite class) has die() method, which unregister physics connector, hide sprite and put it in pool public void die() { ...
2
votes
1answer
2k views

Best practice to use Sprites in a game using AndEngine GLES2

Currently I am having static reference to all my sprites and loading and initializing them in my OnCreateResource mthod of SimpleBaseGameActivity, But now I have to override onAreaTouched listener on ...
-3
votes
2answers
796 views

How to fire a bullet in a specific direction?

I am developing an Android game. I have problem with bullet firing. It's a space ship that has to fire bullets but right now it's firing in a random direction. I have to fire a bullet to the enemy ...
0
votes
1answer
366 views

Change density of the body dynamically

In my game, I want to change density of my body object when it collide with other objects. I found something like following to change density but further I could not able to find any hint for this. So ...
4
votes
3answers
532 views

Box2d Collision problem

I'm not good with words so here's a picture to describe my problem: In my game there is this big ball which the user can move on x-axis only. Now, if the ball is falling like the red one, it's ...
1
vote
1answer
556 views

AndeEngine Parallax / Sprite Depth?

What I'm attempting to do is create a game in which a space ship explores a large area of space. I'm randomly generating placement of planets, space stations etc. I want to use the ...
7
votes
2answers
3k views

How do I find the angle between two vectors?

I have 3 points on my screen: a = a point which is (c.x, 0) makes a line pointing straight up b = a user input touch, can be anywhere on the screen c = a moving object a _______.________ | ...
2
votes
2answers
617 views

Horizontal wrapping with AndEngine

How would one implement the effect of a sprite disappearing on one side of the screen and appearing on the other using AndEngine? Like in Kid Icarus, seen here at around 1:22.
2
votes
0answers
1k views

AndEngine Making Chase Camera Follow Player

I am playing around with the AndEngine Race Game example. I am trying to make the camera follow the car as the player moves around. The Tile Map is larger than the player's screen but the camera ...
4
votes
1answer
340 views

Clock hand, how much should I rotate the hand by every frame?

I've got a virtual clock. The clock consists of the actual clock sprite, and a hand to go over it. I'm able to set how long the clock duration is. Say I set it to: 5 seconds. While the clock time is ...
7
votes
3answers
2k views

Should I move the world or move the player?

I'm about to start developing a sidescrolling game where the players goal is to travel as far as he can in the horizontal axis before touching down. Note that I do not need to ever travel back on the ...
1
vote
2answers
2k views

How can I use an object pool for optimization in AndEngine?

I have read up on a tutorial that allows you to reuse sprites that are re-added to the scene such as bullets from a gun or any other objects using an ObjectPool. In my game i have a variation of ...
1
vote
2answers
769 views

Android Game, Blurring effect while moving camera

I have posted this issue on stackoverflow, but unfortunately nobody couldn't find solution, maybe someone here know this. I'm developing Side Scroll 2D Game, using AND ENGINE ...
1
vote
1answer
2k views

Andengine Traffic game: moving sprites along path on map

I'm developing simple traffic educational game like https://market.android.com/details?id=cz.allianz.krizovatky.android . When the player taps on car sprite, it started to move with other cars. If ...
2
votes
2answers
785 views

Ground for 2D AndEngine game with physics

I am using AndEngine to create a 2D Game for Android platform using Java and AndEngine. I have learned how to use Tiled editor to create tiled maps. The only problem I am having is that I don't know ...
1
vote
1answer
470 views

How do I calculate logical velocity / direction?

I have a simple jBox2D (Java) implementation of a world with couple of Circle bodies that at the begining are static. I want to make them movable when the user touches the circle. But I want them to ...