Sparkle Pixel Art VFX
Four-point flares twinkling: a big glint turning and pulsing among small ones, or small glints catching here and there. For treasure, secrets and anything shiny.
Use it with your AI agent
, then ask for this effect in your game. Then have it mark your secrets and loot, size the glint to each item, or warm its colours for gold. Or ask for a new effect built from this one.
Claude/Codex
You
Use Sprite Fusion's sparkle effect to put glints on the hidden secrets in my levels, so players notice them.
Claude
I found the sparkle effect in Sprite Fusion's VFX library and built it into your game.
In your code
import sparkle from "./sparkle";
const frame = { w: 320, h: 180, ox: 0, oy: 0, color: new Uint32Array(320 * 180), light: new Uint32Array(320 * 180) };
const fx = sparkle({ x: 320, y: 200 });
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);