From 04bb48879755b69701138b88943da46c31afcde4 Mon Sep 17 00:00:00 2001 From: Dennis Postma Date: Sun, 8 Sep 2024 16:06:20 +0200 Subject: [PATCH] Commented code for testing purpose --- src/components/sprites/Character.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/sprites/Character.vue b/src/components/sprites/Character.vue index c3a8788..650ab40 100644 --- a/src/components/sprites/Character.vue +++ b/src/components/sprites/Character.vue @@ -56,11 +56,11 @@ const updatePosition = (x: number, y: number) => { /** * Teleport: No animation, only if the distance is greater than the tile size / 1.5 */ - if (distance >= config.tile_size.x / 1.5) { - // Teleport: No animation - currentX.value = targetX - currentY.value = targetY - } + // if (distance >= config.tile_size.x / 1.5) { + // // Teleport: No animation + // currentX.value = targetX + // currentY.value = targetY + // } /** * Normal movement: Animate