EliasJorgensen Posted August 6, 2015 Share Posted August 6, 2015 Hey guysI just switched from Phaser 2.0.1 to 2.4.2, but now the code i used to scale my game is not working anymore.This is the code i used in 2.0.1 in my scripts create() function: this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;this.scale.pageAlignHorizontally = true;this.scale.pageAlignVertically = true;this.scale.setScreenSize( true );How do i scale my game in 2.4.2?Thanks Link to comment Share on other sites More sharing options...
Pooya72 Posted August 6, 2015 Share Posted August 6, 2015 removed post by OP Link to comment Share on other sites More sharing options...
end3r Posted August 7, 2015 Share Posted August 7, 2015 Didn't you get any errors in the console?Removing the last line (setScreenSize) should help. Link to comment Share on other sites More sharing options...
Recommended Posts