Logo
Background pixel art cave illustration

Lightning Pixel Art VFX

Lightning pixel art effect: Strike

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.

Category

Elements

Dependencies

None

License

MIT, free for commercial use

Connect your AI agent

Get the full context on these effects, and create the pixel art your game needs.

Claude Code

claude mcp add --transport http spritefusion https://www.spritefusion.com/mcp

Codex

codex mcp add spritefusion --url https://www.spritefusion.com/mcp
codex mcp login spritefusion

Claude, Cursor, VS Code, ChatGPT or another agent? See the MCP docs.

Download ZIP

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 strike where your spells land, chain between enemies, or recolour the bolts for each element.

Claude/Codex

You

Use lightning.ts from Sprite Fusion's pixel art VFX for my storm attack: a bolt striking from the sky, lighting up the screen.

Claude

I used lightning.ts as a reference to implement lightning in your game.

Lightning pixel art effect playing in a game

Connect your AI agent

Get the full context on these effects, and create the pixel art your game needs.

Claude Code

claude mcp add --transport http spritefusion https://www.spritefusion.com/mcp

Codex

codex mcp add spritefusion --url https://www.spritefusion.com/mcp
codex mcp login spritefusion

Claude, Cursor, VS Code, ChatGPT or another agent? See the MCP docs.

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);

More pixel art VFX