1
0
forked from noxious/client

fuck depth sorting man

This commit is contained in:
2025-02-13 17:08:47 +01:00
parent ddc26a021b
commit 579749f4e0
2 changed files with 12 additions and 27 deletions

View File

@ -18,7 +18,7 @@ export function useCharacterSpriteComposable(scene: Phaser.Scene, tilemap: Phase
const tween = ref<Phaser.Tweens.Tween | null>(null)
const updateIsometricDepth = (positionX: number, positionY: number) => {
isometricDepth.value = calculateIsometricDepth(positionX, positionY, 30, 95, true)
isometricDepth.value = calculateIsometricDepth(positionX, positionY, 30, 95)
}
const updatePosition = (positionX: number, positionY: number) => {