Skip to content

replayScene beta ​

Function of @v12-engine/client/app

ts
export declare function replayScene(options?: {
    id?: string;
    exit?: GameScene['exit'];
    bar?: Own<ReplayBarProps>;
}): GameScene<ReplayArgs>;

A scene that plays a replay back: kept in this browser (id), or opened from a file (replay), from at (ReplayArgs). bar is the bar over it as the game draws it: a component or an element, given what plays the replay (ReplayPlayback). The client's (ReplayBar) when left out