Jump to content

Scale to fit browser screen issues


Recommended Posts

I am using these codes to scale my game to fit the Chrome browser screen on my computer. But It only works in OS X not on windows. On windows I have to use full screen mode to see all of my sprites. But on normal resolution OS X I can see all my sprites without using full screen mode. What is the correct solution?


this.game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
this.game.scale.pageAlignHorizontally = true;
this.game.scale.pageAlignVertically = true;


Link to comment
Share on other sites


  • Recently Browsing   0 members

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