Skip to content

packagedRuntimeInit

packagedRuntimeInit(config): object

Defined in: runtime/packagedRuntime.ts:166

The initRuntime arguments a packaged config declares — everything applied to a LIVE app rather than baked into its construction. The twin of packagedAppOptions; between them a host names the config once.

Pick<PackagedGameConfig, "physicsEnabled" | "physicsConfig" | "audioConfig" | "uiTheme" | "uiThemeColors" | "achievements" | "steamAppId" | "screenFit">

object

optional achievements?: string[]

optional audioConfig?: AudioProjectConfig

optional physicsConfig?: PhysicsPluginConfig

optional physicsEnabled?: boolean

optional screenFit?: object

designHeight: number

designWidth: number

matchWidthOrHeight: number

scaleMode: number

optional steamAppId?: number

optional uiTheme?: "light"

optional uiThemeOverrides?: ThemeOverrides