triqui Posted September 13, 2014 Share Posted September 13, 2014 Hello,as said in the topic, there's no way to make scaleMode work again this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; simply does not work. If I log console.log(GameName.game.scale.scaleMode) it displays "2" correctly but the game is not scaled in any way. This worked with versions previous than 2 Do you have any clue? These too, do not work anymore this.scale.pageAlignHorizontally = true;this.scale.pageAlignVertically = true;this.scale.setScreenSize(); Link to comment Share on other sites More sharing options...
triqui Posted September 13, 2014 Author Share Posted September 13, 2014 edit: it works as soon as I resize the screen, but not at once when the game is loaded Link to comment Share on other sites More sharing options...
triqui Posted September 13, 2014 Author Share Posted September 13, 2014 ok, solved, had to write this.scale.setScreenSize(true); Link to comment Share on other sites More sharing options...
rich Posted September 14, 2014 Share Posted September 14, 2014 Yes the setScreenSize call has been needed for a while now, the only exception is if you use the new RESIZE scale mode. There is a project template specifically showing how to use that one. Link to comment Share on other sites More sharing options...
Recommended Posts