CREATE ANIMATED SPRITE This command will create an animated sprite.
Syntax
    CREATE ANIMATED SPRITE Sprite Number, Filename, Across, Down, Image Number
Parameters
    Sprite Number
Integer The sprite number
    Filename
String The size of the animation image across
    Across
Integer The size of the animation image down
    Down
Integer The Image Number will be used to hold the complete image
    Image Number
Integer Specify an image number between 1 and 2415919103.
Returns
This command does not return a value.
Description
The command automatically builds a sequence of animation frames from an image file by cutting up the image into a grid specified by the Across and Down Values. The Image Number will be used to hold the complete image. Use the PLAY SPRITE command to see the individual frames of this image. The parameters should be specified using integer values.
Example Code
    create animated sprite 1,"manwalking.bmp",1,16,16,1

    cls

    sprite 1,100,100,1

    play sprite 1,0,10,100

    print "sprite frame ",sprite frame(1)

    do

    loop

    end
See also
SPRITE Commands Menu Index