1
0
forked from noxious/client

updated packages, updated websocket to socket.io, moved login styling to its own scss file

This commit is contained in:
2024-05-03 01:25:47 +02:00
parent 79e1525345
commit 1631f1b9ca
8 changed files with 231 additions and 154 deletions

View File

@ -25,7 +25,6 @@ function onPointerClick(pointer: Phaser.Input.Pointer) {
pointer_tile.value = getTile(px, py, props.layer);
if (pointer_tile.value) {
// Convert tile coordinates to world coordinates
const worldPoint = props.layer.tileToWorldXY(pointer_tile.value.x, pointer_tile.value.y);
x.value = worldPoint.x + config.tile_size.y;