Jump to content

Scaling the game when device in certain orientation


Choeeey
 Share

Recommended Posts

Hi everyone,

 

I was playing about with scaling my game yesterdaye. I managed to get it to scale when the phone is portrait. However, when the device is tilted so that it is landscape the game should stretch a bit bigger in width but does not do so.

 

Does anyone have any scaling tips to help me to achieve this? :)

Link to comment
Share on other sites

What about your screen size and/or aspect ration?

This kind of problems seems more related to HTML/CSS form of the page, but I could misunderstand question.

 

Take a look mobile / responsive templates in Phaser, or take a look to screeen orientation in Android settings: http://developer.android.com/guide/topics/manifest/activity-element.html

 

Perhaps, it is not very clear for me which device/browsing you are using for tests.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...