@korial29/tiny-fps 0.207.0 → 0.207.2

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/server.js CHANGED
@@ -183,6 +183,12 @@ var TAILS = [
183
183
  knock: 0
184
184
  }
185
185
  ];
186
+ /**
187
+ * The tail's charged release (the user, 2026-11-23: let go, it goes far at full power): no slower
188
+ * than a tap but TAIL_FAST times its time from the top, and TAIL_FAR metres further, where the
189
+ * katana's heavy release is HEAVY times as slow and HEAVY_REACH further (swingOf()).
190
+ */
191
+ var [TAIL_FAST, TAIL_FAR] = [.75, 1];
186
192
  var [PUNCH_HITS, PUNCH_STUN, PUNCH_MEMORY] = [
187
193
  2,
188
194
  3,
@@ -1980,15 +1986,18 @@ var cutOf = (keys, thrust = true) => {
1980
1986
  /**
1981
1987
  * The swing `p` is in, its numbers as CUTS has them (`table`; the xenomorph's is TAILS): the cut's
1982
1988
  * own, or, for a heavy release (`heavy`), the rest of it from the top of its wind-up, HEAVY times as
1983
- * slow, with its own timer from there, and harder and wider.
1989
+ * slow, with its own timer from there, and harder and wider. The tail's (TAILS) is fast and long
1990
+ * instead: TAIL_FAST times its time, TAIL_FAR metres further.
1984
1991
  */
1985
1992
  var swingOf = (p, table = CUTS) => {
1986
1993
  const c = table[p.cut ?? 0];
1994
+ const tail = table === TAILS;
1995
+ const k = tail ? TAIL_FAST : HEAVY;
1987
1996
  return p.heavy ? {
1988
1997
  ...c,
1989
- ticks: Math.round((c.ticks - c.hold) * HEAVY),
1990
- strike: Math.round((c.strike - c.hold) * HEAVY),
1991
- reach: c.reach + HEAVY_REACH,
1998
+ ticks: Math.round((c.ticks - c.hold) * k),
1999
+ strike: Math.round((c.strike - c.hold) * k),
2000
+ reach: c.reach + (tail ? TAIL_FAR : HEAVY_REACH),
1992
2001
  arc: c.arc * HEAVY_ARC,
1993
2002
  hp: c.hp + HEAVY_HP
1994
2003
  } : c;
@@ -6920,7 +6929,7 @@ var step = (p, i, w, team, armed = true, bodies = [], kit = KITS[0]) => {
6920
6929
  p.swing = swingOf(p, table).ticks;
6921
6930
  } else if (kit.xeno && top && free && !holding && (p.charge ?? 0) > 0) {
6922
6931
  p.charge = 0;
6923
- p.swing = ticks - 1;
6932
+ p.swing = ticks - hold - 1;
6924
6933
  } else {
6925
6934
  p.charge = top || kit.xeno && !p.heavy ? 0 : p.charge;
6926
6935
  const s = p.swing ?? 0;
@@ -6943,8 +6952,9 @@ var step = (p, i, w, team, armed = true, bodies = [], kit = KITS[0]) => {
6943
6952
  (p.rifle ?? -1) >= 0
6944
6953
  ];
6945
6954
  const want = i.keys & KEY.BLADE ? 1 : i.keys & KEY.RAIL ? 2 : i.keys & KEY.RIFLE ? 3 : 0;
6946
- const fists = gear && !!(i.keys & KEY.FISTS) && !(p.swing && p.wield);
6947
- const hand = p.swing && p.wield ? 1 : fists ? -1 : has[want] ? want : has.indexOf(true);
6955
+ const fists = gear && !own && !!(i.keys & KEY.FISTS) && !(p.swing && p.wield);
6956
+ const first = own && has[1] ? 1 : has.indexOf(true);
6957
+ const hand = p.swing && p.wield ? 1 : fists ? -1 : has[want] ? want : first;
6948
6958
  if (hand != (p.fists ? -1 : p.rifled ? 3 : p.railed ? 2 : +!!p.wield)) p.reload = 0;
6949
6959
  if (p.swing && hand >= 0 && !p.wield) p.swing = 0;
6950
6960
  [p.wield, p.railed, p.rifled, p.fists] = [
@@ -7041,8 +7051,13 @@ var step = (p, i, w, team, armed = true, bodies = [], kit = KITS[0]) => {
7041
7051
  p.shots = p.shots + 1 & 255;
7042
7052
  return STRIKE.LASER;
7043
7053
  }
7044
- } else if (p.railed && own) return STRIKE.RAIL;
7045
- else if (p.railed) {
7054
+ } else if (p.railed && own) {
7055
+ if (!p.cool) {
7056
+ p.cool = 15;
7057
+ p.shots = p.shots + 1 & 255;
7058
+ return STRIKE.RAIL;
7059
+ }
7060
+ } else if (p.railed) {
7046
7061
  if (p.cap && !p.reload && !p.hot) {
7047
7062
  p.heat = (p.heat ?? 0) + 1;
7048
7063
  p.hot = p.heat >= 120;
@@ -7078,6 +7093,30 @@ var step = (p, i, w, team, armed = true, bodies = [], kit = KITS[0]) => {
7078
7093
  return STRIKE.NONE;
7079
7094
  };
7080
7095
  /**
7096
+ * The half width and height of the screen as the shoulder cannon's lock reads it, as the tangents
7097
+ * of the look's half angles: a 70° view high on a 16:9 screen. Host and client share it, so the
7098
+ * lock breaks on both when the target leaves it.
7099
+ */
7100
+ var SCREEN = [1.2, .7];
7101
+ /** Whether `point` is on the screen of an eye at `eye` looking along `yaw` and `pitch` (SCREEN). */
7102
+ var onScreen = (eye, yaw, pitch, point) => {
7103
+ const [cp, sp, cy, sy] = [
7104
+ Math.cos(pitch),
7105
+ Math.sin(pitch),
7106
+ Math.cos(yaw),
7107
+ Math.sin(yaw)
7108
+ ];
7109
+ const d = [
7110
+ 0,
7111
+ 1,
7112
+ 2
7113
+ ].map((i) => point[i] - eye[i]);
7114
+ const z = -d[0] * sy * cp + d[1] * sp - d[2] * cy * cp;
7115
+ const x = d[0] * cy - d[2] * sy;
7116
+ const y = d[0] * sy * sp + d[1] * cp + d[2] * cy * sp;
7117
+ return z > 0 && Math.abs(x) < SCREEN[0] * z && Math.abs(y) < SCREEN[1] * z;
7118
+ };
7119
+ /**
7081
7120
  * The xenomorph's blows: FIRE swipes the left claws, then the right while it goes on, a fresh press
7082
7121
  * after a swipe's strike throwing the next at once (BLOW). The right button (KEY.BLADE) strikes with
7083
7122
  * the tail as FIRE cuts with the katana (TAILS): by the keys (cutOf()), its special with SPECIAL (a
@@ -9608,8 +9647,6 @@ var Room = class {
9608
9647
  gone;
9609
9648
  /** The plasma balls in flight, and the ones that burst since the last snapshot, which sends them once more. */
9610
9649
  balls = [];
9611
- /** Last tick a Hunter's shoulder laser hit, by player id. */
9612
- hunterLasers = /* @__PURE__ */ new Map();
9613
9650
  /** Target and start tick of each Hunter's uninterrupted shoulder-laser lock. */
9614
9651
  hunterLocks = /* @__PURE__ */ new Map();
9615
9652
  /** The map's rovers, in the order of WorldDef.rovers, then its ships (ship.ts). */
@@ -9847,13 +9884,15 @@ var Room = class {
9847
9884
  this.hunterLocks.delete(p.info.id);
9848
9885
  continue;
9849
9886
  }
9850
- const target = this.shoulderTarget(p, void 0);
9851
9887
  const lock = this.hunterLocks.get(p.info.id);
9852
- if (!target) this.hunterLocks.delete(p.info.id);
9853
- else if (lock?.target !== target.id) this.hunterLocks.set(p.info.id, {
9854
- target: target.id,
9855
- since: now
9856
- });
9888
+ if (lock && !this.lockedOn(p, lock.target, void 0)) this.hunterLocks.delete(p.info.id);
9889
+ if (!this.hunterLocks.has(p.info.id)) {
9890
+ const target = this.shoulderTarget(p, void 0);
9891
+ if (target) this.hunterLocks.set(p.info.id, {
9892
+ target: target.id,
9893
+ since: now
9894
+ });
9895
+ }
9857
9896
  }
9858
9897
  for (const b of this.balls) if (!b.burst && b.left > 0) this.fly(b, stepOf(b));
9859
9898
  this.heal(players);
@@ -10462,34 +10501,53 @@ var Room = class {
10462
10501
  }
10463
10502
  return target;
10464
10503
  }
10465
- /** Fires only after an uninterrupted three-second target lock; damage is three HP. */
10466
- shoulder(p, view) {
10467
- const target = this.shoulderTarget(p, view);
10468
- const lock = this.hunterLocks.get(p.info.id);
10469
- if (!target || lock?.target !== target.id || this.ticks - lock.since < 180 || this.ticks - (this.hunterLasers.get(p.info.id) ?? -Infinity) < 18) return;
10470
- const origin = [
10504
+ /** The enemy `id` as `p` saw him at `view`, while he is up, in range and on p's screen (onScreen()). */
10505
+ lockedOn(p, id, view) {
10506
+ const foe = this.enemies(p, view).find((q) => q.id === id);
10507
+ const eye = [
10471
10508
  p.state.x,
10472
10509
  p.state.y + eyeHeight(p.state),
10473
10510
  p.state.z
10474
10511
  ];
10475
- const delta = [
10476
- target.x,
10477
- target.y + eyeHeight(target) * .65,
10478
- target.z
10479
- ].map((v, i) => v - origin[i]);
10480
- const distance = Math.hypot(...delta) || 1;
10481
- const yaw = Math.atan2(-delta[0], -delta[2]);
10482
- const pitch = Math.asin(delta[1] / distance);
10483
- const aimed = beam(this.world, {
10484
- ...p.state,
10485
- yaw,
10486
- pitch
10487
- }, [target]);
10488
- if (aimed.hit?.id !== target.id) return;
10489
- this.hunterLasers.set(p.info.id, this.ticks);
10490
- p.state.hits = p.state.hits + 1 & 255;
10491
- const foe = this.players().find((q) => q.info.id === target.id);
10492
- if (foe) this.shot(foe, 3, p, aimed.d[0], aimed.d[2]);
10512
+ const point = foe && [
10513
+ foe.x,
10514
+ foe.y + eyeHeight(foe) * .65,
10515
+ foe.z
10516
+ ];
10517
+ return foe && point && !foe.down && Math.hypot(...point.map((v, i) => v - eye[i])) < 80 && onScreen(eye, p.state.yaw, p.state.pitch, point) ? foe : void 0;
10518
+ }
10519
+ /**
10520
+ * A shot of the shoulder cannon (gun.ts paces them): at the foe locked on for HUNTER_LASER_LOCK,
10521
+ * else straight down the look. The first enemy in its line takes HUNTER_LASER_HP.
10522
+ */
10523
+ shoulder(p, view) {
10524
+ const lock = this.hunterLocks.get(p.info.id);
10525
+ const target = lock && this.ticks - lock.since >= 180 ? this.lockedOn(p, lock.target, view) : void 0;
10526
+ let aim = p.state;
10527
+ if (target) {
10528
+ const origin = [
10529
+ p.state.x,
10530
+ p.state.y + eyeHeight(p.state),
10531
+ p.state.z
10532
+ ];
10533
+ const delta = [
10534
+ target.x,
10535
+ target.y + eyeHeight(target) * .65,
10536
+ target.z
10537
+ ].map((v, i) => v - origin[i]);
10538
+ const distance = Math.hypot(...delta) || 1;
10539
+ aim = {
10540
+ ...p.state,
10541
+ yaw: Math.atan2(-delta[0], -delta[2]),
10542
+ pitch: Math.asin(delta[1] / distance)
10543
+ };
10544
+ }
10545
+ const aimed = beam(this.world, aim, this.enemies(p, view));
10546
+ const foe = this.players().find((q) => q.info.id === aimed.hit?.id);
10547
+ if (foe) {
10548
+ p.state.hits = p.state.hits + 1 & 255;
10549
+ this.shot(foe, 3, p, aimed.d[0], aimed.d[2]);
10550
+ }
10493
10551
  }
10494
10552
  /**
10495
10553
  * The rail gun's ring of `p` at the view tick `view`: every enemy within RING_R of him as `p` drew
@@ -29,6 +29,8 @@ export interface Tracer {
29
29
  a: Vec3;
30
30
  b: Vec3;
31
31
  }[]): void;
32
+ /** The Hunter's shoulder cannon's shot from `a` to `b`: a straight red beam that fades in CANNON seconds. */
33
+ laser(a: Vec3, b: Vec3): void;
32
34
  /** A ball burst at `at`: a splash of light and a spray of sparks; a laser rifle's, `red`, bigger and fiercer. */
33
35
  burst(at: Vec3, red?: boolean): void;
34
36
  /** A grenade burst at `at`: a white-hot fireball in orange puffs that swells and shrinks away, a shower of embers, a strong light. `size` times as wide for a vehicle blowing up. */
@@ -32,6 +32,8 @@ export interface Combat {
32
32
  step(a?: PlayerState, b?: PlayerState): void;
33
33
  /** One frame at `now` (ms): the balls, the flashes and the sounds of what changed since the last one, and the HUD. */
34
34
  frame(v: View | undefined, me: PlayerState | undefined, others: PlayerState[], keys: number, dt: number, now?: number): void;
35
+ /** Where the own shoulder cannon is locked on (a foe's chest), or undefined: its shots' beams go there. */
36
+ lock(at?: Vec3): void;
35
37
  }
36
38
  /** Shots between two states of a player, a u8 counter that wraps. */
37
39
  export declare const fired: (a?: PlayerState, b?: PlayerState) => number;
@@ -58,7 +60,7 @@ export declare const dreadful: (was: {
58
60
  life: number;
59
61
  vy: number;
60
62
  }, p: PlayerState) => boolean;
61
- export declare const createCombat: (world: World, audio: Pick<Audio, "play"> & Partial<Pick<Audio, "loop">>, hud: Pick<Hud, "vitals" | "hit" | "down">, fx: Pick<Effects, "fire" | "cut" | "wound" | "lie" | "quake" | "blow" | "punch">, tracer: Pick<Tracer, "flash" | "burst" | "blast" | "orbs" | "update" | "mount" | "crackle" | "charging" | "lightning" | "tesla">, ctl: {
63
+ export declare const createCombat: (world: World, audio: Pick<Audio, "play"> & Partial<Pick<Audio, "loop">>, hud: Pick<Hud, "vitals" | "hit" | "down">, fx: Pick<Effects, "fire" | "cut" | "wound" | "lie" | "quake" | "blow" | "punch">, tracer: Pick<Tracer, "flash" | "burst" | "blast" | "orbs" | "update" | "mount" | "crackle" | "laser" | "charging" | "lightning" | "tesla">, ctl: {
62
64
  pitch: number;
63
65
  }, balls: Pick<Balls, "fire" | "frame">,
64
66
  /** The muzzle of a runner's long gun as last drawn, from his feet (Renderer.muzzle()). */
@@ -16,7 +16,6 @@ export declare const SHOT: number[];
16
16
  export declare const HEAD_PX = 112;
17
17
  /** The haircuts of each body, in HAIRS_N's order: the man's by length (LENGTHS, soldier.ts), the woman's STYLE (hair.ts). */
18
18
  export declare const HAIR_NAMES: string[][];
19
- /** The classes, in ROLE's order (kit.ts): the name, what it is good at, what it pays for it, and where it plays. */
20
19
  export declare const ROLES: [name: string, pros: string, cons: string, where: string][];
21
20
  /** Capture the flag in a few lines, with the room's default rules. */
22
21
  export declare const GOAL: string[];
@@ -86,7 +85,7 @@ export interface Hud {
86
85
  */
87
86
  hunterVision(text?: string, scoped?: boolean, hint?: boolean): void;
88
87
  /** The Predator-style shoulder-laser sight, at a screen point and progressing to a lock. */
89
- hunterAim(at?: [number, number], progress?: number): void;
88
+ hunterAim(at?: [number, number], progress?: number, now?: number): void;
90
89
  /** The dark rim of a space helmet's visor around the screen: on while the own player wears one, off otherwise. */
91
90
  visor(on: boolean): void;
92
91
  /** The red vignette of a tackle, 0 (none) to 1 (full). */
@@ -39,6 +39,8 @@ export declare const hunterHarpoon: (lod: 0 | 1 | 2) => number[];
39
39
  * draws it deployed, along the look; stowed it lies back along the top of the shoulder.
40
40
  */
41
41
  export declare const CANNON_HINGE: Vec3;
42
+ /** The foot of the cannon's post, on its saddle on the left shoulder. */
43
+ export declare const CANNON_POST: Vec3;
42
44
  /** Radians the stowed cannon is turned about its hinge's right axis from the deployed one: muzzle back. */
43
45
  export declare const CANNON_FOLD = 2.9;
44
46
  /** The cannon's muzzle, from its hinge, deployed (the stepped muzzle's face). */
@@ -27,12 +27,12 @@ export declare const WEAPON: {
27
27
  export declare const slotted: (slot: number, hunter?: boolean) => number;
28
28
  /** The choice after a key: 1 the gun, 2 the katana, 3 the rail gun, 4 the laser rifle (the Hunter's slots by slotted()), any other key keeps it. */
29
29
  export declare const picked: (weapon: number, code: string, hunter?: boolean) => number;
30
- /** Which of the gun, the katana, the rail gun and the laser rifle a player has; all of them when there is no state yet. */
31
- export declare const owned: (p?: PlayerState) => boolean[];
30
+ /** Which of the gun, the katana, the rail gun, the laser rifle and the fists a player has (the Hunter no fists); all of them when there is no state yet. */
31
+ export declare const owned: (p?: PlayerState, hunter?: boolean) => boolean[];
32
32
  /**
33
33
  * Follow the spawn's weapon and switch to newly picked-up special weapons unless fists are selected.
34
34
  */
35
- export declare const chosen: (weapon: number, was?: PlayerState, now?: PlayerState) => number;
35
+ export declare const chosen: (weapon: number, was?: PlayerState, now?: PlayerState, hunter?: boolean) => number;
36
36
  /** The keys of a step with KEY.BLADE set while the katana is the choice, KEY.RAIL while the rail gun is, KEY.RIFLE while the rifle is. */
37
37
  export declare const withWeapon: (keys: number, weapon: number) => number;
38
38
  /** The choice the wheel turns to, `dir` 1 or -1: the next weapon he has in slot order, including fists. */
@@ -21,7 +21,9 @@ export declare const TAIL: {
21
21
  * forward down into the view), its turn about the pelvis' up (radians, to its left: through its
22
22
  * right side, a tail pointing back turns forward), its lean to the right, its reach (as a share of
23
23
  * its length, a whip stretched), how much of the hook at its tip it keeps, how far its root
24
- * rises, how far it coils in an S, and how strongly its tip follows the aim.
24
+ * rises, how far it coils in an S, how strongly its stinger follows the aim, and how far its tip
25
+ * is drawn onto the foe ahead of the eyes (tail(), the user 2026-11-23: in the own view the strike
26
+ * lands on the crosshair).
25
27
  */
26
28
  export type Lash = readonly [
27
29
  sting: number,
@@ -31,7 +33,8 @@ export type Lash = readonly [
31
33
  hook: number,
32
34
  rise: number,
33
35
  coil?: number,
34
- aim?: number
36
+ aim?: number,
37
+ pull?: number
35
38
  ];
36
39
  /** At rest: behind, hooked. */
37
40
  export declare const HOOKED: Lash;
@@ -21,7 +21,8 @@ export declare const cutOf: (keys: number, thrust?: boolean) => number;
21
21
  /**
22
22
  * The swing `p` is in, its numbers as CUTS has them (`table`; the xenomorph's is TAILS): the cut's
23
23
  * own, or, for a heavy release (`heavy`), the rest of it from the top of its wind-up, HEAVY times as
24
- * slow, with its own timer from there, and harder and wider.
24
+ * slow, with its own timer from there, and harder and wider. The tail's (TAILS) is fast and long
25
+ * instead: TAIL_FAST times its time, TAIL_FAR metres further.
25
26
  */
26
27
  export declare const swingOf: (p: Pick<PlayerState, "cut" | "heavy">, table?: typeof CUTS) => {
27
28
  ticks: number;
@@ -261,6 +261,12 @@ export declare const TAILS: {
261
261
  knock: number;
262
262
  }[];
263
263
  export declare const TAIL_LEAP = 10;
264
+ /**
265
+ * The tail's charged release (the user, 2026-11-23: let go, it goes far at full power): no slower
266
+ * than a tap but TAIL_FAST times its time from the top, and TAIL_FAR metres further, where the
267
+ * katana's heavy release is HEAVY times as slow and HEAVY_REACH further (swingOf()).
268
+ */
269
+ export declare const TAIL_FAST: number, TAIL_FAR: number;
264
270
  export declare const PUNCH_HITS: number, PUNCH_STUN: number, PUNCH_MEMORY: number;
265
271
  /**
266
272
  * The xenomorph (the user, 2026-11-15; kit.ts). XENO_HP health. It clings to a wall it faces with
@@ -382,8 +388,8 @@ export declare const DISK_COOL = 75;
382
388
  export declare const HUNTER_LASER_LOCK: number;
383
389
  /** Damage dealt by a locked Hunter shoulder laser. */
384
390
  export declare const HUNTER_LASER_HP = 3;
385
- /** Ticks between assisted shoulder-laser hits. */
386
- export declare const HUNTER_LASER_COOL = 18;
391
+ /** Ticks between two shots of the shoulder cannon held down; `cool` is 4 bits on the wire, so 15 at most. */
392
+ export declare const HUNTER_LASER_COOL = 15;
387
393
  /** Plasma balls in flight in a room at most: past it the oldest bursts. They go on the wire. */
388
394
  export declare const PLASMA_MAX = 64;
389
395
  /** Ball.power of a vehicle's laser bolt (rover.ts): past CHARGE_MAX, so it names the bolt. It flies at BOLT_SPEED m/s. */
@@ -50,6 +50,14 @@ export type Strike = (typeof STRIKE)[keyof typeof STRIKE];
50
50
  * `armed` is false while the match is over: no weapon, no rack. `bodies` are move()'s.
51
51
  */
52
52
  export declare const step: (p: PlayerState, i: Input, w: World, team: number, armed?: boolean, bodies?: readonly Body[], kit?: Kit) => Strike;
53
+ /**
54
+ * The half width and height of the screen as the shoulder cannon's lock reads it, as the tangents
55
+ * of the look's half angles: a 70° view high on a 16:9 screen. Host and client share it, so the
56
+ * lock breaks on both when the target leaves it.
57
+ */
58
+ export declare const SCREEN: readonly [number, number];
59
+ /** Whether `point` is on the screen of an eye at `eye` looking along `yaw` and `pitch` (SCREEN). */
60
+ export declare const onScreen: (eye: readonly number[], yaw: number, pitch: number, point: readonly number[]) => boolean;
53
61
  /** A lock that is a saber lock, not a glory kill's execution: the blades cross. */
54
62
  export declare const sabering: (p: Pick<PlayerState, "lock" | "exec">) => boolean;
55
63
  /** The strength a charge of `ticks` gives, 1 to CHARGE_MAX: 1 under CHARGE_TAP, CHARGE_MAX at CHARGE_TICKS. */
@@ -21,8 +21,6 @@ export declare class Room {
21
21
  private gone;
22
22
  /** The plasma balls in flight, and the ones that burst since the last snapshot, which sends them once more. */
23
23
  private balls;
24
- /** Last tick a Hunter's shoulder laser hit, by player id. */
25
- private hunterLasers;
26
24
  /** Target and start tick of each Hunter's uninterrupted shoulder-laser lock. */
27
25
  private hunterLocks;
28
26
  /** The map's rovers, in the order of WorldDef.rovers, then its ships (ship.ts). */
@@ -196,7 +194,12 @@ export declare class Room {
196
194
  private rail;
197
195
  /** The shoulder laser's assisted target, kept inside a narrow forward cone and clear line of sight. */
198
196
  private shoulderTarget;
199
- /** Fires only after an uninterrupted three-second target lock; damage is three HP. */
197
+ /** The enemy `id` as `p` saw him at `view`, while he is up, in range and on p's screen (onScreen()). */
198
+ private lockedOn;
199
+ /**
200
+ * A shot of the shoulder cannon (gun.ts paces them): at the foe locked on for HUNTER_LASER_LOCK,
201
+ * else straight down the look. The first enemy in its line takes HUNTER_LASER_HP.
202
+ */
200
203
  private shoulder;
201
204
  /**
202
205
  * The rail gun's ring of `p` at the view tick `view`: every enemy within RING_R of him as `p` drew
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.207.0",
5
+ "version": "0.207.2",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"