Difference between revisions of "Legacy:Functions/Spritesets"

From Spherical
Jump to: navigation, search
(created)
 
(Spritesets: Include Spriteset.images, edited the base/directions, removed frames (because it should be explained in directions))
Line 7: Line 7:
 
* [[API:Spriteset/clone|Spriteset.clone]](): returns a copy of the [[API:Spriteset|spriteset]] object
 
* [[API:Spriteset/clone|Spriteset.clone]](): returns a copy of the [[API:Spriteset|spriteset]] object
  
* Sphere [[API:SpritesetBase|SpritesetBase]] object: Determines a person's collision box.
+
* [[API:Spriteset/images|Spriteset.images]][]: an array of all images in the spriteset.
* Sphere [[API:SpritesetDirection|SpritesetDirection]] object: Holds a direction name and animation sequence.
+
 
* Sphere [[API:SpritesetFrame|SpritesetFrame]] object: A frame (image index, delay) in a [[API:SpritesetDirection|SpritesetDirection]].
+
* Sphere [[API:Spriteset/base|Spriteset.base]]: contains properties holding coordinates of the spriteset's obstruction base.
 +
* Sphere [[API:Spriteset/directions|Spriteset.directions]]: holds an array of SpritesetDirection objects, which contain direction names and animation sequences.

Revision as of 14:01, 11 August 2013

Spritesets

  • Sphere Spriteset.base: contains properties holding coordinates of the spriteset's obstruction base.
  • Sphere Spriteset.directions: holds an array of SpritesetDirection objects, which contain direction names and animation sequences.