Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


16bit colour key in direct draw

This topic is 5968 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I know I know, ANOTHER question about using 16/32 bit and DirectDraw! Sorry, but this is my last one, honest! I am loading my background and sprites and they display fine, apart from my all my sprites still have a black background. In 8 bit, I set the colour key (or color key) just after i create the surface to hold the sprite image, specifying what palette entry to use (0 for black). How do I do this in 16/32 bit? I currently have both the low and high value for the colour key set to _RGB16BIT565 (0,0,0) but that black background still shows. If anyone can tell me how and when I should set the colour key I would appreciate a reply, Cheers Wizzard

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!