Chris_Hawkins Posted December 9, 2014 Share Posted December 9, 2014 Howdy all! Working on a game with a set canvas size of 1200 x 634. However, when I resize the browser or on mobile it's cutting off the right side of the game. Other elements on the page are visible, just the game-canvas. I noticed in the JS file of Phaser, it has a style="overflow: hidden;" inline for the game-canvas CSS. I don't want to alter the JS, I'd rather it just show the whole canvas. Any ideas on how to show the full game canvas after resizing ther broswer or on mobile? You can see the attached shots before.jpg = full size browser windowafter.jpg = resized window Link to comment Share on other sites More sharing options...
spencerTL Posted December 9, 2014 Share Posted December 9, 2014 Which version of Phaser are you using? The new one has a different scale system but a very useful book on how to set it up (see sticky threads). Either way your set up code would be useful to see to answer the question. Link to comment Share on other sites More sharing options...
Recommended Posts