khalsa777 Posted March 23, 2016 Share Posted March 23, 2016 i was experimenting with tilemap import in phaser. i used game=new Phaser.Game(window.innerWidth,window.innerHeigth,Phaser.AUTO,''); in my main.js and following code to scale in init function: this.scale.scaleMode=Phaser.ScaleManager.SHOW_ALL; this.scale.pageAlignHorizontally = true; this.scale.pageAlignVertically = true; this.scale.setScreenSize(true); the game gets scaled and adjusts to various screen sized but there is a black area(as visible in screenshot) always underneath the tilemap which i imported. why is it there? Link to comment Share on other sites More sharing options...
Ytyse Posted August 30, 2016 Share Posted August 30, 2016 Have you fixed that ? Link to comment Share on other sites More sharing options...
Recommended Posts