[Phaser-ce] white band in fullscreen mode

Recommended Posts

Hello all.

I have a problem with Chrome on Android.

When I switch to a fullscreen I can get different results:

First one (all is ok):



The Second one (a white band at the bottom):



The third one when I leave fullscreen mode (white band at the top):



I use the following code:

this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
this.scale.fullScreenScaleMode = Phaser.ScaleManager.SHOW_ALL;
this.scale.pageAlignHorizontally = true;
this.scale.pageAlignVertically = true;
this.scale.forceOrientation(true, false);
this.scale.enterIncorrectOrientation.add(this.enterIncorrectOrientation, this);
this.scale.leaveIncorrectOrientation.add(this.leaveIncorrectOrientation, this);


I get such results only in Chrome on Android.

Does anybody know why this occurs and how to solve the problem?

Any tips would be appreciated!

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.