Work on sprite stuff
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user