Jump to content

Problems with Phaser.RESIZE and mobile devices


qazi
 Share

Recommended Posts

Hello,

 

Currently I am trying to use scaling mode Phaser.RESIZE. On desktop it seems to be working. However, I have a device with a resolution of 1280 x 720 and a device pixel ratio of 2. So then a logical resolution of 360 x 640.

 

My problem is that whenever I use the Resize scaling mode the game always ends up scaling to the logical resolution, instead of the full resolution. I end up with the game taking up one quadrant of the screen.

 

I have had success with usign Phaser.SHOW_ALL for mobile screens but I want to be able to dynamically switch from landscape and portrait with a fullscreen.

 

Help apprecianted!

Thank you

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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