Char name improvement

This commit is contained in:
2024-08-18 23:14:50 +02:00
parent 260ac48da8
commit e7def2ecf1
4 changed files with 88 additions and 86 deletions

View File

@ -61,8 +61,14 @@ const gameConfig = {
width: window.innerWidth,
height: window.innerHeight,
type: Phaser.AUTO,
resolution: 3,
pixelArt: true
resolution: 5,
pixelArt: true,
scale: {
mode: Phaser.Scale.FIT,
autoCenter: Phaser.Scale.CENTER_BOTH,
width: window.innerWidth,
height: window.innerHeight
}
}
const createGame = (game: Phaser.Game) => {