1
0
forked from noxious/client

Image quality bs

This commit is contained in:
2024-09-29 01:37:33 +02:00
parent 5b31729f64
commit 9cf872b7e2
2 changed files with 9 additions and 9 deletions

View File

@ -6,10 +6,7 @@ export function useCameraControls(scene: Phaser.Scene): any {
const gameStore = useGameStore()
const zoneStore = useZoneStore()
const camera = scene.cameras.main
// Might improve image quality
camera.setRoundPixels(true)
function onPointerDown(pointer: Phaser.Input.Pointer) {
gameStore.setPlayerDraggingCamera(true)
}