BitmapSprite
: create a sprite by loading a bitmap
fileThe BitmapSprite
example creates an animated sprite by
loading a bitmap (.mbm
) file. The sprite is a rotating windmill
which can be moved around the screen using the arrow keys.
As in the previous example, the sprite is created by setting up the sprite members to contain bitmaps, then appending them to the sprite. In this example, however, the bitmaps are loaded from a file rather than created using off-screen bitmaps drawn to using a graphics context.
CSprite
: Uses class RWsSprite
by setting
up the sprite members to contain bitmaps then appending them to the sprite. In
this example, the bitmaps are loaded from a file.
RWsSpriteBase
: : Abstract base class for
sprites
RWsSprite
: Sprite
struct TSpriteMember
: Sprite member
CFbsBitmap
: Font-bitmap server bitmap