Blood Pixel Art VFX
A spray that flies on along the hit: strands, mist, droplets splatting into stains that dry darker, and drops beading at the wound. Recolour it for any creature.
Use it with your AI agent
Download this effect's ZIP, or to give your agent (Claude, Codex, Cursor...) the full library of pixel art effects. Then have it aim the spray along each hit, recolour it for robots or slimes, or keep the stains on the ground longer.
Claude/Codex
You
Use blood.ts from Sprite Fusion's pixel art VFX for when my player gets shot, spraying along the bullet's direction.
Claude
I used blood.ts as a reference to implement blood in your game.
In your code
import blood from "./blood";
const frame = { w: 320, h: 180, ox: 0, oy: 0, color: new Uint32Array(320 * 180), light: new Uint32Array(320 * 180) };
const fx = blood({ x: 320, y: 240, angle: 0, ground: 300 });
fx.update(1 / 60);
frame.color.fill(0);
frame.light.fill(0);
fx.draw(frame, "back");
fx.draw(frame, "front");
if (fx.done()) remove(fx);