Replaces the Sprite animation sequence with the one from the file specified.
Syntax: LoadFile(FileName As String, FrameCount As Int32, FrameWidth As Int32,
FrameHeight As Int32, FramesPerRow As Int32)
FileName - The image file that includes the sprite's images.
FrameCount - Number of frames to load.
FrameWidth - The width of each frame and the width of the sprite.
FrameHeight - The height of each frame and the height of the sprite.
FramesPerRow - Number of frames in each row of the image file.
Example:
explodeSprite.LoadFile(AppPath & "\explode.gif",5,44,44,5)