Saturday, January 14, 2012
So yeah, there was this and that, and I’m feeling kinda sick, and etc. But I did manage to try out an explosion effect. I was trying to go for this sort of 2D-esque explosion you see in various ’90s games, so what’s happening here is that we see a simple quad with a pixel shader that a) rejects any pixels outside the radius of the explosion sphere, and b) ALSO rejects any pixels which are inside the radius of another, slightly offset sphere. Both spheres grow over time, the second one faster than the first, so eventually it overlaps the whole thing and the explosion disappears.
It looks more or less like I figured it would. Not sure if it’s the right direction, but I’ll just hang on to it, try wedging it into any gameplay I manage to slap together and see what happens.

So yeah, there was this and that, and I’m feeling kinda sick, and etc. But I did manage to try out an explosion effect. I was trying to go for this sort of 2D-esque explosion you see in various ’90s games, so what’s happening here is that we see a simple quad with a pixel shader that a) rejects any pixels outside the radius of the explosion sphere, and b) ALSO rejects any pixels which are inside the radius of another, slightly offset sphere. Both spheres grow over time, the second one faster than the first, so eventually it overlaps the whole thing and the explosion disappears.

It looks more or less like I figured it would. Not sure if it’s the right direction, but I’ll just hang on to it, try wedging it into any gameplay I manage to slap together and see what happens.

Notes

  1. mayflystudio posted this