1
0
forked from noxious/client

Phaser moment

This commit is contained in:
Dennis Postma 2025-02-05 22:13:29 +01:00
parent b195f1399f
commit 7730fd81bd
2 changed files with 8 additions and 2 deletions

View File

@ -37,7 +37,10 @@ const gameConfig = {
width: window.innerWidth,
height: window.innerHeight,
type: Phaser.AUTO, // AUTO, CANVAS, WEBGL, HEADLESS
resolution: 5
resolution: 5,
input: {
windowEvents: false
}
}
const createGame = (game: Phaser.Game) => {

View File

@ -62,7 +62,10 @@ const gameConfig = {
width: window.innerWidth,
height: window.innerHeight,
type: Phaser.AUTO, // AUTO, CANVAS, WEBGL, HEADLESS
resolution: 5
resolution: 5,
input: {
windowEvents: false
}
}
const createGame = (game: Phaser.Game) => {