Skip to content

RuntimeOptions beta ​

Interface of @v12-engine/client

ts
export interface RuntimeOptions

What a runtime is made with

Members ​

dev ​

ts
dev?: boolean;

Whether the app is one being developed: the debug tools on, the console's handle on the game. As the bundler says when left out (isDev): a built game that keeps its debug tools says yes

groundWorker ​

ts
groundWorker?: GroundWorkerLike | (() => GroundWorkerLike);

The worker the ground's textures are made in (serveGroundTextures in its file), or what makes it at the first texture: this thread when left out

mixer ​

ts
mixer?: MixerOptions;

How the app's mix is, as it starts (ClientRuntime.mixer): a game's own buses, the duck, a low-pass on pause, snapshots

openCode ​

ts
openCode?: OpenCode;

What opens the project's code at a place, for the console's lines of a stack: none to offer when left out (the map editor sets it where its dev server's plugin is there: openCode)

storagePrefix ​

ts
storagePrefix?: string;

The name in front of everything the app keeps in the browser: v12 when left out

stores ​

ts
stores?: RuntimeStores;

Where the app keeps what the player saves and sets, in the place of the browser's (browserSaves, browserSettings under storagePrefix): a store of files in a desktop app's folder, a server's. Each one left out is the browser's