@korial29/tiny-fps 0.183.0 → 0.183.1

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.
@@ -26,6 +26,8 @@ export declare const GOAL: string[];
26
26
  export declare const CONTROLS: [group: string, rows: [keys: string, does: string, codes?: string][]][];
27
27
  /** Seconds the way out is shown after sitting down. */
28
28
  export declare const OUT_HINT = 4;
29
+ /** The prompt of a glory kill on offer, drawn pulsing. */
30
+ export declare const GLORY_ACT = "glory kill";
29
31
  /**
30
32
  * What E does for a player on foot: 'drive' near a rover whose wheel is free, 'ride' when only the
31
33
  * seat beside it is, or when he carries a flag (a carrier does not drive), 'fly' near a ship that
@@ -133,7 +135,7 @@ export interface Hud {
133
135
  */
134
136
  comm(name: string, team: number, s: number, face?: CanvasImageSource): void;
135
137
  /**
136
- * The rover: `act` is what E does now ('drive', 'ride', 'get out'; '' hides the prompt), and
138
+ * The rover: `act` is what E does now ('drive', 'ride', 'get out', GLORY_ACT which pulses; '' hides the prompt), and
137
139
  * `speed` the km/h shown at the wheel, where the gun and the crosshair then hide; undefined off it.
138
140
  */
139
141
  rover(act: string, speed?: number): void;
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.183.0",
5
+ "version": "0.183.1",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"