PointClickEngine::Actions::OverlaySprite
Inherits Reference < Object
Sprite data for sequence rendering
Constructors
new(path : String, position : Raylib::Vector2, scale : Float32 = 1.0_f32, glow : Bool = false, glow_color : Raylib::Color | Nil = nil, tint : Raylib::Color = Raylib::WHITE, fade_in_duration : Float32 = 0.0_f32, animate : Bool = false, animation_frames : Int32 = 1, animation_fps : Float32 = 0.0_f32, glow_pulse : Bool = false, glow_pulse_speed : Float32 = 1.0_f32)
SourceInstance methods
alpha
Sourcealpha=(alpha : Float32)
Sourceanimate
Sourceanimate=(animate : Bool)
Sourceanimation_elapsed
Sourceanimation_elapsed=(animation_elapsed : Float32)
Sourceanimation_fps
Sourceanimation_fps=(animation_fps : Float32)
Sourceanimation_frames
Sourceanimation_frames=(animation_frames : Int32)
Sourcebegin_fade_out(duration : Float32)
Sourcecurrent_frame_path
Sourcefade_elapsed
Sourcefade_elapsed=(fade_elapsed : Float32)
Sourcefade_in_duration
Sourcefade_in_duration=(fade_in_duration : Float32)
Sourcefade_out_duration
Sourcefade_out_duration=(fade_out_duration : Float32)
Sourceglow
Sourceglow=(glow : Bool)
Sourceglow_color
Sourceglow_color=(glow_color : Raylib::Color | Nil)
Sourceglow_pulse
Sourceglow_pulse=(glow_pulse : Bool)
Sourceglow_pulse_speed
Sourceglow_pulse_speed=(glow_pulse_speed : Float32)
Sourcepath
Sourcepath=(path : String)
Sourceposition
Sourceposition=(position : Raylib::Vector2)
Sourceready_for_removal?
Sourceremoving
Sourceremoving=(removing : Bool)
Sourcescale
Sourcescale=(scale : Float32)
Sourcestart_position
Sourcestart_position=(start_position : Raylib::Vector2 | Nil)
Sourcetint
Sourcetint=(tint : Raylib::Color)
Sourceupdate(dt : Float32)
Source