SpriteFrame |
Top Previous Next |
Syntax SpriteFrame(sprite as POINTER,frame as UINT) Description Sets the current image frame of the sprite Parameters sprite - Sprite pointer returned by LoadSprite. frame - The zero based image frame. Return value None Remarks The image frame is sometimes referred to as the animation frame. A sprites image can contain one or more individual frames. The number of frames in an image is determined by the LoadSprite function. See Also: LoadSprite Example usage SpriteFrame badguy, 10 |