Animators and coilhead animations

This commit is contained in:
2026-11-21 21:54:02 -03:00
parent 69ad4b80d0
commit 0c711b8163
21 changed files with 960 additions and 34 deletions
+2 -1
View File
@@ -2,7 +2,7 @@ import type { ClientContext, Color } from "cubi/client";
import type { ServerContext } from "cubi/server";
import { DOOR, FACILITY_DOOR } from "./shared.ts";
import { Alea } from "@paulaboks/rng";
import { register_coilhead } from "./coilhead.ts";
import { register_coilhead, register_coilhead_animator } from "./coilhead.ts";
import { DOORWAY, MAIN_TILE, type Marker, type PlacedTile, plan_interior, tile_type, TILES } from "./interior.ts";
export { shared } from "./shared.ts";
@@ -19,6 +19,7 @@ export function server(ctx: ServerContext) {
export function client(ctx: ClientContext) {
register_hud(ctx);
register_coilhead_animator(ctx);
}
// a small 5x5 ring in the middle of the screen to aim with, its corners and middle left empty, in gui pixels