App Scaling on Android: Full Screen doesn't work

RulezTeam

  • *
  • Posts: 319
Hi,

I've tested various scenes, background, and single images to test Full screen scale mode on Android.
My game screen is 320x480 and my images and backgrounds have a resolution of 1280x1920 and I've imported them at the highest scale (4x)
On settings/mobile I have set Android to Full screen and Maximum Scale to 4x.
I have tested this on two device with resolution of 720x1280 and 600x1024 but  I have the same screen problem: the image use scale 2x (that's ok)  but start at left top corner and not in center, so my app are totally orientated to the left of the screen.

If I use No scaling option, my images are correctly centered in the screen, but there are black stripes all around the app.

So, what can I do to use full screen scaling to work ?

Thank you

rob1221

  • *
  • Posts: 9473
Full screen requires a large scene that covers every device.  Centering is handled by adjusting the camera.

RulezTeam

  • *
  • Posts: 319
Hi rob1221,

excuse me, but I don't understand you answer.
Is my scene 320x480 too small ? Doesn't it scale for HD or Full HD screen ?
Or must I use block camera to center it (on first scene) and then my app are center on every device ?

Thank you

rob1221

  • *
  • Posts: 9473
Quote
Is my scene 320x480 too small ?
Yes.  Use another scaling mode.

RulezTeam

  • *
  • Posts: 319
Thank you rob1221,

but what about this two articles :

http://blog.stencyl.com/?p=1111
and
http://www.stencyl.com/help/view/mobile-app-scaling/

both says that every app (android too) MUST be created at 320x480 because Stencyl adapts application on every screen with its scaling mode and with our graphics import (4x).

Now, you tell me that I should use a big scene; can you explain what scaling mode should I use ?

Thank you for your support.

rob1221

  • *
  • Posts: 9473
That's referring to the screen resolution, not the scene size.  Full screen is the most difficult scaling mode to work with and works best with games that have large scrolling scenes.

RulezTeam

  • *
  • Posts: 319
Ok, I understand it. But you have no answering my question : what would be the 'best' scene size ?
Other little question: most game app, scaling to full screen independent of screen resolution without any stretch. What is the secret ?

rob1221

  • *
  • Posts: 9473
I'm not sure exactly what you want to do with your game, but maybe this tutorial will help you: http://www.youtube.com/watch?v=4I_HqB9-bis&list=PLkcZhcNsGmYq8xa9-4XP-gegXP6Om3Ilp