Legacy:Functions/Spritesets
From Spherical
Spritesets
- Sphere Spriteset object: Holds appearance, direction and base data for a map person.
- LoadSpriteset(filename): Load a Sphere Spriteset from filename.
- CreateSpriteset(frame_width, frame_height, num_images, num_directions, num_frames): returns a blank spriteset object with the given dimensions
- Spriteset.save(filename): saves the spriteset object to 'filename'
- Spriteset.clone(): returns a copy of the spriteset object
- Sphere SpritesetBase object: Determines a person's collision box.
- Sphere SpritesetDirection object: Holds a direction name and animation sequence.
- Sphere SpritesetFrame object: A frame (image index, delay) in a SpritesetDirection.