Difference between revisions of "Legacy:Functions/Animations"
From Spherical
(created) |
(No difference)
|
Latest revision as of 17:36, 22 May 2013
Animations
- Sphere Animation object
- LoadAnimation(filename): Load animation file and return an usable Animation object.
Animation frames
- Animation.getNumFrames(): Returns the number of frames the animation contains.
- Animation.getDelay(): Returns the delay between frames, in milliseconds.
- Animation.readNextFrame(): Readies the next frame for drawing.
- Animation.drawFrame(x, y): Draws the current frame into the video buffer.
- Animation.drawZoomedFrame(x, y, scale): Draws the current frame into the video buffer with a specified zoom scale.