Explosion Pixel Art VFX
A blast out of the ground: a white-hot flash, a fireball cooling into smoke, earth and chunks thrown in arcs, dust rolling out, a shockwave and a scorch left behind. Size it from a grenade to a bomb.
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 size the blast to each weapon, match the dirt to your ground, or turn the fire and chunks down for a dust burst.
Claude/Codex
You
Use explosion.ts from Sprite Fusion's pixel art VFX for my grenades: blow up where they land, with dirt in my ground's colour.
Claude
I used explosion.ts as a reference to implement explosion in your game.
In your code
import explosion from "./explosion";
const frame = { w: 320, h: 180, ox: 0, oy: 0, color: new Uint32Array(320 * 180), light: new Uint32Array(320 * 180) };
const fx = explosion({ x: 320, y: 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);