Repository navigation
API Variable UIPreferences
const UIPreferences: object;Defined in: src/engine/ui/preferences.ts:110
The player's UI preferences (ADR 0431): reduced motion and colour scheme, as CSS @media and Svelte read them.
get colorScheme(): UIColorScheme;The colour scheme the player prefers: their choice, else the system's. Set null to follow the system again.
set colorScheme(value): void;UIColorScheme | null
void
get reducedMotion(): boolean;Whether the player prefers reduced motion: their choice, else the system's. Set null to follow the system again.
boolean
set reducedMotion(value): void;boolean | null
void
onChange(fn): () => void;Call fn after every change (the player's or the system's); returns the unsubscribe.
() => void
() => void
reset(): void;Follow the system's preferences again; the saved values are deleted.
void
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