LoadFrames
Previous Top Next

Replaces the Sprite animation sequence with the one from the bitmap array specified.
Syntax: LoadBitmap(FramesAs Bitmap(), FrameCount As Int32, FrameWidth As Int32, FrameHeight As Int32)
Frames- An array of bitmaps.
FrameCount - Number of frames in the array.
FrameWidth - The width of each frame and the width of the sprite.
FrameHeight - The height of each frame and the height of the sprite.

Example:
explodeSprite.LoadBitmap(StockSprite.FrameBitmaps,5,44,44)