PointClickEngine::UI::FloatingText
Inherits Reference < Object
Floating text that follows a character
Constructors
new(text : String, character_name : String, target_position : RL::Vector2)
SourceInstance methods
background_color
Sourcebackground_color=(background_color : RL::Color)
Sourcecharacter_name
Sourcecharacter_name=(character_name : String)
Sourcechoice_color
Sourcechoice_color=(choice_color : RL::Color)
Sourcechoice_hover_color
Sourcechoice_hover_color=(choice_hover_color : RL::Color)
Sourcechoice_spacing
Sourcechoice_spacing=(choice_spacing : Int32)
Sourcechoices
Sourcechoices=(choices : Array(DialogChoice))
Sourcefade_alpha
Sourcefade_alpha=(fade_alpha : Float32)
Sourcefade_out_duration
Sourcefade_out_duration=(fade_out_duration : Float32)
Sourcefade_out_start_time
Sourcefade_out_start_time=(fade_out_start_time : Float32)
Sourcefloat_amplitude
Sourcefloat_amplitude=(float_amplitude : Float32)
Sourcefloat_speed
Sourcefloat_speed=(float_speed : Float32)
Sourceframe_context
Sourceis_fading_in
Sourceis_fading_in=(is_fading_in : Bool)
Sourceis_fading_out
Sourceis_fading_out=(is_fading_out : Bool)
Sourceline_spacing
Sourceline_spacing=(line_spacing : Int32)
Sourcemax_width
Sourcemax_width=(max_width : Int32)
Sourceon_choice_selected
Sourceon_choice_selected=(on_choice_selected : Proc(Int32, Nil) | Nil)
Sourceon_text_completed
Sourceon_text_completed=(on_text_completed : Proc(Nil) | Nil)
Sourcepadding
Sourcepadding=(padding : Int32)
Sourceselected_choice
Sourceselected_choice=(selected_choice : Int32 | Nil)
Sourcetarget_position
Sourcetarget_position=(target_position : RL::Vector2)
Sourcetext
Sourcetext=(text : String)
Sourcetext_color
Sourcetext_color=(text_color : RL::Color)
Sourcevisible
Sourcevisible=(visible : Bool)
Source