sprite trouble

Blitz3D Forums/Blitz3D Beginners Area/sprite trouble

Nate the Great(Posted 2008) [#1]
How can I get a sprite to look solid (entityblend spt,0) while not drawing the black background. I know I saw how to do it in the command refference, but I couldn't find it.


Mortiis(Posted 2008) [#2]
is it %100 black (rgb 0,0,0)


Nate the Great(Posted 2008) [#3]
Yes it is. I went into paint and tediously spent an hour making sure that it had an (rgb 0,0,0) background. I also set the cameraclscolor 0,0,255. Could that be my problem?


chwaga(Posted 2008) [#4]
I think what you want is an alpha map, that way you can antialias it.


Nate the Great(Posted 2008) [#5]
How would I make an alpha map?


flyingrob(Posted 2008) [#6]
Texture the sprite with a texture that has the (rgb 0,0,0) background like you had, then add the number 4 after the texture name to make the black texture invisible., like so ---------------------------------- texture=LoadTexture ("glass-win1.png",4) ----------------- let me know if it works.


Nate the Great(Posted 2008) [#7]
Great!!! Thanks!!! This will make my game look much better! It looked pretty bad when everything had a black box around it.