Repository navigation
API Interface ThirdPartyManifest
Defined in: src/plugins/thirdParty.ts:35
A third-party plugin's plugin.json (ADR 0139).
readonly animationNodes?: readonly AnimationNodeModuleDecl[];Defined in: src/plugins/thirdParty.ts:53
ADR 0370 "Third-party graph and rig nodes" (T45t): animation graph and rig nodes as sandboxed wasm modules
([{ "module": "nodes/sway.wasm", "budget": 200000 }]), read without running plugin code. Parsed leniently: a bad
entry is dropped and a bad budget takes the default, each with a line in the plugin's warnings.
readonly assetKinds?: readonly PluginAssetKind[];Defined in: src/plugins/thirdParty.ts:42
readonly audio?: PluginAudio;Defined in: src/plugins/thirdParty.ts:47
ADR 0352 §3: DSP effects as sandboxed wasm modules, read without running plugin code. With it, runtime and
editor are optional: a DSP-only plugin runs no JavaScript.
readonly componentCategories?: Readonly<Record<string, readonly string[]>>;Defined in: src/plugins/manifest.ts:26
The Add Component menu's submenu for the Components this plugin registers (ADR 0447): submenu label → Component
type ids, e.g. { Rendering: ["engine.CameraShake"] }. The engine's submenus ("Rendering", "Physics 2D",
"Physics 3D", "Navigation", "Audio", "UI", "Animation", "Networking", "Input") keep their order; a new label adds a
submenu after them. A Component left out lands in "Other". Read by the editor only, never runs code.
PluginManifest.componentCategories
readonly dependencies?: Readonly<Record<string, string>>;Defined in: src/plugins/manifest.ts:11
Plugin names this one needs, with version ranges (first-party plugins: the engine's version).
readonly description?: string;Defined in: src/plugins/manifest.ts:9
One sentence for the Plugins category.
readonly editor?: string;Defined in: src/plugins/thirdParty.ts:41
The editor half's entry, relative to the plugin folder (or package). Inside editor/ for a project plugin.
readonly name: string;Defined in: src/plugins/manifest.ts:4
Unique, e.g. "myco.sky".
readonly optionalDependencies?: Readonly<Record<string, string>>;Defined in: src/plugins/manifest.ts:17
Plugins this one works with when they are on, with version ranges (ADR 0374). Same shape as dependencies, but a
missing, disabled, failed or out-of-range one never blocks the plugin: it activates without it, and reads
ctx.plugins.isActive(name) to register its integration code. When one comes or goes the plugin activates again.
PluginManifest.optionalDependencies
readonly runtime?: string;Defined in: src/plugins/thirdParty.ts:39
The runtime half's entry, relative to the plugin folder (or package). Outside editor/ for a project plugin.
readonly sdk: string;Defined in: src/plugins/thirdParty.ts:37
The Myco SDK versions it works with: a semver range ("^1.0.0").
readonly server?: boolean;Defined in: src/plugins/manifest.ts:19
False for a runtime half the dedicated server skips (drawing only). Default true.
readonly title?: string;Defined in: src/plugins/manifest.ts:7
Shown in the Project settings' Plugins category and in messages. Falls back to name.
readonly version: string;Defined in: src/plugins/manifest.ts:5
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