It's pretty simple. Every time you kill an enemy you generate x number of blood particles (just a sprite) in a random range and scale. You also set a random number of "blood particles" to slow down before it stuck on the surface of your choose.
I made the game in "Game Maker Studio 2". I could send you the source code for the blood object if you like. :)