View source
typedef DialogueEntryData
package funkin.data.dialogue
import funkin.data.dialogue.ConversationData
Available on all platforms
Data on a single line of dialogue in a conversation.
Fields
text:Array<String>
* The text that will display for this line of dialogue.
* Text will automatically wrap.
* When the user advances the dialogue, the next entry in the array will concatenate on.
* Advancing when the last entry is displayed will move to the next `DialogueEntryData`,
* or end the conversation if there are no more.
optionalspeed:Null<Float>
* The relative speed at which text gets "typed out".
* Setting `speed` to `1.5` would make it look like the character is speaking quickly,
* and setting `speed` to `0.5` would make it look like the character is emphasizing each word.