[SOLVED] Stretching for android tablets.

0 favourites
  • 5 posts
From the Asset Store
Very cool 2D side scroller tile map, looks great on tablets and mobile games.
  • Been playing around with experimental apps,

    converted via cocoon js and deployed on android market

    and i have noticed they are fine on a phone, up to around 5"

    minitablets, however when you load it into a normal tablet

    it does not "stretch" or fill as on the phone, and i end up with

    a whitespace or bar on side from the the lack of background.

    Is there any way i can secure a correct fill of the background

    on any size view, even if some crazy person would load it into a 55"inch

    screen, now that android is coming to Tv's..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've not managed to actually get anything published to a testable APK on appmobi, but you can get the screen edges by using ViewportBottom,ViewportTop system variables to align things.

    The rest, like UI, backgrounds etc can then be scaled/repositioned to get a layout that fits into the various aspect ratios.

    My phone is 16:9 but ipods seem to be at 4:3 still.

  • ViewportBottom,ViewportTop system variables to align things.

    Thank you for this!

    I'ts mostly the border that annoys me.

    I've pulled the app since it was just for testing purposes.

    My fiance was sad one day so I've made an app that does nothing but

    show a screen with text and play some music saying "love Vera"

    That really cheered her up :D

    But noticed the same issue here as with the test app,

    with scaling on tablet not matching like it did on the phone..

    Love app link :p

    play.google.com/store/apps/details

  • supporting multiple screen sizes

    does this help?

  • supporting multiple screen sizes

    does this help?

    Nice of you,

    Thank you..

    had to remove the last part of the url for the link to work..

    but i got it.

    construct.net/en

    Thumbs up!   <img src="smileys/smiley32.gif" border="0" align="middle">

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