Archived

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

Magos

DirectDraw help (Surface operations)

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