hdouss Posted June 6, 2016 Share Posted June 6, 2016 I am trying to scale my game like this: this.scale.scaleMode = Phaser.ScaleManager.EXACT_FIT; this.scale.pageAlignHorizontally = true; this.scale.pageAlignVertically = true; this.scale.forceOrientation(false, true); this.scale.updateLayout(true); this.scale.refresh(); My understanding of EXACT_FIT is that it stretches the game so it will fill the entire screen and (much probably) does not keep proportions. So, there is no chance that the game height will be larger than the screen height. When I try my game in the Intel XDK emulators, scaling works as expected in all the devices suggested in the emulator. But when I try to install the apk on my phone, or I try to debug (with Intel XDK) on my phone the game scales on width but keeps its original height which exceeds my screen height (this.scale.height has the same value as this.game.height). Link to comment Share on other sites More sharing options...
Recommended Posts