RE: Alpha Blending with EuAllegro

new topic     » goto parent     » topic index » view thread      » older message » newer message

Thanks Brian,

I guess I just had a couple of the parameters backwards in my attempts.
Now, I have something that works. 
Instead of combining stretchblit and transblit I will probably 
combine transblit and maskblit.
It makes more sense for my aplication.
Question: how can I use the apha channel from a bmp file to produce 
variable transparancy?
Example: an image of a man
the man is solid and opaque
the rest of the image is transparent
and the pixels along the man's outline are semitransparent
to produce an anti-alliased effect (smooth outlines)

TIA,
Lewy T

PS I uploaded a playable demo of the game today to Euphoria's website.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu