Skip to content

CreditsSceneOptions beta ​

Interface of @v12-engine/client/app

ts
export interface CreditsSceneOptions

What a scene of the credits is made with (creditsScene)

Members ​

back ​

ts
back?: {
        label?: string;
        scene?: SceneRef;
    };

The way back out (Esc too): what it says (Back), and the scene it goes to (the list of scenes when left out)

id ​

ts
id?: string;

The scene's id: credits when left out

music ​

ts
music?: string;

A track played while they scroll, again and again (a URL)

name ​

ts
name?: string;

What the scene is called in the list of scenes

sections ​

ts
sections: CreditsSection[];

Who made the game, in parts, in the order they scroll

speed ​

ts
speed?: number;

How fast they scroll, in pixels a second: 40 when left out

title ​

ts
title?: string;

Over the credits, first in the scroll: Credits when left out