adjust game to tablet resolution

Get help using Construct 2

Post » Sat Mar 29, 2014 3:24 pm

How to adjust android game for bigger (tablet) resolutions ?

The game or the menu itself is never adjusted to bigger resoltuion, there is always empty space at the bottom of the screen.

Is there some way to center it?
Posts: 110
Reputation: 1,538

Post » Sat Mar 29, 2014 3:34 pm

I backup this question, as I was wondering the same thing. How to make it auto-adjust to so many different Android devices screen sizes and resolutions?
Posts: 20
Reputation: 567

Post » Sat Mar 29, 2014 4:48 pm

so there are questions about how you're porting it over. using crosswalk I assume for android? I've run into a similar problem. Normally Letterbox scale works great, but not when brought over to iOS/Android..

The (yes not ideal for all games) solution I have found is to use scale inner.. this fills up the screen vertically but it also pushes the game wider as well so you can potentially lose a significant amount of screen space. The worse case though is going from 16:9 ratio to iPad.. because you're going from widescreen to traditional 4:3.

look at this image.. ... mawide.png

the bottom row / middle image is a quick example of how much space would get cut off in that extreme case.. but if you're just going from subtle 16:9 to 16:10 or other similar but not identical ratios.. then you can just be sure that you move your game elements / UI in a little bit so less wide screens don't cut off things.

Also if you do scale inner, be sure you lock it to landscape.. because it will REALLY look bad in portrait if you don't.

Alternately if you're making a portrait oriented game you'd use scale outer which would do the same thing but fill to left to right and also have the same cropping problem if you're not careful..

really though the only devices you'd have any real issue with are screens like iPhone 4s and older and iPads. Even iPhones are not that bad.. they are not 4:3 which is what the iPad which is by far the worsts I've encountered..
Posts: 992
Reputation: 7,310

Return to How do I....?

Who is online

Users browsing this forum: anhduc3108, candyman201, fbarraza28 and 8 guests