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
, then ask for this effect in your game. Then have it fit the arc to your weapon's reach, chain the cuts into longer combos, or recolour the blade for each element. Or ask for a new effect built from this one.
Claude/Codex
You
Use Sprite Fusion's slash effect to give my player a melee combo: two quick cuts, the second tilted the other way.
Claude
I found the slash effect in Sprite Fusion's VFX library and built it into 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);