Jump to content

Phaser forcing game world to resize upon leaving fullscreen mode


Recommended Posts

I have a game where the game world is way bigger than the screen size, so that I can scroll the camera. It works fine except when adding the fullscreen functionality: Upon leaving fullscreen mode it seems that Phaser forces a resize on the game world making it match the screen size.


I tracked it to this function: ScaleManager.prepScreenMode() ->


line 1909:

  // Always reset to game size
            this.updateDimensions(this._gameSize.width, this._gameSize.height, true);


Is it supposed to behave like this?


Thanks for your time,

Link to comment
Share on other sites


  • Recently Browsing   0 members

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