@korial29/tiny-fps 0.132.0 → 0.132.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.
- package/dist/index.js +13 -13
- package/dist/types/client/armor.d.ts +17 -1
- package/package.json +1 -1
|
@@ -27,6 +27,8 @@ interface Region {
|
|
|
27
27
|
mould?: boolean;
|
|
28
28
|
/** The ninja's own armour (the user, 2026-11-13), worn by him alone; he wears no other plate. */
|
|
29
29
|
alone?: boolean;
|
|
30
|
+
/** How far it stands off the skin, when not OFF. */
|
|
31
|
+
off?: number;
|
|
30
32
|
}
|
|
31
33
|
/**
|
|
32
34
|
* The chest plate's pecs (the user, 2026-11-10: fuller toward the bottom, then the round part too
|
|
@@ -96,16 +98,28 @@ export declare const BAND: {
|
|
|
96
98
|
export declare const GAP = 0.02;
|
|
97
99
|
/**
|
|
98
100
|
* The ninja's vest: the bottom of its chest piece at the sides, how far its chevron dips at the
|
|
99
|
-
* middle (and the lames' under it), the bottom of the V at its neck, the lames' height and the gap
|
|
101
|
+
* middle (and the lames' under it), the bottom of the V at its neck and its top beside it on the woman, the lames' height and the gap
|
|
100
102
|
* between two pieces.
|
|
101
103
|
*/
|
|
102
104
|
export declare const VEST: {
|
|
103
105
|
y: number;
|
|
104
106
|
dip: number;
|
|
105
107
|
neck: number;
|
|
108
|
+
top: number;
|
|
106
109
|
lame: number;
|
|
107
110
|
gap: number;
|
|
108
111
|
};
|
|
112
|
+
/**
|
|
113
|
+
* The vest's armholes (the user, 2026-11-13: a crack in the chest piece by the armpit): over the
|
|
114
|
+
* trunk's split (1.41 m) the skin is the shoulder's and goes with the arm, away from the piece under
|
|
115
|
+
* it. Its top falls to `y`, under the split, between the angles `a`, where the shoulder's skin starts.
|
|
116
|
+
*/
|
|
117
|
+
export declare const ARMHOLE: {
|
|
118
|
+
a: number[];
|
|
119
|
+
y: number;
|
|
120
|
+
};
|
|
121
|
+
/** How far the ninja's bracers stand off the forearm: half a plate's thickness. */
|
|
122
|
+
export declare const BRACER = 0.006;
|
|
109
123
|
export declare const REGIONS: Region[];
|
|
110
124
|
/** A corner being clipped: its place at rest, its weights of its skin triangle's corners, its normal at rest, then the limits it lies on (BITS). */
|
|
111
125
|
type Corner = number[];
|
|
@@ -122,6 +136,8 @@ export declare const DOME: {
|
|
|
122
136
|
r: number;
|
|
123
137
|
h: number;
|
|
124
138
|
};
|
|
139
|
+
/** The ninja's vest has them a little smaller (the user, 2026-11-13): this much of their height. */
|
|
140
|
+
export declare const SLIM = 0.8;
|
|
125
141
|
/**
|
|
126
142
|
* Appends the armour cut out of the skin `s` drawn into `out` from the float `from` on (skin()
|
|
127
143
|
* writes three vertices per triangle of s.t, in order). Not `fine` (a runner not close by), curved
|
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.132.
|
|
5
|
+
"version": "0.132.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|