I need to copy a 16x16 pixel sprite from an image and drop it in the main picture box. I can do this with BitBlt, but how do I make a color transparent? So that the sprite can be placed on a background.
Printable View
I need to copy a 16x16 pixel sprite from an image and drop it in the main picture box. I can do this with BitBlt, but how do I make a color transparent? So that the sprite can be placed on a background.
Easy.
check out the VB section in GPMega:
http://www.perplexed.com/GPMega/
the games tutroial by Timbo describes exactly what you want (animate03.zip, right at the bottom)
Its well worth going to GPMega anyway
Thanks space_cadet...
No probs. Let me know how you get on.