'drawing' transparency (SOLVED)

Started by Calin Leafshade, Sat 28/11/2009 22:27:45

Previous topic - Next topic

Calin Leafshade

I know that drawing surfaces dont support 8-bit alpha channels but is it possible to paint to the 1-bit alpha?

in a 16-bit game you would just paint (255,0,255) to the sprite to make it transparent. but in a 32-bit that doesnt work. is there an alternative?

GarageGothic

#1
It should work, I do it all the time in my game. Try using COLOR_TRANSPARENT instead of RGB(255, 0, 255), perhaps the magic pink behavior changed when RawDraw was replaced with DrawingSurface functions.

Calin Leafshade


SMF spam blocked by CleanTalk