AnimatedTextLabel ​
Inherits: RichTextLabel
A RichTextLabel that can type out text character by character Simplified version for conversation system use
Properties ​
float | seconds_per_character | 0.02 |
bool | pause_at_punctuation | true |
String | pause_characters | ".!?" |
float | punctuation_pause_duration | 0.15 |
Variables ​
bool | is_typing | false |
Methods ​
void | type_out_text( new_text: String ) |
void | finish_typing() |
void | skip_typing() |
bool | get_is_typing() |
Signals ​
typing_started() ​
========== SIGNALS ==========
typing_finished() ​
Emitted when the whole text has been typed.
typing_skipped() ​
Emitted when the player skipped the typing.
Property descriptions ​
float seconds_per_character = 0.02 ​
Speed at which text types out (seconds per character)
bool pause_at_punctuation = true ​
Pause longer at these punctuation marks
String pause_characters = ".!?" ​
Characters that trigger a pause
float punctuation_pause_duration = 0.15 ​
Duration of pause at punctuation (in seconds)
Variable descriptions ​
bool is_typing = false ​
========== RUNTIME STATE ==========
Method descriptions ​
void type_out_text( new_text: String ) ​
Start typing out the given text
void finish_typing() ​
Instantly finish typing and show all text
void skip_typing() ​
Skip the typing animation (same as finish_typing but emits different signal)
bool get_is_typing() ​
Check if currently typing