Class TSprite
Unit
Declaration
type TSprite = class(TObject)
Description
Warning: this symbol is deprecated: load sprite sheets to TCastleScene from .castle-sprite-sheet format
Sprite is an animation composed from frames arranged in rows and columns inside a single image. Frames are read from left to right and from top to bottom.
In the simple case, a sprite represents a single animation, and the frames are just in consecutive order.
With the help of "custom animations" feature, you can define many animations in a sprite. Each custom animation is an array of frames with corresponding frames duration. Frames can be in any order. It is valid to use some particural frame many times with different duration time.
Instead of this, load sprite sheets to TCastleScene from .castle-sprite-sheet format.
Source: base_rendering/castleglimages_sprite.inc (line 61).
Hierarchy
- TObject
- TSprite
Generated by PasDoc 0.17.0.snapshot.