dialog_text.gd

Extends: RichTextLabel

Description

Constants Descriptions

DFLT_POSITION

const DFLT_POSITION: String = "dflt_position"

DFLT_SIZE

const DFLT_SIZE: String = "dflt_size"

Property Descriptions

wrap_width

@export var wrap_width: float = 200

limit_margin

@export var limit_margin: float = 4

used_when

@export var used_when: int = 0

Method Descriptions

play_text

func play_text(props: Dictionary) -> void

stop

func stop() -> void

disappear

func disappear() -> void

change_speed

func change_speed() -> void

Signals

  • signal animation_finished():
  • signal text_show_started():
  • signal text_show_finished():