Refactor cameraControls and pointerHandlers, npm update, npm run format

This commit is contained in:
2024-10-02 16:17:34 +02:00
parent f6b6b4b8ea
commit 334ceaa8f3
11 changed files with 171 additions and 200 deletions

View File

@ -61,7 +61,7 @@ const gameConfig = {
width: window.innerWidth,
height: window.innerHeight,
type: Phaser.AUTO, // AUTO, CANVAS, WEBGL, HEADLESS
resolution: 5,
resolution: 5
}
const createGame = (game: Phaser.Game) => {
@ -164,4 +164,4 @@ canvas {
image-rendering: -webkit-crisp-edges;
image-rendering: pixelated;
}
</style>
</style>