[mobile]Problems with screen resolutions

0 favourites
  • 6 posts
From the Asset Store
Adjusting the game screen for different resolutions (Letterbox scale)
  • Hi guys, i having problems with construct 2 and mobile resolutions, i already read the post about this topic and then i created this simple background to test on wich device it work.

    In project properties i setted letter box scale and scale outer both work well on iphone5 and note 2 but on tablets and lower resolutions, both, fit the width but not the height.

    Like this:

    480x800 (u can't see it but there is a white bar in the bottom)

    <img src="http://i43.tinypic.com/rmmhwg.jpg" border="0" />

    my note 2, where it work well:

    <img src="http://i43.tinypic.com/sdg30g.jpg" border="0" />

    anyway i always get these messages:

    <img src="http://i44.tinypic.com/14uj5s6.jpg" border="0" />

    <img src="http://i39.tinypic.com/2yowl1w.jpg" border="0" />

    anyone can help me?

    thanks a lot.

  • what's your background size?

    You should do a huge background (username Arima's suggestion)

  • But i need to show it entirely. There is no other way?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • v00d0 how do you mean entirely? Stretch? Or do you want to crop off the edges and make sure it fills the height?

  • I believe he means stretch.

    Scale outer only works for a small number of games. Other games that need an exact fit don't work well with scale outer, and I hope there is some sort of solution or way to make letterbox scale work in the future.

  • I found a work-around to fix this problem.

    For smartphone: using scale outer and stretching background a little out of layout size (4% top and 4% bottom), it works well from 400x800 to note 2 resolution and iphone 5.

    For tablets: stretch only the bottom (8%), always scale outer.

    If you wanna test it and give me some feedbacks on other resolutions you can use this url in CocoonJs launcher:

    stefanocerelli.com/pier.zip

    this version is for smartphones.

    Thanks everybody.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)