@korial29/tiny-fps 0.118.2 → 0.120.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.
@@ -20,6 +20,20 @@ export declare const CHASE: {
20
20
  readonly FOV: 10;
21
21
  readonly FOV_W: 4;
22
22
  };
23
+ /** A ship's: further back and higher (it is 14 m long), its pitch the whole of the nose's. */
24
+ export declare const SHIP_CHASE: {
25
+ UP: number;
26
+ BACK: number;
27
+ RISE: number;
28
+ LO: number;
29
+ HI: 1.25;
30
+ W: 16;
31
+ OUT: 5;
32
+ PAD: 0.3;
33
+ BLEND: 0.3;
34
+ FOV: 10;
35
+ FOV_W: 4;
36
+ };
23
37
  /** What a frame is drawn from. */
24
38
  export interface Shot {
25
39
  at: Vec3;
@@ -37,6 +51,6 @@ export interface Chase {
37
51
  */
38
52
  frame(r: Rover | undefined, seated: boolean, eye: Vec3, tilt: number, yaw: number, pitch: number, dt: number): Shot;
39
53
  }
40
- /** The look's pitch as the chase camera takes it. */
41
- export declare const chasePitch: (pitch: number) => number;
54
+ /** The look's pitch as the chase camera takes it, behind a rover or a ship (`r`). */
55
+ export declare const chasePitch: (pitch: number, r?: Pick<Rover, "ship">) => number;
42
56
  export declare const createChase: (world: World) => Chase;
@@ -0,0 +1,13 @@
1
+ import type { Rover } from '../shared/types';
2
+ import type { Vec3 } from './mesh';
3
+ /** The engines' nozzles: right of the centre, above it, ahead of it (the back of each nacelle). */
4
+ export declare const NOZZLES: Vec3[];
5
+ /** How hard the engines burn, 0 to 1: idling with a pilot, up with the speed; out without one. */
6
+ export declare const burn: (r: Rover) => number;
7
+ /**
8
+ * Appends the ship as the state has it, unless it is gone (`wreck`): the hull pitched and banked,
9
+ * the stripes and fins in `rgb` (the team's colour, 0 to 1), the missiles it has left under the
10
+ * wings, the flames of its engines and its navigation lights. `t` is the time in seconds, for the
11
+ * lights' blink.
12
+ */
13
+ export declare const craft: (out: number[], r: Rover, rgb: number[], t: number) => void;
@@ -18,11 +18,12 @@ export declare const CONTROLS: [group: string, rows: [keys: string, does: string
18
18
  /** Seconds the way out is shown after sitting down. */
19
19
  export declare const OUT_HINT = 4;
20
20
  /**
21
- * What E does for a player on foot: 'drive' within ROVER.ENTER_R of a rover whose wheel is free,
22
- * 'ride' when only the seat beside it is, or when he carries a flag (a carrier does not drive),
23
- * '' with no free seat in reach, seated or down. The nearest rover with a seat for him counts.
21
+ * What E does for a player on foot: 'drive' near a rover whose wheel is free, 'ride' when only the
22
+ * seat beside it is, or when he carries a flag (a carrier does not drive), 'fly' near a ship that
23
+ * is there and has no pilot (a carrier does not fly), '' with no free seat in reach, seated or
24
+ * down. The nearest vehicle with a seat for him counts, as the room judges it (nearby(), free()).
24
25
  */
25
- export declare const boarding: (me: Pick<PlayerState, "x" | "y" | "z" | "mode" | "down"> | undefined, rovers: readonly Rover[], carrying?: boolean) => "" | "drive" | "ride";
26
+ export declare const boarding: (me: Pick<PlayerState, "x" | "y" | "z" | "mode" | "down"> | undefined, rovers: readonly Rover[], carrying?: boolean) => "" | "drive" | "ride" | "fly";
26
27
  /** The speed-o-meter's reading of a rover: whole km/h over the ground. */
27
28
  export declare const kmh: (r: Pick<Rover, "vx" | "vz">) => number;
28
29
  /** What the end screen shows: the final captures and what each player did. */
@@ -94,9 +95,23 @@ export interface Hud {
94
95
  rover(act: string, speed?: number): void;
95
96
  /** The rover's reticle, where its lasers cross: `at` on screen in [0, 1] from the top left; undefined hides it. */
96
97
  aim(at?: [number, number]): void;
98
+ /** The ship flown: its armour, missiles and height, and how near its limits are (limits(), ship.ts); undefined hides it. */
99
+ ship(s?: ShipPanel): void;
97
100
  /** The end screen with the result and each player's captures and returns, `next` seconds before the next match; undefined hides it. */
98
101
  end(sum: Summary | undefined, next: number): void;
99
102
  }
103
+ /** What the ship's panel shows. */
104
+ export interface ShipPanel {
105
+ hp: number;
106
+ nades: number;
107
+ /** Metres over the crater's floor. */
108
+ alt: number;
109
+ /** limits(): the ceiling's and the edge's nearness, 1 at the limit. */
110
+ up: number;
111
+ out: number;
112
+ }
113
+ /** The warning of the nearest limit once one is within its last half of WARN, or ''. */
114
+ export declare const warning: (up: number, out: number) => string;
100
115
  /** Milliseconds a banner stays, and a hit marker. */
101
116
  export declare const BANNER_MS = 2800;
102
117
  export declare const HIT_MS = 140;
@@ -42,6 +42,8 @@ export interface Controls {
42
42
  keys: number;
43
43
  /** The chosen weapon (WEAPON: 1, 2, 3 and the wheel). */
44
44
  weapon: number;
45
+ /** At a ship's stick (the client sets it): a press of G is a missile whatever the weapon, a double click nothing more than a click. */
46
+ pilot: boolean;
45
47
  /**
46
48
  * The KEY bits of the next step, read once per step. Same as `keys`, plus BLADE while the katana
47
49
  * is chosen and RAIL while the rail gun is, except for the step right after a double tap: it carries DASH and only the tapped
@@ -1,6 +1,17 @@
1
1
  import type { Rover } from '../shared/types';
2
2
  import type { World } from '../shared/world';
3
3
  import type { Vec3 } from './mesh';
4
+ /** A point of the body's frame: metres right, up and ahead of the centre. */
5
+ export declare const P: (x: number, y: number, a: number) => Vec3;
6
+ /** A flat polygon of three or four corners facing `to`; a fourth number of the colour is its layer. */
7
+ export declare const panel: (o: number[], [a, b, c, d]: Vec3[], rgb: number[], to: Vec3) => void;
8
+ /** A skin between two rings of as many corners, each side (in `cols`, in the rings' order) facing away from the middle, and a cap on either ring. */
9
+ export declare const loft: (o: number[], a: Vec3[], b: Vec3[], cols: number[][], capA?: number[], capB?: number[]) => void;
10
+ /** A thin tube has three sides, a thick one four near by. */
11
+ export declare const LINK: number[];
12
+ export declare const TUBE: number[];
13
+ /** A tube from a to b, r thick. */
14
+ export declare const rod: (o: number[], tube: number[], a: Vec3, b: Vec3, r: number, rgb: number[]) => void;
4
15
  /**
5
16
  * How far each wheel's spring is squeezed, metres in 0..CMAX, in AT's order: the simulation's own
6
17
  * (wheels() in shared/rover.ts), from the state and the world alone. 0 is a wheel hanging in the air.
@@ -34,18 +34,18 @@ export declare const MOUND: number, RISE: number;
34
34
  */
35
35
  export declare const FLATS: number[][];
36
36
  type V3 = [number, number, number];
37
+ /** How high a rock's middle is over the ground: three tenths of its height, and 0.6 m or half its height if less. Its widest is there, its flank steep down to the ground: a body is stopped at its foot. */
38
+ export declare const rockMid: (H: number) => number;
37
39
  /**
38
40
  * The form of a boulder of radius R and height H from a seed: how far it reaches from its middle
39
- * (a quarter of its height over the ground) along a unit vector. One to three lobes, each a block
40
- * cut by five leaning planes round it and a nearly level one on top, its corners rounded by an
41
- * ellipsoid: a main mass, a shoulder beside it half as high from 1.3 m of radius, a low one from
42
- * 3.2 m. One plane cuts under a side (an overhang), and the whole swells and shrinks by 6 % with
43
- * the bearing. Only + - * /, Math.sqrt and the hash: the boxes below come from it on every side.
44
- * `tops` are the lobes' middles (x, z) and the height of their top over the rock's middle.
41
+ * (rockMid() over the ground) along a unit vector. A rounded solid, no plane in it:
42
+ * an ellipsoid stretched unevenly on its three axes and turned by the seed, upright under its
43
+ * middle (it stands in the regolith, as wide at the ground as at its middle) and a dome over it, swollen and shrunk by two low octaves
44
+ * of noise with the bearing (large soft lobes), with one gentle hollow and one flatter side. Only
45
+ * + - * /, Math.sqrt and the hash: the boxes below come from it on every side.
45
46
  */
46
47
  export declare const rockOf: (s: number, R: number, H: number) => {
47
48
  reach: (u: V3) => number;
48
- tops: number[][];
49
49
  };
50
50
  /** A pit: PIT_R in radius, cut in a square of half side PIT_S of its crater's terrace, its floor at PIT_FLOOR, 7 m over the kill floor; a flight of PIT_STEPS steps up its east wall. */
51
51
  export declare const PIT_R: number, PIT_S: number, PIT_FLOOR: number, PIT_STEPS: number;
@@ -87,7 +87,6 @@ export declare const LAYOUT: {
87
87
  pillars: number[][];
88
88
  domes: number[][];
89
89
  pads: number[][];
90
- shuttles: Bx[];
91
90
  modules: Bx[];
92
91
  tubes: Bx[];
93
92
  masts: number[][];
@@ -45,8 +45,8 @@ export declare const MSG_SNAPSHOT = 2;
45
45
  export declare const INPUT_BYTES = 12;
46
46
  export declare const SNAP_HEAD = 4;
47
47
  export declare const SNAP_PLAYER = 62;
48
- /** Bytes of a rover: thirteen float32 and the two seats. */
49
- export declare const SNAP_ROVER = 54;
48
+ /** Bytes of a rover: thirteen float32, the two seats and a ship's three bytes. */
49
+ export declare const SNAP_ROVER = 57;
50
50
  /** The rover count has three bits of the head's count byte, the players the other five. */
51
51
  export declare const MAX_ROVERS = 7;
52
52
  /** The match block after the players and the rovers: the captures, the clock, the packs; the flags follow (2 to 16 bytes). */
@@ -16,8 +16,10 @@ export declare class Room {
16
16
  private gone;
17
17
  /** The plasma balls in flight, and the ones that burst since the last snapshot, which sends them once more. */
18
18
  private balls;
19
- /** The map's rovers, in the order of WorldDef.rovers. */
19
+ /** The map's rovers, in the order of WorldDef.rovers, then its ships (ship.ts). */
20
20
  private rovers;
21
+ /** Ticks toward each ship's next missile, by index in `rovers`. */
22
+ private rearm;
21
23
  /** The key of the map being played, which the roster tells the clients. */
22
24
  private mapName;
23
25
  /** The map the host picked for the next match, when it is another one. */
@@ -147,6 +149,11 @@ export declare class Room {
147
149
  * rides holds a seat. So a leaver's seat is free before his id is given again, and one put down,
148
150
  * respawned or stumbled out is off the rover.
149
151
  */
152
+ /**
153
+ * The first enemy ship on the way the ball `b` flew this tick, from `o` to where it is now: the
154
+ * ball bursts on its hull, short of a body or a wall further on.
155
+ */
156
+ private ram;
150
157
  private seats;
151
158
  /**
152
159
  * A press of USE on foot: the nearest rover within ROVER.ENTER_R on the floor plane with a seat
@@ -171,6 +178,23 @@ export declare class Room {
171
178
  * inputs, toward where he looks. Not once the match is over. The rover is not changed.
172
179
  */
173
180
  private lase;
181
+ /**
182
+ * A ship's missiles: while its pilot holds SPECIAL (G), one each SHIP.MISSILE_COOL of his inputs
183
+ * while it has any, from the left pod then the right, toward where its lasers cross.
184
+ */
185
+ private launch;
186
+ /**
187
+ * A ship's clock outside its pilot's inputs: one that is gone comes back on its pad, new, after
188
+ * SHIP.WRECK ticks; one short of missiles loads one each SHIP.RELOAD ticks.
189
+ */
190
+ private dock;
191
+ /** The ships an enemy of `team` pilots and that are there to hit. */
192
+ private targets;
193
+ /**
194
+ * The ship `r` loses `hp` of armour to the shot of `by`; at 0 it blows up where it is: its pilot
195
+ * goes down with it, and it is gone SHIP.WRECK ticks.
196
+ */
197
+ private hurt;
174
198
  private splat;
175
199
  /** The first spawn point of the team with none of `others` within SPAWN_CLEAR, else the next one round-robin. */
176
200
  private place;
@@ -80,7 +80,10 @@ export declare const footprint: (r: Rover) => Vec3[];
80
80
  * rear circles of footprint(), RB wide and BODY_H tall. A player walks into it and stands on it.
81
81
  */
82
82
  export declare const hull: (r: Rover) => Body;
83
- /** The map's rovers at rest on their spawns, nobody aboard. */
83
+ /**
84
+ * The map's rovers at rest on their spawns, nobody aboard, then its ships on their pads (ship.ts):
85
+ * the order of the snapshot's.
86
+ */
84
87
  export declare const park: (w: World) => Rover[];
85
88
  /**
86
89
  * One step of 1 / TICK_HZ s, in place. `i` is the driver's input as the wire rounds it (FORWARD and
@@ -120,7 +123,28 @@ export declare const leave: (p: PlayerState, r: Rover, s: 0 | 1, w: World) => vo
120
123
  * `fleet` is drive()'s.
121
124
  */
122
125
  export declare const ride: (p: PlayerState, r: Rover, i: Input, w: World, team: number, fleet?: readonly Rover[]) => boolean;
123
- /** Where the rover's lasers cross: GUN_AIM metres from its centre along the driver's look. */
126
+ /** The squared distance on the floor plane from the vehicle's centre to the player. */
127
+ export declare const gap2: (r: Rover, p: {
128
+ x: number;
129
+ z: number;
130
+ }) => number;
131
+ /**
132
+ * A player on foot near enough to get in: on the floor plane within ENTER_R of the centre, and
133
+ * within the reach in height (a ship's ENTER_H). A ship that is gone has no seat.
134
+ */
135
+ export declare const nearby: (r: Rover, p: {
136
+ x: number;
137
+ y: number;
138
+ z: number;
139
+ }) => boolean;
140
+ /**
141
+ * The seat a player gets: 0 at the wheel (never a flag's carrier), 1 beside it, -1 none. A ship
142
+ * has its pilot's seat only.
143
+ */
144
+ export declare const free: (r: Rover, carrier: boolean) => 0 | 1 | -1;
145
+ /** Metres from the centre to where the lasers cross along the look: a ship's or a rover's. */
146
+ export declare const aimRange: (r: Rover) => number;
147
+ /** Where the lasers cross: aimRange() metres from the centre along the driver's look. */
124
148
  export declare const aimOf: (r: Rover, yaw: number, pitch: number) => [number, number, number];
125
149
  /**
126
150
  * The two bolts of one salvo of the rover's lasers, left then right: each from its muzzle toward
@@ -128,4 +152,10 @@ export declare const aimOf: (r: Rover, yaw: number, pitch: number) => [number, n
128
152
  * centre, so the beams cross there, chest high on level ground with a level look. `id` names the first, `id + 1` the second.
129
153
  */
130
154
  export declare const bolts: (r: Rover, by: number, team: number, yaw: number, pitch: number, id: number) => Flying[];
155
+ /**
156
+ * A ship's missile from its pod `k` (0 left, 1 right) toward where its lasers cross: a grenade
157
+ * (plasma.ts's toss() flies it, blast() is its burst) launched at MISSILE_SPEED plus the ship's own
158
+ * speed along the way, 63 m/s at most (the wire's six bits).
159
+ */
160
+ export declare const missile: (r: Rover, by: number, team: number, yaw: number, pitch: number, id: number, k: number) => Flying;
131
161
  export {};
@@ -0,0 +1,112 @@
1
+ import type { Body } from './physics';
2
+ import type { Input, Rover } from './types';
3
+ import type { Spawn, World } from './world';
4
+ /** The ship's sizes and its handling. Lengths in metres, rates per second. */
5
+ export declare const SHIP: {
6
+ /** From the centre down to the skids' bottom, the hull's height from there, and the hull's half width. */
7
+ readonly DROP: 1.3;
8
+ readonly H: 2.6;
9
+ readonly R: 1.6;
10
+ /** The hull against the brushes: circles of radius R this far along the nose. */
11
+ readonly BODY: readonly [4.8, 0, -4.8];
12
+ /** The hull as the shots meet it: spheres of radius HIT this far along the nose. */
13
+ readonly HITS: readonly [4.5, 0, -4.5];
14
+ readonly HIT: 2.6;
15
+ /** Thrust along the nose, sideways and straight up (m/s²), the boost's factor, and the top speed without it. */
16
+ readonly ACC: 24;
17
+ readonly STRAFE: 14;
18
+ readonly LIFT: 16;
19
+ readonly BOOST: 1.7;
20
+ readonly VMAX: 48;
21
+ /** Drag with nobody at the stick (1/s), and the skids' friction on a floor. */
22
+ readonly DRIFT: 0.25;
23
+ /** The dampers (1/s) with no key on an axis: the slide on the level stops, and so does the climb with no thrust. */
24
+ readonly HOLD: 1.5;
25
+ readonly HOVER: 3;
26
+ readonly SKID: 3;
27
+ /** The nose turns toward the look: gain, the rates' caps (yaw, pitch) and how fast a rate follows. */
28
+ readonly TURN: 4;
29
+ readonly YRATE: 1.9;
30
+ readonly PRATE: 1.5;
31
+ readonly RESP: 8;
32
+ /** The highest pitch, up or down, and the bank: per rad/s of yaw, per unit of slide, its cap and its response. */
33
+ readonly PMAX: 1.25;
34
+ readonly BANK: 0.4;
35
+ readonly SLIDE: 0.3;
36
+ readonly RMAX: 0.8;
37
+ readonly RRESP: 5;
38
+ /** The ceiling's height (y), the crater's bound shrunk to EDGE, and the depth over which the warning grows. */
39
+ readonly CEIL: 120;
40
+ readonly EDGE: 0.88;
41
+ readonly WARN: 20;
42
+ /** Past a limit: the push back (m/s² per metre past it) and the brake on the speed out (1/s). */
43
+ readonly PUSH: 3;
44
+ readonly BRAKE: 4;
45
+ /** The hard stop past the limit, metres. */
46
+ readonly OVER: 12;
47
+ /** A player this close to the centre (on the floor plane) and within this height gets in. */
48
+ readonly ENTER_R: 6;
49
+ readonly ENTER_H: 4;
50
+ /** Armour, and the ticks a destroyed ship is gone before it is back on its pad. */
51
+ readonly HP: 60;
52
+ readonly WRECK: 600;
53
+ /** The lasers: ticks between two salvos, the bolts' reach, and where the beams cross ahead along the look. */
54
+ readonly GUN_COOL: 6;
55
+ readonly GUN_RANGE: 160;
56
+ readonly GUN_AIM: 80;
57
+ /** Missiles: how many a ship carries, the ticks between two, the ticks to load one more, and their speed (m/s, 63 at most on the wire). */
58
+ readonly MISSILES: 4;
59
+ readonly MISSILE_COOL: 30;
60
+ readonly RELOAD: 300;
61
+ readonly MISSILE_SPEED: 60;
62
+ /** A missile's burst: the armour it takes at the hull, falling off to nothing this far from it. */
63
+ readonly BLAST_HP: 14;
64
+ readonly BLAST_R: 7;
65
+ /** The armour a laser bolt or a rifle round takes, and a plasma ball per point of its power. */
66
+ readonly BOLT_HP: 1;
67
+ readonly BALL_HP: 2;
68
+ };
69
+ /** The lasers' muzzles at the wing roots, the missiles' pods under the wings: right of the centre, above it, ahead of it. */
70
+ export declare const SHIP_GUNS: number[][];
71
+ export declare const PODS: number[][];
72
+ /** The pilot's seat in the cockpit: right of the centre, above it (the feet), ahead of it. */
73
+ export declare const COCKPIT: number[];
74
+ /** Where who gets out stands, beside the cockpit: clear of the hull, ahead of the wings. */
75
+ export declare const OUT: number;
76
+ type Vec3 = [x: number, y: number, z: number];
77
+ /** The ship's axes in the world: right, up and the nose, pitched and banked (mesh.ts's basis()). */
78
+ export declare const axes: (r: Rover) => [Vec3, Vec3, Vec3];
79
+ /** A point of the ship, `b` m right of the centre, `u` m above it and `a` m ahead of it. */
80
+ export declare const point: (r: Rover, b: number, u: number, a: number) => Vec3;
81
+ /** The map's ships at rest on their pads: full armour and missiles, nobody aboard. */
82
+ export declare const dock: (ships?: readonly Spawn[]) => Rover[];
83
+ /**
84
+ * The hull as the players on foot and the rovers meet it: the stadium from the tail to the nose
85
+ * along the floor plane, R wide, from the skids up H. A player walks into it and stands on it.
86
+ */
87
+ export declare const shipHull: (r: Rover) => Body;
88
+ /**
89
+ * How near the ship is to its limits, each 0 inside and 1 at the limit (more past it): the ceiling
90
+ * and the edge of the crater. For the HUD.
91
+ */
92
+ export declare const limits: (r: Pick<Rover, "x" | "y" | "z">, w: World) => [up: number, out: number];
93
+ /**
94
+ * One step of 1 / TICK_HZ s, in place. `i` is the pilot's input as the wire rounds it, or
95
+ * undefined with nobody at the stick: the engines are off and it falls under the map's gravity to
96
+ * a floor. A ship that is gone (`wreck`) does not move. Returns whether it fell under the kill
97
+ * floor: the caller docks it again.
98
+ *
99
+ * The nose turns toward the look as fast as the rates allow and banks into the turn; the thrust
100
+ * is along the nose, sideways and straight up, against a drag that sets the top speed. Piloted,
101
+ * the engines hold it against gravity: it hovers with no key held. On a floor it rests on its
102
+ * skids, level.
103
+ */
104
+ export declare const pilot: (r: Rover, i: Input | undefined, w: World) => boolean;
105
+ /**
106
+ * Where a shot from `o` along the unit `d` meets the hull within `m` metres: the distance, or
107
+ * Infinity. The hull is the HITS spheres; a ship that is gone has none.
108
+ */
109
+ export declare const struck: (r: Rover, o: Vec3, d: Vec3, m: number) => number;
110
+ /** The distance from `c` to the nearest point of the hull's spheres, 0 inside. */
111
+ export declare const reach: (r: Rover, c: Vec3) => number;
112
+ export {};
@@ -346,7 +346,8 @@ export interface FlagState {
346
346
  export declare const NOBODY = 255;
347
347
  /**
348
348
  * A rover (rover.ts): thirteen float32 and its two seats, all a drive() needs to carry on from, so
349
- * a snapshot is enough and the driver's replay is exact. Nothing is kept per wheel.
349
+ * a snapshot is enough and the driver's replay is exact. Nothing is kept per wheel. With `ship`
350
+ * set it is a spaceship (ship.ts) instead: one seat, `steer` -1 on a floor and 0 in flight.
350
351
  */
351
352
  export interface Rover {
352
353
  /** The body's centre at hub height: metres. */
@@ -372,6 +373,14 @@ export interface Rover {
372
373
  /** The player ids at the wheel and beside it, or NOBODY. */
373
374
  driver: number;
374
375
  rider: number;
376
+ /** A spaceship, not a rover. Absent: a rover. */
377
+ ship?: boolean;
378
+ /** A ship's armour, SHIP.HP when new. */
379
+ hp?: number;
380
+ /** Ticks before a destroyed ship is back on its pad: 0 while it is there to fly. */
381
+ wreck?: number;
382
+ /** A ship's missiles left. */
383
+ nades?: number;
375
384
  }
376
385
  export interface Snapshot {
377
386
  /** Host tick, u16, wraps. */
@@ -73,6 +73,8 @@ export interface WorldDef {
73
73
  relief?: ReliefDef;
74
74
  /** Where the rovers (rover.ts) are parked, each as a spawn: the middle of its wheels on the ground and the yaw of its nose. Absent: none. */
75
75
  rovers?: Spawn[];
76
+ /** Where the spaceships (ship.ts) stand on their pads: the floor under the skids and the yaw of the nose. Absent: none. */
77
+ ships?: Spawn[];
76
78
  /** The automatic doors (doors.ts). Absent: none. */
77
79
  doors?: Door[];
78
80
  }
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.118.2",
5
+ "version": "0.120.0",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"