Jump to content

Le Twitch
 Share

Recommended Posts

The first line makes the game canvas scale up uniformly to fill as much of the container as it can. It will never causes the game to become 'stretched' in one direction or another, nor will it ever crop parts out.

 

The second line simply tries to set the canvas to the size of the screen.

 

does this mean that you don't need both of those lines if the size of the game is the same size as the screen?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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