Jump to content
  • Advertisement

Archived

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

lisztkao

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

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

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!