@korial29/tiny-fps 0.134.0 → 0.136.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.
@@ -18,8 +18,28 @@ export declare const COLLAR: {
18
18
  back: number;
19
19
  end: number;
20
20
  };
21
- /** Appends the ninja's shoulder pads and his collar on the solved pose `s`, in the team's `color`; smaller on the woman (`build`). */
21
+ /**
22
+ * The marine's shoulder bell (the user, 2026-11-13, on a picture of a trooper's armour: a big round
23
+ * shell over each shoulder, hanging over the top of the arm): from the arm's joint at rest, its
24
+ * middle across, its radius out and fore and aft, its top, how far round it goes each side of
25
+ * straight out (rad), its length at its outer middle and how much shorter at its ends, and how much
26
+ * it flares at its rim; and her bell's size to his.
27
+ */
28
+ export declare const BELL: {
29
+ x: number;
30
+ r: number[];
31
+ top: number;
32
+ a: number;
33
+ len: number;
34
+ cut: number;
35
+ flare: number;
36
+ fem: number;
37
+ };
38
+ /**
39
+ * Appends the ninja's shoulder pads and his collar on the solved pose `s`, in the team's `color`;
40
+ * smaller on the woman (`build`). Or the `marine`'s shoulder bells, and no collar.
41
+ */
22
42
  export declare const pads: (out: number[], s: {
23
43
  pos: Vec3[];
24
44
  rot: Quat[];
25
- }, build?: number, color?: number[]) => void;
45
+ }, build?: number, color?: number[], marine?: boolean) => void;
@@ -80,8 +80,8 @@ export declare const WALLRUN_MIN_SPEED = 4.5;
80
80
  export declare const WALLRUN_KEEP_SPEED = 3.5;
81
81
  /** Speed lost along the wall, m/s². */
82
82
  export declare const WALLRUN_DRAG = 1.5;
83
- /** Longest run, in ticks (1 s). */
84
- export declare const WALLRUN_TICKS = 60;
83
+ /** Longest run, in ticks (1.25 s). */
84
+ export declare const WALLRUN_TICKS = 75;
85
85
  /**
86
86
  * Gravity during the run, as a share of GRAVITY. The start lifts the rise to at least
87
87
  * WALLRUN_LIFT and holds it to at most WALLRUN_VY_MAX (m/s).
@@ -101,9 +101,10 @@ export declare const WALL_AWAY = 0.2;
101
101
  export declare const WALL_TURN_KEEP = 0.9;
102
102
  /** Speed at which a run draws the body in to the wall when it starts up to WALL_REACH away (m/s). */
103
103
  export declare const WALL_PULL = 4;
104
- /** A kick-off from the wall: speed away from it and upward (m/s). */
105
- export declare const WALL_KICK_SPEED = 5;
106
- export declare const WALL_KICK_UP = 6.5;
104
+ /** A kick-off from the wall: speed away from it and upward, and a push along the run (m/s). */
105
+ export declare const WALL_KICK_SPEED = 6.5;
106
+ export declare const WALL_KICK_UP = 7.5;
107
+ export declare const WALL_KICK_BOOST = 2;
107
108
  /** Ledge grab: a top this far above the feet (m) can be caught, if the player faces it (cosine). */
108
109
  export declare const GRAB_MIN = 1.2;
109
110
  export declare const GRAB_MAX = 2.4;
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.134.0",
5
+ "version": "0.136.0",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"