Sprite Constructor |
Name | Description | |
---|---|---|
![]() | Sprite(Sprite, Boolean) |
Create a Sprite that is based off of the specified sprite. Clone the Sprite except that
we set SpriteName = "" and OrigSpriteName = the OldSprite.SpriteName. That way we know that
the sprite was duplicated from the original, and we can still distinguish the original from
the duplicate.
|
![]() | Sprite(SpriteController, Image) |
Generate a new single-frame sprite from the specified image.
|
![]() | Sprite(SpriteController, Image, Size) |
Generate a new sprite. It takes the image and the width and height. If there are multiple images of that width
and height in the image, an animation is created.
|
![]() | Sprite(SpriteController, Image, Int32, Int32) |
Generate a new sprite. It takes the image and the width and height. If there are multiple images of that width
and height in the image, an animation is created.
|
![]() | Sprite(SpriteController, Image, Int32, Int32, Int32) |
Generate a new sprite. It takes a width, height, and the duration in Milliseconds for each frame
|
![]() | Sprite(Point, SpriteController, Image, Int32, Int32, Int32, Int32) |
Create a Sprite from an animation image, specifying the number of consecutive
frames to grab.
|