Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hey all, once again I'm experimenting with new toys - this time directDraw. I'm 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. I'm thinking of implementing a 'fade to black' effect to smooth the transition, but I don't 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, it's just the command to darken the buffer that's unknown to me.

 

Thanks!

Chaos is merely logic beyond human comprehension
  • Leaders
Posted
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 doesn't directly support ARGB colors, I'm pretty sure that it can at least support ARGB PNG files.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...