Hi,
I trying to move sprite around background. Sprite background is white while background picture is colored. How can i tell to ddraw which color should be transparent?
You need to create a ColorKey object, set both its color value properties to white, and apply it to your sprite surface using its SetColorKey method. Then you specify the KeySource flag when you blit the surface.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.