RunGame beta
Interface of @v12-engine/editor
ts
export interface RunGameA web game opened from the editor (EditorRun.openGame), as it last said
Members
fps
ts
fps?: number;Frames a second, over its last second: 0 in a tab that is not drawn
hidden
ts
hidden?: boolean;Its tab is not the one shown
id
ts
id: string;The game's id, which its address and scene are told from
scene
ts
scene?: string;The scene it shows
state
ts
state: 'opening' | 'alive' | 'quiet';opening until it first speaks; alive, speaking; quiet when it has said nothing for a while (a tab in the background may be slowed that much)
url
ts
url?: string;The address it was opened at, where this editor opened it