Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm learning about AndEngine a little bit, I'm trying to follow a tutorial but I don't get to fill the background image correctly, so, it's just appear in one side of my screen. My device is a Galaxy Nexus (1270x768 I think...). The image is 800x480.

The code is:

public EngineOptions onCreateEngineOptions()
        camera = new Camera(0, 0, 800, 480);
        EngineOptions engineOptions = new EngineOptions(true, ScreenOrientation.LANDSCAPE_FIXED, new FillResolutionPolicy(), this.camera);
        return engineOptions;

I have been trying with several values in the camera, but it doesn't fill in all the screen, why?

share|improve this question
How do you place the background image? Is the image not just on one side, but also shifted up? Like in one corner? –  sm4 Jun 29 '13 at 14:06
You have to look into this link, we were discussion the same thing. gamedev.stackexchange.com/questions/50165/… –  Siddharth Jul 2 '13 at 17:15

Your Answer


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

Browse other questions tagged or ask your own question.