Bossman759 Posted August 2, 2014 Share Posted August 2, 2014 When I try to play my game on an ios device, the game gets cut off and you can not see the rest even if you move the screen. The game works fine on android and desktop. Here's the code I'm currently using... this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; this.scale.minWidth = 320; this.scale.minHeight = 480; if(screen.width <= 641){ this.scale.maxWidth = 320; this.scale.maxHeight = screen.height; }else{ this.scale.maxWidth = 750; this.scale.maxHeight = 600; } this.scale.pageAlignVertically = true; this.scale.pageAlignHorizontally = true; game.scale.refresh();I added the if statement for mobile devices(devices with width under 641px). Any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts