not-superman Posted August 31, 2015 Share Posted August 31, 2015 How to stretch the game to full screen?Used "this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;", but still have a small otsup from the edge of the screen. The black part - it ntml, blue - the game Link to comment Share on other sites More sharing options...
everuniverse Posted August 31, 2015 Share Posted August 31, 2015 Add following in the head of your index.html:<style type="text/css"> * { margin: 0; padding: 0; }</style> VitaZheltyakov 1 Link to comment Share on other sites More sharing options...
GBeebe Posted September 1, 2015 Share Posted September 1, 2015 Is that from your html's css? Try adding style="margin: 0px, padding: 0px" in your body tag. Link to comment Share on other sites More sharing options...
Recommended Posts