Skip to content
Snippets Groups Projects
Verified Commit de063058 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Auto-scale game canvas

parent f2883da4
No related branches found
No related tags found
No related merge requests found
Pipeline #7289 passed
......@@ -22,6 +22,10 @@ class Game {
type: Phaser.AUTO,
width: width,
height: height,
scale: {
mode: Phaser.Scale.FIT,
autoCenter: Phaser.Scale.CENTER_BOTH
},
scene: TestScene
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment