@korial29/tiny-fps 0.208.0 → 0.209.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.
@@ -38,12 +38,12 @@ export interface Combat {
38
38
  /** Shots between two states of a player, a u8 counter that wraps. */
39
39
  export declare const fired: (a?: PlayerState, b?: PlayerState) => number;
40
40
  /** What the katana's sounds read of a player: the swing, the cut and whether it is in hand. */
41
- type Blade = Pick<PlayerState, 'swing' | 'cut' | 'wield' | 'blade' | 'fists' | 'heavy' | 'down' | 'railed' | 'ammo' | 'reload' | 'rifled' | 'hot' | 'hits'>;
41
+ type Blade = Pick<PlayerState, 'swing' | 'cut' | 'wield' | 'blade' | 'fists' | 'heavy' | 'charge' | 'down' | 'railed' | 'ammo' | 'reload' | 'rifled' | 'hot' | 'hits'>;
42
42
  /**
43
43
  * The CUT of a swing that started between two states of a player, or -1: `swing` jumped up (it
44
44
  * only counts down), or the cut changed under a running one.
45
45
  */
46
- export declare const swung: (a?: Blade, b?: Blade) => number;
46
+ export declare const swung: (a?: Blade, b?: Blade, xeno?: boolean) => number;
47
47
  /**
48
48
  * Whether the step from a to b is the strike of its cut: `swing` went down through the strike tick
49
49
  * (CUTS; the xenomorph's, `xeno`, TAILS).
@@ -42,7 +42,7 @@ export declare const HOOKED: Lash;
42
42
  * Where its tail is through a strike (TAILS, by the cut): it goes from HOOKED to the strike's poise
43
43
  * in the first third of the wind-up (or most of the way to the strike for a special), so it answers
44
44
  * the click at once (the user, 2026-11-16), is driven to its end at the strike, eased in, then
45
- * comes back. A charge holds it cocked on its side, drawn in and coiled in an S over a tap of
45
+ * comes back. A charge holds it at that poise, drawn in and coiled in an S over a tap of
46
46
  * charge, then still but for its breath with the clock `t` (the user, 2026-11-16); let go, it
47
47
  * strikes from there. The SPIN turns the tail low once round the body.
48
48
  */
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.208.0",
5
+ "version": "0.209.0",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"