Transparent sprite?

Blitz3D Forums/Blitz3D Beginners Area/Transparent sprite?

Braden(Posted 2008) [#1]
how do you create a Transparent sprite?


Matty(Posted 2008) [#2]
Many ways:
Use an alpha channel in your image (usually TGA or PNG format) and specify the alpha flag (2) when creating your texture or sprite.

Load a texture with the mask flag (4) and all black pixels in the image will be transparent.

Use the entityalpha command which will adjust the alpha transparency of the entity in question.

Creating an image with an alpha channel can be done in many ways, usually in your image editing program.