As a part of ongoing polish work I wanted to animate bugs' death somehow. Here's how it looked like recently:
It just disappears. Not very cool!
I just got an idea how I want it to look like and I implemented it.
The effect actually consists of 4 parts:
1. A dying insect breaks down into a few parts.
2. There's a simple particle effect on top.
3. A stain is created underneath. It is animated, so it "spills" from the insect.
4. The dead parts attract other small insects, which feed on such carcasses.
The 4th part needs a little bit more work, but I'm quite satisfied how it all turned out.