GameOver

┗> Object > Class


An object that is created whenever the player reaches a Game Over, responsible for managing the GameOver sequence.
The type of GameOver that plays (Chapter 1, Chapter 2, or Undertale) is dependent on the mod configuration and whether the death occurred in the Light World or not.


Constructor


GameOver(x: any, y: any)

Arguments:

x: any
y: any




Methods




GameOver:onKeyPressed(key: any)

Arguments:

key: any


GameOver:onRemove(parent: Object)

Arguments:

parent: Object

The base class of all objects in Kristal.
When added to the stage, an object will be updated and rendered.






Undocumented









GameOver.dialogue: DialogueText

The DialogueText object displays text letter-by-letter.







GameOver.font: love.Font

Defines the shape of characters that can be drawn onto the screen.

Open in Browser













GameOver.soul: Sprite

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





GameOver.text: Sprite

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