Legend

┗> Object > Class


The handler object for Legend-style cutscenes.
For the object that is received by legend cutscene scripts, see LegendCutscene.


Constructor


Legend(cutscene: any, options: any)

Arguments:

cutscene: any
options: any




Methods


Legend:addSlide(texture: any)

Arguments:

texture: any

Returns:

1: Sprite


Legend:onAddToStage(parent: any)

Arguments:

parent: any


Legend:onFinish(skip: any)

Arguments:

skip: any


Legend:onRemove(parent: any)

Arguments:

parent: any







Fields



Undocumented



Legend.background: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.





Legend.cover: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.



Legend.cutscene: any

A special cutscene class for Legend-style cutscenes.
Write an annotation here about how these cutscenes start!



Legend.cutscene: LegendCutscene

A special cutscene class for Legend-style cutscenes.
Write an annotation here about how these cutscenes start!



Legend.cutscene: nil

A special cutscene class for Legend-style cutscenes.
Write an annotation here about how these cutscenes start!



Legend.fader: Fader

A Fader is an Object that can be used to fade the screen in and out, usually using the instance stored at Game.fader
Modifying the fader's width, height, x, and y values can make it only affect a portion of the screen