> Hi all,
> I'm trying to do some graphics for a game, mainly trying to draw
> bitmaps with transparency. First of all, is there a function somewhere that
> can draw bitmaps with transparency? Say for example not overwriting any
> white pixels.
use a WinCopyRectangle routine, and instead of using scrCopy, use
scrOr - anything "off" will not affect the background :>
> It really seems like someone must have written some code to work
> with transparency before. I'm really not looking forward to writing my own
> BitBlt function...
yes.. i use it all the time in my games.. it would look funny having
white boxes around all my bitmaps throughout gameplay :>
az.
--
Aaron Ardiri
Lecturer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 26 10 16 11