jmasterx
jmasterx

Reputation: 54123

Transparent sprites in c++ with Allegro

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

Upvotes: 1

Views: 1303

Answers (2)

Archaea
Archaea

Reputation: 1

http://www.allegro.cc/manual/api/blitting-and-sprites/draw_sprite

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

Upvotes: 0

Related Questions