Maybe fix for weird resize issues in tiles
This commit is contained in:
parent
a8de79ad0a
commit
f8f367fb6e
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user