Translucent gfx (i.e. for explosion)
Hi guys! I'm working on some stuff right now (my cheesy "space-shooterz" game to be specific) with DirectDraw, and I've come to a point where I want to add cool explosions. In my head, I'm picturing the screen brightening (as in everything turns just a shade closer to white) for a sec, and a translucent explosion blossoming out and engulfing the sad-looking hand-drawn aliens that look like strange turnips. Ok, so it's not so practical :p But that's the idea.
So my question is, how could I achieve this translucent effect? Would I:
A) just draw a bitmap that has alternating transparent/non-transparent pixels (don't think so, but who knows...)?
B) Use alpha-blending or something?
C) Other
If (B), how could I go about doing so? (from DirectX docs: The IDirectDrawSurface7::Blt method performs a bit block transfer (blit). This method does not support z-buffering or alpha blending (see alpha channel) during blit operations.)
P.S. Or, if it's your real opinion, should I just give up and go home? :rolleyes: