ArcBasicDocs

LoadAnimTexture

Loads an animated texture.

LoadAnimTexture ( filename$,flags,width,height,first,count )

Parameters

filename$
the picture file.
flags
texture flags, as for LoadTexture.
width
one frame's width, in pixels.
height
one frame's height.
first
the first frame to use, counting from 0.
count
how many frames to load.

Description

Loads a picture holding several frames, laid out in a grid all the same size, as one texture, and gives back its handle. Show a frame by giving its number to EntityTexture; changing the frame each moment animates water, fire or screens.

See also