samme

Game scale plugin

Recommended Posts

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.

Share this post


Link to post
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;
        }

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.