Jump to content

mobile rotate render screen indirect


m2jalali
 Share

Recommended Posts

Hi
i am using phaser 2.0.7,
and my boot.js file include bellow code
this.input.maxPointers = 1;
this.stage.disableVisibilityChange = false;
this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
this.scale.minWidth = 270;
this.scale.minHeight = 480;
this.scale.pageAlignHorizontally = true;
this.scale.pageAlignVertically = true;
this.stage.forcePortrait = true;
this.scale.setScreenSize(true);
this.scale.refresh();
my problem when occur : mobile device rotate and start button . my stage render indirect . a part of game out of screen load.

please see this pictures

incorrect
54gbch.png
correct
 27wvzx3.png
How can i resolve it?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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