Slash Pixel Art VFX
A blade's cut as light: a crescent smeared out in a few frames, its white-hot edge, an echo inside it, its tail sliding after its head and dissolving into a thread. Chain calls for combos.
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 fit the arc to your weapon's reach, chain the cuts into longer combos, or recolour the blade for each element.
Claude/Codex
You
Use slash.ts from Sprite Fusion's pixel art VFX to give my player a melee combo: two quick cuts, the second tilted the other way.
Claude
I used slash.ts as a reference to implement slash in your game.
In your code
import slash from "./slash";
const frame = { w: 320, h: 180, ox: 0, oy: 0, color: new Uint32Array(320 * 180), light: new Uint32Array(320 * 180) };
const fx = slash({ x: 320, y: 240 });
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);