Logo
Background pixel art cave illustration

Impact Pixel Art VFX

Impact pixel art effect: Hits

A bullet's hit: a star stretched along the bounce breaking into shards, a ring, hot sparks, chips and dust in the surface's colour. Glancing shots ricochet in a hot streak. One call per shot.

Category

Combat

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 match the chips to each surface, pick a hit or a ricochet by angle, or recolour the sparks for energy weapons.

Claude/Codex

You

Use impact.ts from Sprite Fusion's pixel art VFX for my bullets hitting the floor and walls, with a ricochet when the angle is shallow.

Claude

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

Impact 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 impact from "./impact";

const frame = { w: 320, h: 180, ox: 0, oy: 0, color: new Uint32Array(320 * 180), light: new Uint32Array(320 * 180) };
const fx = impact({ kind: "hit", x: 320, y: 300, angle: -0.5, 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);

More pixel art VFX