sethjwhitaker / phaser-rts

Real time strategy game with phaser
0 stars 0 forks source link

Fit to Window and Handle Resize #10

Closed sethjwhitaker closed 3 years ago

sethjwhitaker commented 3 years ago

The canvas size should fit the screen as closely as possible while maintaining an acceptable aspect ratio (List acceptable aspect ratios here). This should work for portrait and landscape modes. When the window changes size or orientation, the canvas size and position should be updated accordingly.

sethjwhitaker commented 3 years ago

This is a duplicate of #4