olof Posted October 13, 2018 Share Posted October 13, 2018 So I've made my first little game with phaser 3. http://omjonasson.se/spel/towndefence/ (view source to see the game code) It works fine and when played on my computer I see the full game area (1024*576), but when I look at it on an iPad/safari or my cell phone (samsung internet) the width is cropped. I get around 1000 pixels width and then just an empty area. What am I missing? Link to comment Share on other sites More sharing options...
samme Posted October 13, 2018 Share Posted October 13, 2018 Try adding <meta name="viewport" content="width=1024, initial-scale=1"> Link to comment Share on other sites More sharing options...
olof Posted October 13, 2018 Author Share Posted October 13, 2018 Thank you. Viewport and content width did the trick. Link to comment Share on other sites More sharing options...
Recommended Posts