Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Direct_Draw

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Anonymous Poster_Anonymous Poster_*   Guests   

Likes

Posted 06 December 1999 - 07:14 AM

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


#2 Melo   Members   

122
Like
Likes
Like

Posted 06 December 1999 - 07:14 AM

Simply define a Source-ColorKey in your DDBLTFX-Struct and use the DDBLT(FAST)_SRCCOLORKEY-Flag.

That's it.

Bye





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.