dryzhkov

Phaser scaling question

Recommended Posts

Im trying to scale my game so that it fits the whole screen, I don't care about images being stretched at this point, so I'm using the EXACT_FIT scale mode in phaser, which is supposed to scale it so that it fills the whole screen. Its working for the most part, except that only the top and the left side of the screen have little white bars. I've attached a screen shot but it might be hard to see since the background of the post is white. I know my game is scaling all the way because my bg color is set to green and not white, so I think it might be the background of the web browser that the game is running in? I'm using cocoonjs to make the apk that I'm running. Any suggestions on how to get those two little white bars to go away?

 

 

test.png

Share this post


Link to post
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...

  • Recently Browsing   0 members

    No registered users viewing this page.