Minor improvements

This commit is contained in:
2024-09-29 01:07:53 +02:00
parent fda5224806
commit 5b31729f64
4 changed files with 9 additions and 8 deletions

View File

@ -62,10 +62,9 @@ const gameConfig = {
height: window.innerHeight,
type: Phaser.AUTO, // AUTO, CANVAS, WEBGL, HEADLESS
resolution: 3,
render: {
pixelArt: true,
roundPixels: true,
},
scale: { mode: Phaser.Scale.RESIZE },
pixelArt: true,
roundPixels: true,
}
const createGame = (game: Phaser.Game) => {