🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Transparency

Started by
4 comments, last by Qoy 24 years, 7 months ago
I suggest you take another look at the docs. Colorkeys in DDraw are DWORDs.

Josh

Advertisement
Hey, I can't believe I didn't notice that... Thanks for the help
Direct Draw does not have built in support for alpha transparency. You'll need to write your own blitter or use Direct3D.
You should read the "MMX enhanced alpha blending"-Article if you want to write your own Alpha Blitter. It is very good.
I am writing a simple game, and I am planning on using 32 bit color for it. I noticed that DirectDraw color keys can only hold 8 bit color values, so I was wondering, is there any way to use color keys with 16 or 32 bit color? If not, then how do you do transparency with 32 bit color?

------------------
http://qoy.tripod.com

He just wanted simple colorkeying... no need to look up alphablitting.

Josh

This topic is closed to new replies.

Advertisement