I'm trying to get the effect of a fast moving blast after a bomb goes off (on a 2D shooter). The "fireball is not a problem, but drawing the shockwave is causing me grief.
I'm drawing a white circle (filled) that alpha blends to nothing as it gets bigger and then over-drawing it in black 30 pixels smaller. This looks about right, but my background behind the black suffers by disappearing.
Making the circles blend or transparent means the effect is lost...
Any suggestions? Is there an XOR blend mode?
I'm drawing a white circle (filled) that alpha blends to nothing as it gets bigger and then over-drawing it in black 30 pixels smaller. This looks about right, but my background behind the black suffers by disappearing.
Making the circles blend or transparent means the effect is lost...
Any suggestions? Is there an XOR blend mode?