Tagged Questions
6
votes
3answers
1k 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 ...
4
votes
3answers
343 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 ...
3
votes
2answers
950 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
1answer
239 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 ...
2
votes
1answer
98 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 ...
2
votes
2answers
294 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
637 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 ...
1
vote
1answer
334 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 ...
1
vote
2answers
726 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
1answer
40 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 ...
1
vote
1answer
501 views
Ground gravity for 2d game Android
I am using AndEngine to create a 2d Game for Android platform using ecliplse java.
I have learned how to use Tiled to create tiled maps. The only problem i am having is that i dont know how to place ...
1
vote
1answer
15 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
389 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
187 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
137 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?