Legacy:Functions/Animations
From Spherical
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.