gaelbeltran Posted December 7, 2013 Share Posted December 7, 2013 I'm using this method to make the game fit the screen on the create() method:game.stage.ScaleMode = Phaser.StageScaleMode.EXACT_FIT;game.stage.scale.setExactFit();game.stage.scale.refresh(); But how can I make the screen resize when the browser resizes? I can make it work by putting this code on the update() method but is there a more efficient way to do this than making that code fire every frame? Link to comment Share on other sites More sharing options...
Recommended Posts