@korial29/tiny-fps 0.214.0 → 0.216.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,11 @@ export declare const drawHarpoon: (out: Out, lod: 0 | 1 | 2, at: Vec3, axes: Vec
15
15
  feed?: number, pieces?: Pieces,
16
16
  /** How far (m, unscaled) the bolt just fired has flown out of the muzzle; drawn under HARPOON_GONE. */
17
17
  fired?: number) => void;
18
+ /**
19
+ * Seconds the harpoon takes to unfold as it comes to hand (drawHarpoon()'s `open`, eased): slow
20
+ * enough to be seen (the user, 2026-11-24), SOUND.HARPOON_OPEN timed on it.
21
+ */
22
+ export declare const HARPOON_DRAW = 1.1;
18
23
  /** Metres a fired bolt is drawn leaving the muzzle; past this the flying ball alone shows it. */
19
24
  export declare const HARPOON_GONE = 1.2;
20
25
  /** Metres behind its seat the next bolt starts as it feeds in. */
@@ -90,7 +95,7 @@ export interface HunterRig {
90
95
  * The Hunter cut into rigid pieces, one per joint (and shadow flag, and the stowed harpoon), so the runner's animated
91
96
  * skeleton can carry him: each triangle goes to the nearest bone its part may follow. Above the
92
97
  * far level, the triangles across a bend go to a blended band instead (BENDS).
93
- * `skip` leaves out parts (the far level's quills and grille).
98
+ * `skip` leaves out parts (the far level's dreadlocks and grille).
94
99
  */
95
100
  export declare const hunterRig: (lod: 0 | 1 | 2, skip?: (name: string) => boolean) => HunterRig;
96
101
  /**
@@ -183,6 +183,11 @@ export declare const SOUND: {
183
183
  readonly HUNTER_SEEK: 92;
184
184
  /** A harpoon bolt striking (the user, 2026-11-24: a shock, not a laser's splash). */
185
185
  readonly HARPOON_HIT: 93;
186
+ /**
187
+ * The harpoon unfolding as it comes to hand (HARPOON_DRAW, 1.1 s): a catch let go, the slide and
188
+ * the stock grinding out, a ratchet over them, and a heavy lock as they reach their stops.
189
+ */
190
+ readonly HARPOON_OPEN: 94;
186
191
  };
187
192
  /**
188
193
  * The sounds of the game: one entry per sound, its voices layered, in SOUND order. A low-passed
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@korial29/tiny-fps",
3
3
  "description": "Tiny multiplayer first-person rooftop game for the browser: raw WebGL, zero runtime dependencies, WebSocket or same-browser multi-tab play.",
4
4
  "license": "Apache-2.0",
5
- "version": "0.214.0",
5
+ "version": "0.216.0",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"