npm update, finished ticket #124 (chat bubble)

This commit is contained in:
2024-09-25 13:49:41 +02:00
parent 4eea9d1f2c
commit 2a8d75b459
3 changed files with 63 additions and 29 deletions

View File

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