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.

http://postimg.org/image/jr51ww79t/

Is there some way to center it?
B
13
S
4
Posts: 105
Reputation: 1,503

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?
B
8
S
1
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.. http://www.rtings.com/images/black-bars ... 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..
B
59
S
9
G
1
Posts: 939
Reputation: 6,545


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 5 guests

cron