PlayOptions beta
Interface of @v12-engine/client
export interface PlayOptionsHow a cinematic is played
Members
back
back?: boolean;The camera goes back to where it was before, once it ends or is skipped: an intro. Otherwise it stays on what the cinematic looked at last, and eases back to how far and how steeply the player looks
hold
hold?: boolean;The game waits while it plays, where the simulation runs in the page (single player). It goes on otherwise
holdInput
holdInput?: boolean;The player's hands are off, but the HUD stays as it is: a tutorial pointing at something, a short move of the camera. Without it, and without hud, the HUD makes way as a whole
hud
hud?: readonly HudWidget[];The parts of the HUD that stay while it plays (HudWidget: minimap, objectives...); the rest make way
letterbox
letterbox?: boolean | number;Black bars above and below: as they are (true, when left out), none (false), or the ratio of the picture they leave between them (2.39: the widest of films; 1.85)
manual
manual?: boolean;For one of the view's that is both data and a script (CinematicEntry): the script plays the data itself, when it likes (cut.play(id)), rather than the data playing as the script starts
params
params?: Record<string, unknown>;What the cinematic is handed (see Cinematic)
rate
rate?: number;How fast the cinematic's clock goes against the screen's: 1 when left out, 0.5 is slow motion (CutClock.rate)
seed
seed?: number;The seed of what is random to look at in it (a handheld camera): the same seed, the same picture, on every screen. A number made of its id when left out
skippable
skippable?: boolean;The player can skip it with Esc. True when left out
startAt
startAt?: number;Seconds into the cinematic it begins at: the editor playing from where the playhead is