How come alpha is colorkey on images?

Blitz3D Forums/Blitz3D Programming/How come alpha is colorkey on images?

ozak(Posted 2005) [#1]
I mean. We're using 3D hardware under the hood right? But I can't get smooth bitmaps when my alpha channel is treated as a simple colorkey.

Is the the expected behavior?


Beaker(Posted 2005) [#2]
Are you using the alpha flag of LoadTexture() ?

Or are you talking about 2D?


ozak(Posted 2005) [#3]
I'm talking about 2D :)
I'm probably going to convert it to 3D overlays instead to get it to work


big10p(Posted 2005) [#4]
I don't understand what you mean. What do you mean by "colorkey"?


Yan(Posted 2005) [#5]
Blitz uses DirectDraw for it's 2D operations which doesn't support alpha blending.


ozak(Posted 2005) [#6]
Ahh. I see. Say no more :)


Beaker(Posted 2005) [#7]
You could use one of the many 2D-in-3D libs around:
http://homepage.ntlworld.com/config/imagepacker/
http://www.x-pressive.com/SpriteCandy
amongst others.