Constructor
SpeechBubble(text: number, x: number, y: number, options: number, speaker: any)
Arguments:
| text: number | |
| x: number | |
| y: number | |
| options: number | |
| speaker: any |
Methods
SpeechBubble:onRemoveFromStage(stage: Object)
Arguments:
| stage: Object | The base class of all objects in Kristal. |
SpeechBubble:setText(text: any, callback: any, line_callback: any)
Arguments:
| text: any | |
| callback: any | |
| line_callback: any |
Undocumented
SpeechBubble.actor: unknown
Actors are a type of data class that represent the visuals of a character - anything that is some type of character, be it the player, an NPC, or an enemy in battle, it will require an actor.
As a data class, actors are stored in scripts/data/actors/, and extend this class. Their filepath starting from here becomes their id, unless an id is specified as an argument to Class().
SpeechBubble.auto: boolean
Whether the bubble automatically resizes.
SpeechBubble.text: DialogueText
The DialogueText object displays text letter-by-letter.