diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-21 00:36:29 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 19:24:39 +0200 |
commit | 4f19a2cd91b099dc2e0d6c673d853befc7044340 (patch) | |
tree | 4bce3019ae7b842034ff03362b01236fe364ab3a /test-client/visual.ts | |
parent | a1f6b4f47e7aca167e71311d55c3e9a18f4cbff7 (diff) | |
download | hurrycurry-4f19a2cd91b099dc2e0d6c673d853befc7044340.tar hurrycurry-4f19a2cd91b099dc2e0d6c673d853befc7044340.tar.bz2 hurrycurry-4f19a2cd91b099dc2e0d6c673d853befc7044340.tar.zst |
smooth other player's positions
Diffstat (limited to 'test-client/visual.ts')
-rw-r--r-- | test-client/visual.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-client/visual.ts b/test-client/visual.ts index 2b98561a..54c979da 100644 --- a/test-client/visual.ts +++ b/test-client/visual.ts @@ -48,7 +48,7 @@ export function draw_ingame() { for (const [_, player] of players) { { ctx.save() - ctx.translate(player.x, player.y) + ctx.translate(player.anim_position.x, player.anim_position.y) { ctx.save() ctx.rotate(-player.rot) |