Lightning Pixel Art VFX
Jagged forked bolts outlined against their own glare: a strike from the sky with its storm, an electric hit, chain lightning hopping between targets, a character crackling with arcs.
Use it with your AI agent
, then ask for this effect in your game. Then have it strike where your spells land, chain between enemies, or recolour the bolts for each element. Or ask for a new effect built from this one.
Claude/Codex
You
Use Sprite Fusion's lightning effect for my storm attack: a bolt striking from the sky, lighting up the screen.
Claude
I found the lightning effect in Sprite Fusion's VFX library and built it into your game.
In your code
import lightning from "./lightning";
const frame = { w: 320, h: 180, ox: 0, oy: 0, color: new Uint32Array(320 * 180), light: new Uint32Array(320 * 180) };
const fx = lightning({ kind: "strike", x: 320, ground: 300, top: -30 });
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);