Le Twitch 4 Report post Posted June 19, 2014 i need some help understanding as to what ScaleManager and setScreenSize(true); do.this.game.scaleMode = Phaser.ScaleManager.SHOW_ALL;this.game.scale.setScreenSize(true); Quote Share this post Link to post Share on other sites
lewster32 616 Report post Posted June 19, 2014 The first line makes the game canvas scale up uniformly to fill as much of the container as it can. It will never causes the game to become 'stretched' in one direction or another, nor will it ever crop parts out. The second line simply tries to set the canvas to the size of the screen. 1 Le Twitch reacted to this Quote Share this post Link to post Share on other sites
Le Twitch 4 Report post Posted June 19, 2014 The first line makes the game canvas scale up uniformly to fill as much of the container as it can. It will never causes the game to become 'stretched' in one direction or another, nor will it ever crop parts out. The second line simply tries to set the canvas to the size of the screen. does this mean that you don't need both of those lines if the size of the game is the same size as the screen? Quote Share this post Link to post Share on other sites
lewster32 616 Report post Posted June 19, 2014 Yeah if you've already resized the game manually leave out the second line. Quote Share this post Link to post Share on other sites