New4
Previous Top Next

Initializes the sprite object and creates a new sprite.
New4 is similar to New3 except that it loads the frames from an array of bitmaps (in memory) and saves a significant amount of time processing a single bitmap into a set of animation frames. Typically the bitmap array will come from the FrameBitmaps property of another Sprite.
Syntax: New4 (Frames As Bitmap(), FrameCount As Int32, FrameWidth As Int32)