GSDL::SpriteBase
Inherits GSDL::Directionable < GSDL::Area < GSDL::Collidable < GSDL::Centerable < GSDL::Entity < GSDL::Saveable < GSDL::Tweenable < Reference < Object
Constructors
Instance methods
draw(draw : Draw)
Sourcedraw_relative_to_camera?
Sourceflip_h?
Sourceflip_v?
Sourceground_y
The ground position (bottom) of the sprite, ignoring any height/oblique offsets. Used for depth sorting in 3/4 perspective.
height
Sourceon_screen?
Sourcerender_height
Sourcerender_offset_y
Sourcerender_width
Sourcerender_y
Sourcerotation
Sourcerotation=(rotation : Num)
Sourcesize
Sourcetexture
Sourcetint
Sourcetint=(tint : Color | Nil)
SourceBase update logic for all sprites.
Returns true if the sprite is on-screen and should continue updating,
or false if the subclass should abort its update.
ALWAYS call return unless super(dt) at the top of your custom update methods.
update_off_screen
Sourcewidth
Source