DirectDraw Brightness

CryoEnix

Well-known member
Joined
Jan 11, 2003
Messages
93
Location
Wrexham, Wales
Hey all, once again Im experimenting with new toys - this time directDraw. Im creaing a game which - naturally - begins with a nice intro before hitting the title screen. Problem is, it currently just jumps from the last frame of the intro to the title. Im thinking of implementing a fade to black effect to smooth the transition, but I dont know how to adjust the brightness on the primary buffer. Any ideas how I could go about this?

I know how I would go about the timing, its just the command to darken the buffer thats unknown to me.

Thanks!
 
There isnt one...

...well... not technically... although I suppose you could play with the display gamma...
 
What very limited DirectDraw experience I have is rusty, but there is probably some way to bring alpha transparency into the situation. Would it be possible to draw semi-transparent black rectangles over the whole screen at different alpha levels to create the fade effect. If DirectDraw doesnt directly support ARGB colors, Im pretty sure that it can at least support ARGB PNG files.
 
Back
Top