Sprite Transparency

Blitz3D Forums/Blitz3D Programming/Sprite Transparency

How do I stop my loaded sprites from being transparent?

EntityAlpha doesn't work.

Thanks in advance

Try LoadSprite("bla.bla", 7)

If it's wrong again I'm going to suicide :D


Try LoadSprite("bla.bla", 7)

If it's wrong again I'm going to suicide :D



Will they have prawn canapes at your funeral? :) Using flag 7 ( 1+2+4 ) includes the alpha flag.


Following on from your other thread re sprites ... Just change the 'flag' to '1' when using loadanimtexture.


flags (optional) - texture flag:
1: Color (default)
2: Alpha
4: Masked
8: Mipmapped
16: Clamp U
32: Clamp V
64: Spherical reflection map
128: Cubic environment map
256: Store texture in vram
512: Force the use of high color textures



@Stevie LOL :)

Stevie I hate you :D just kidding...

thnx everyone it worked