From f7e7121fce7bd3f7fdabe836955e43b3d194c1c6 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sat, 14 Sep 2024 22:33:35 -0700 Subject: add a spritesheet component --- static/src/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'static/src/main.ts') diff --git a/static/src/main.ts b/static/src/main.ts index c11e41e..cc6f42c 100644 --- a/static/src/main.ts +++ b/static/src/main.ts @@ -10,7 +10,7 @@ import { NetworkSystem } from "./engine/network"; import { RenderSystem } from "./engine/render"; import { InputSystem } from "./engine/input"; import { TrailingPositionSystem } from "./engine/trailing_position"; -import { drainPoints, setDelay } from "laser-pen"; +import { drainPoints, setDelay, setRoundCap } from "laser-pen"; $(async () => { const client_id = await fetch("/assign", { @@ -32,6 +32,7 @@ $(async () => { const input_system = new InputSystem(publisher, gamecanvas); setDelay(500); + setRoundCap(true); const render_system = new RenderSystem(gamecanvas); const trailing_position = new TrailingPositionSystem(drainPoints); -- cgit v1.3