Jump to content
  • Advertisement


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


DirectDraw --(A)SetColorKey (B)Alpha & rotate

This topic is 5288 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

//////////////// // Quetion A: //////////////// The situation is I set the colorkey used RGB(X,X,X) like follow: DDCOLORKEY ddck; ::ZeroMemory(&ddck,sizeof(ddck)); ddck.dwColorSpaceLowValue = RGB(0,0,0); ddck.dwColorSpaceHighValue = RGB(0,0,0); Only "BLACK"-RGB(0,0,0) It will work! Some else color Key doesn''t work! Why? I try RGB(X,X,X) API and Blt to fill a screen. But the result(Screen color) is different from I saw in Photoshop RGB palette''s color I choose. Why? Does anybody could tell me? //////////////// // Question B: //////////////// How could I used Alpaha & Rotate a Surface in DirectDraw? Many subject they said DirectDraw doesnt support alpha blt.Is that a truth? I hope D3D is not a only way to solve my problem. Thank you

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!