Blood on enemy's uniform
"Enemies now bleed onto their uniforms as they die! It’s pretty hard to see, because of the top-down camera, but I like this detail. A little more realistic. This was done with some shader code. Blood pattern is always there on the uniform material, just invisible. And there’s a number that controls the size of the blood. As the enemy dies, that number increases on the enemy death script. Right now, that blood only appears on the back of the uniform.
I need to change this so that the blood appears exactly on where the enemy gets stabbed. I think I have to convert the direction of the player and the enemy’s facing direction to figure out where he gets stabbed, and then apply that to the shader somehow. Something to figure out. Small detail but sometimes a player will stab the enemy from behind, so I think I have to figure it out." (c) Sean, the Wonhon: A Vengeful Spirit developer.
Blood on enemy's uniform (May 1, 2019)
Enemies now bleed onto their uniforms as they die! It’s pretty hard to see, because of the top-down camera, but I like this detail. A little more realistic.
Posted by Super!com on