DisplaySolidSprite()

Syntax

DisplaySolidSprite(#Sprite, x, y, Color)
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 sprite is displayed in a single 'Color'. RGB() can be used to get a valid color value. A table with common colors is available here.

The sprite must be an 8 bit (256 colors) sprite. It must be loaded with LoadSprite() using the #PB_Sprite_Alpha option. This function is clipped, so it's perfectly legal to display the sprite outside of the screen.

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

Supported OS

All

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