0
\$\begingroup\$

Is it safe to assume that most mobile phones and tablets today have moved to 1280x720 resolution and above and make the games in that resolution, scale down for smaller screens or is a smaller resolution like the often used 800x480 still the recommended way to do it and scale it up for larger devices?

\$\endgroup\$
1
  • \$\begingroup\$ You can see the distribution of screen sizes and densities on Android devices here. \$\endgroup\$
    – Alex
    Commented Jun 5, 2015 at 9:47

1 Answer 1

0
\$\begingroup\$

You can make a script at the start of your game to get the Screen.Width, and Screen.Height, and then set your camera's scale to the same scale the user is having. You can never assume anything, maybe most mobile phones have moved to 1280x720, or 1280x800, but what about tablets? They're android devices as well, and they should be able to run your games without having some blue borders on the side because the camera can't scale.

\$\endgroup\$
1
  • \$\begingroup\$ And what about the textures for different resolutions? Do I store many of them with differing resolutions? My only concern is size of the app. I'm using libGDX and can't find a way to load a scaled version of a higher resolution texture for a low res screen :/ \$\endgroup\$ Commented Jun 5, 2015 at 13:39

Not the answer you're looking for? Browse other questions tagged .