Jump to content
  • Advertisement


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


DirectDraw help (Surface operations)

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

Hi, I need some directions on two things I''m trying to achieve in DirectDraw (DD7): 1) Fading I''m working on a game with several layers, and I want to be able to fade the background (Normal -> Black, and Black -> Normal). This without the other layers being affected. I looked up some gamma functions but it seems like that affects the whole screen, not just the parts I want. Can someone give a suggestion what I should use? 2) Hot air I also want to make some "Hot air" meaning that the background is making some kind of "waving" animation. Suggestion? Both of these could be some kind of functions that works on DirectDraw surfaces since I draw the background first, apply the effect then draw the rest (making the effect only apply on the background). If someone could give me a direction how I could do these things I would be grateful. Games and Programming http://www20.brinkster.com/magos818

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!