Advertisement

Direct_Draw

Started by December 06, 1999 01:14 PM
0 comments, last by GameDev.net 25 years, 2 months ago
I need to use direct draw in order to blit a sprite to the screen. If the sprite has a white background like in MS Paint how can I use Direct Draw to blit it to the screen so the white background is transparent and the bacground of the form shows through?
thanx
Simply define a Source-ColorKey in your DDBLTFX-Struct and use the DDBLT(FAST)_SRCCOLORKEY-Flag.

That's it.

Bye

This topic is closed to new replies.

Advertisement