views:

238

answers:

2

I'm learning to use Allegro. I'm trying to make my character cut out. How do I key out a certain color from my bitmap? which way is used for allegro? Thanks

A: 

http://www.allegro.cc/manual/api/blitting-and-sprites/draw%5Fsprite

"Transparent pixels are marked by a zero in 256-color modes or bright pink for truecolor data (maximum red and blue, zero green)."

Archaea