diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-07 15:25:48 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-07 15:25:48 +0200 |
commit | 3ebb7582afc24992674cf6ebc0d6f314569d727f (patch) | |
tree | 093d355bb411b051e4e6ba3d80bb061f77b4939b /test-client/visual.ts | |
parent | 120eb58c117f251fc548275a7440c2b2492ec6aa (diff) | |
download | hurrycurry-3ebb7582afc24992674cf6ebc0d6f314569d727f.tar hurrycurry-3ebb7582afc24992674cf6ebc0d6f314569d727f.tar.bz2 hurrycurry-3ebb7582afc24992674cf6ebc0d6f314569d727f.tar.zst |
transmit boosting state
Diffstat (limited to 'test-client/visual.ts')
-rw-r--r-- | test-client/visual.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test-client/visual.ts b/test-client/visual.ts index 2fbe9f78..5d9b7a76 100644 --- a/test-client/visual.ts +++ b/test-client/visual.ts @@ -132,6 +132,7 @@ function draw_player(player: PlayerData) { ctx.save() ctx.translate(player.anim_position.x, player.anim_position.y) ctx.rotate(-player.rot) + if (player.boosting) ctx.scale(1.3, 1.3) draw_character(player.character) ctx.restore() |