Work on sprite stuff

This commit is contained in:
2024-07-20 15:18:06 +02:00
parent 5c8d4947b1
commit 33fd32348f
7 changed files with 266 additions and 28 deletions

View File

@ -62,7 +62,7 @@ function onPointerClick(pointer: Phaser.Input.Pointer) {
gameStore.connection?.emit('character:move', { position_x: pointer_tile.x, position_y: pointer_tile.y })
//Directions for player sprites + animations
//Directions for player sprite + animations
if (px < 0 && py > 0) {
console.log('down left')
} else if (px < 0 && py < 0) {