diff --git a/src/screens/Game.vue b/src/screens/Game.vue index 15797ba..c5ddd52 100644 --- a/src/screens/Game.vue +++ b/src/screens/Game.vue @@ -63,6 +63,12 @@ const gameConfig = { width: window.innerWidth, height: window.innerHeight, type: Phaser.AUTO, + scale: { + mode: Phaser.Scale.RESIZE, + autoCenter: Phaser.Scale.CENTER_BOTH, + width: window.innerWidth, + height: window.innerHeight + }, resolution: 5, pixelArt: true }