Sprite Transparency

Blitz3D Forums/Blitz3D Programming/Sprite Transparency

Jerome Squalor(Posted 2007) [#1]
How do I stop my loaded sprites from being transparent?

EntityAlpha doesn't work.

Thanks in advance


Mortiis(Posted 2007) [#2]
Try LoadSprite("bla.bla", 7)

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


Stevie G(Posted 2007) [#3]

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




Naughty Alien(Posted 2007) [#4]
@Stevie LOL :)


Mortiis(Posted 2007) [#5]
Stevie I hate you :D just kidding...


Jerome Squalor(Posted 2007) [#6]
thnx everyone it worked