Removed scale, added resolution to game config and phaser text obj

This commit is contained in:
2024-09-25 14:03:04 +02:00
parent 2a8d75b459
commit 5f44a9aebd
2 changed files with 2 additions and 7 deletions

View File

@ -59,13 +59,7 @@ const gameConfig = {
width: window.innerWidth,
height: window.innerHeight,
type: Phaser.AUTO, // AUTO, CANVAS, WEBGL, HEADLESS
scale: {
mode: Phaser.Scale.RESIZE,
autoCenter: Phaser.Scale.CENTER_BOTH,
width: window.innerWidth,
height: window.innerHeight
},
resolution: 2,
resolution: 10,
pixelArt: true
}