Jump to content

Game Scale Plugin


samme
 Share

Recommended Posts

  • 3 months later...
On 7/12/2018 at 11:28 PM, samme said:

I'll add to npm soon. You can still do 


npm install samme/phaser-plugin-game-scale

now though.

Hi,

I've used this plugin and helped me a lot for the web version of my game. 

Now I'm using it for facebook instant games version of my game, I thought it worked great as I only tested it on iphones, 5se and 6s, but now I'm testing it on a Galaxy Note 4 and it looks really zoomed in, the issue is both on width and height.

Do you have any solution for this?

Thank you in advance.

PS. iPhone and Desktop fb versions look great.

Link to comment
Share on other sites

13 hours ago, samme said:

Not sure. You'd have to examine the canvas's CSS styles.

I fixed it, if anyone else has this issue I solved it by using the parent plugin, with the following settings for the parent

        #phaser-app {
            max-height: 100%;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }

 

Link to comment
Share on other sites

  • samme changed the title to Game Scale Plugin

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...