SpriteShadowOffset |
Top Previous Next |
Syntax SpriteShadowOffset(sprite as POINTER,x as INT,y as INT) Description Specifies the offset position to draw a sprites shadow with the drawing mode @TRANSSHADOW. Parameters sprite - Sprite pointer returned by LoadSprite. x, y - The offsets to position the shadow. Return value None Remarks Offsets are in negative directions. The transparency of the shadow is determined by the SpriteAlpha function. Note that with the @TRANSSHADOW drawing mode that only the shadow is drawn. You must switch modes to draw the actual sprite image. See Also: SpriteAlpha, LoadSprite Example usage SpriteAlpha sprite2,180 |