Data for sprite animation
Instance methods
active
Is the flipbook currently going? (Overwrites the PlayThing's sprite with current_frame if true)
Sourcecurrent_frame
The current frame that the flipbook is on
Sourcedelay
The delay in seconds between frames
SourceThe delay in seconds between frames
Sourceend_frame
The ending frame of the flipbook
Sourceend_frame=(end_frame :
Int32)
The ending frame of the flipbook
Sourcereset
Resets the current frame back to the beginning as well as restarting the delay
Sourceresume
Starts the flipbook while keeping the current frame and delay difference
Sourcestart
Starts the flipbook and resets the frame and delay
Sourcestart_frame
The starting frame of the flipbook
Sourcestart_frame=(start_frame :
Int32)
The starting frame of the flipbook
Sourcestop
Stops the flipbook and saves the current delay
Source