Jump to content

Change game size without scaling


Recommended Posts

Is there any way to change the game size in-game?

I have a game I need to keep the aspect ratio of some elements, so if I want to take advantage of the FullScreen API, I need to change the canvas size or either leave blank spaces around the canvas.

I have tried simply changing game.width/height but that's obviously not the way its meant to be used.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...