SpriteDrawMode

Top  Previous  Next

Syntax

SpriteDrawMode(sprite as POINTER,mode as UINT)

Description

Sets the current drawing mode of the sprite

Parameters

sprite - Sprite pointer returned by LoadSprite

mode - The new drawing mode

Return value

None

Remarks

mode can be one of the following:

@BLOCKCOPY

@ALPHA

@SCALED

@ROTOZOOM

@HFLIP

@VFLIP

@TRANS

@TRANSALPHA

@TRANSSCALED

@TRANSSHADOW

@TRANSROTOZOOM

@TRANSHFLIP

@TRANSVFLIP

Example usage

SpriteDrawMode goodguy, @TRANS