Interface: EngineOptions
Core interface types.
Properties
| Property | Type | Description |
|---|---|---|
adAdapter? | IAdAdapter | The ad network bridge: a network's adapter (mmpx/ad-<network>), or AdAdapterRegistry.Detect() to probe at runtime (bundles every detectable adapter). Default: DefaultAdAdapter (no network). |
audio? | IAudioBackend | Pluggable audio backend — independent of the renderer backend. Omit to disable audio entirely (engine.GetAudio() returns null; AudioSystem no-ops). Pick from any mmpx/audio-* subpath export, or supply your own IAudioBackend. |
backend | IBackend | - |
build? | Partial<BuildInfo> | What this build is (Game.build). Defaults to empty values. |
features? | readonly EngineFeature[] | Optional features this build carries (mmpx → Features: Particles2DFeature, Physics2DFeature, …; ALL_FEATURES for tools that run anything). Left out, their components don't load and their systems don't exist — and none of their code is in the bundle. |
physics2D? | IPhysics2DBackend | Pluggable 2D physics — e.g. new PlanckPhysics2DBackend() from mmpx/physics-planck. Omit and Rigidbody2D / colliders / joints sit idle. Settings default per Physics2DSettings. |
physics2DSettings? | Partial<Physics2DSettings> | - |
storeUrls? | StoreUrls | Applied to the chosen adapter via SetStoreUrls so OpenStore() with no arg picks the right one. |
targetFps? | number | - |
targetTps? | number | - |