Repository navigation
API Interface WorldConfig
Defined in: src/engine/core/worlds.ts:37
One World, as a declarative bootstrap lists it in project.json or as Engine.createWorld
takes it at runtime.
activationBudgetMs?: number;Defined in: src/engine/core/worlds.ts:67
ADR 0615: how many milliseconds of a frame activation's deferred start() calls may take. Default 4.
input?: boolean;Defined in: src/engine/core/worlds.ts:52
Whether the World receives local input. Default: the World with the main view does.
lobby?: LobbyOptions;Defined in: src/engine/core/worlds.ts:57
Turn on the lobby service in this server World (ADR 0068): see LobbyOptions and the multiplayer guide.
name: string;Defined in: src/engine/core/worlds.ts:39
Unique within the Engine.
renders?: boolean;Defined in: src/engine/core/worlds.ts:50
Whether the World wants to draw. Default: true unless it's tagged server. Of the Worlds that
want to, the first gets the Engine's main view (the editor tiles the others, ADR 0034).
replication?: ReplicationSettings;Defined in: src/engine/core/worlds.ts:59
How this World sends snapshots when it's a network server (ADR 0101). Ignored otherwise.
scenes?: readonly string[];Defined in: src/engine/core/worlds.ts:54
Scenes loaded when the World starts, in order (the first replaces, the rest are additive).
start?: "playing" | "held";Defined in: src/engine/core/worlds.ts:65
ADR 0615: "held" makes the World's first replacing load enter held at its swap, waiting for
WorldHandle.activate(); until then it plays (it may need to step to learn what to load). Default "playing".
Server Worlds can't be held.
systems?: SystemSelection;Defined in: src/engine/core/worlds.ts:55
tags?: readonly WorldTag[];Defined in: src/engine/core/worlds.ts:41
Default: DEFAULT_WORLD_TAGS.
tickRate?: number;Defined in: src/engine/core/worlds.ts:43
Fixed steps per second. Default: 1 / project.time.fixedDeltaTime (60).
timeScale?: number;Defined in: src/engine/core/worlds.ts:45
Starting time scale. Default 1.
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference