@adatechnology/game-test-room 0.22.0 → 0.24.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.
package/dist/index.d.ts CHANGED
@@ -406,6 +406,8 @@ interface RoomAvatarState {
406
406
  running: boolean;
407
407
  crouch: boolean;
408
408
  down: boolean;
409
+ /** Which way the body falls while `down`: true face down, false on its back; left out, the avatar picks. A blast falls it the way it pushed. */
410
+ fallForward?: boolean;
409
411
  /** A firearm is the tool in hand. */
410
412
  armed: boolean;
411
413
  /** Camera pitch, radians, positive looking up (the room's own convention). */
@@ -749,6 +751,11 @@ interface TestRoomOptions {
749
751
  audio?: AudioEngine | false;
750
752
  /** Where the kit's recorded sound files (game-audio `assets/sfx/`) are served, for the room's engine (default `./sfx/`); `null` plays the recipes only. */
751
753
  samplesBaseUrl?: string | null;
754
+ /**
755
+ * Where the owner's own sounds are served (`sfx:user` of game-audio writes them to `.sfx-local/`, kept out of git), default `./sfx-local/`; `null`
756
+ * leaves them out. They load after the kit's: a sound the kit lacks plays the owner's file, and one the kit has keeps the kit's in front.
757
+ */
758
+ userSamplesBaseUrl?: string | null;
752
759
  /** The environment store modules get as `host.environment` (the weather module writes it, the others read it). Default: a new one with a calm dry day. */
753
760
  environment?: EnvironmentBus;
754
761
  /** Show the built-in HUD and panels (default true). */