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.

  • 1
    \$\begingroup\$ So what's the question exactly? \$\endgroup\$ – doppelgreener Nov 10 '12 at 10:14
  • \$\begingroup\$ 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. \$\endgroup\$ – nathan Nov 10 '12 at 10:42
  • \$\begingroup\$ my question is how to move the background simultaneously \$\endgroup\$ – Nathiya Nov 10 '12 at 11:44

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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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