DisplayTranslucentSprite()

Syntax

DisplayTranslucentSprite(#Sprite, x, y, Intensity)
Description
Display the #Sprite at the specified position on the current screen. The color 0 is considered transparent (this color will not be displayed). The intensity controls the transparency of the sprite over the background. Intensity values can vary from 0 (fully transparent) to 255 (opaque). This effect is also known as 'AlphaBlending'. This command is clipped, so it's perfectly legal to display the sprite outside of the screen.

This command works much faster if StartSpecialFX() is used.

Supported OS

Windows, Linux

<- DisplaySprite() - Sprite Index - DisplayTransparentSprite() ->