Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to game development and AndEngine. I have small query about racing game. I am going to develop a bike racing game. For bike racing game we will move the background or the player. I am tried with andengine autoparallax background. But I didn't got the correct answer.

I need to do a background like these screenshots in SpeedMoto.

Can anyone help me to set the background.

share|improve this question
So what's the question exactly? – doppelgreener Nov 10 '12 at 10:14
I guess a common approach on such a game would be move only the background while your player stay at the center of the screen. – nathan Nov 10 '12 at 10:42
my question is how to move the background simultaneously – Nathiya Nov 10 '12 at 11:44
up vote 1 down vote accepted

You can set the camera to chase the Sprite object which is, in your case, the car.


note that you will need to bigger background or zoom the camera.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.