1
0
forked from noxious/client

Maybe fix for weird resize issues in tiles

This commit is contained in:
Dennis Postma 2024-08-31 16:21:40 +02:00
parent a8de79ad0a
commit f8f367fb6e

View File

@ -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
}