Skip to content

Interface: EngineOptions ​

Core interface types.

Properties ​

PropertyTypeDescription
adAdapter?IAdAdapterThe 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?IAudioBackendPluggable 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.
backendIBackend-
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?IPhysics2DBackendPluggable 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?StoreUrlsApplied to the chosen adapter via SetStoreUrls so OpenStore() with no arg picks the right one.
targetFps?number-
targetTps?number-

© 2026 PlayAdGentic