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
, then ask for this effect in your game. Then have it aim the spray along each hit, recolour it for robots or slimes, or keep the stains on the ground longer. Or ask for a new effect built from this one.
Claude/Codex
You
Use Sprite Fusion's blood effect for when my player gets shot, spraying along the bullet's direction.
Claude
I found the blood effect in Sprite Fusion's VFX library and built it into 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);