textureplay resource

 Function Name  Parameter  Return  Explain
clear None None clear texture list
addTexture number None append a texture to list
delTexture number None remove a texture from list
getCurTexture None number get current texture
getFrameCount None number nFrameCount get the number of textures in list
getCurFrame None number nFrame get current texture's index to the list (0..nFrameCount-1)
setCurFrame number nFrame None set current frame
getFrameTime None number get the time between two frames
setFrameTime number None set the frame time (determine play speed)

Styles List

TPS_NOTCIRCLE --not circle