How does this still work? Why does it improve performance so much???¿¿

This commit is contained in:
2024-09-16 16:22:45 +02:00
parent 5bd0ffd2e1
commit 799cf3a69c
4 changed files with 63 additions and 57 deletions

View File

@ -62,7 +62,13 @@ const gameConfig = {
name: 'New Quest',
width: window.innerWidth,
height: window.innerHeight,
type: Phaser.AUTO,
type: Phaser.AUTO, // AUTO, CANVAS, WEBGL, HEADLESS
render: {
pixelArt: true,
antialias: true,
roundPixels: true
},
banner: false, // Disable Phaser banner
resolution: 5,
pixelArt: true
}