Muzzle Flash Pixel Art VFX
A shot's star and jet with a white-hot core and a dark rim, hot sparks, smoke curling off the barrel, and a casing tumbling out to lie on the ground. One call per shot.
Use it with your AI agent
, then ask for this effect in your game. Then have it scale the flash for each gun, drop the casings for energy weapons, or turn the smoke off for rapid fire. Or ask for a new effect built from this one.
Claude/Codex
You
Use Sprite Fusion's muzzle flash effect on my SMG: a flash at the barrel on every shot, casings flying out.
Claude
I found the muzzle flash effect in Sprite Fusion's VFX library and built it into your game.
In your code
import muzzleFlash from "./muzzle-flash";
const frame = { w: 320, h: 180, ox: 0, oy: 0, color: new Uint32Array(320 * 180), light: new Uint32Array(320 * 180) };
const fx = muzzleFlash({ x: 320, y: 240, angle: 0, ground: 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);