MCP.so
Sign In

pixelfx

patch-gg / pixelfx

Basic information

Category

Design & UI

Repository

patch-gg / pixelfx

Skill

pixelfx

About pixelfx

A Claude Code skill plus a library of 244 code-based pixel art effects (fire, explosions, magic, weather, UI, pickups). It finds, recolors and exports effects as sprite sheets and makes new ones by drafting, rendering, looking and refining.

#pixel-art#game-dev#vfx#sprite-sheets#animation

Install pixelfx

npx skills add https://github.com/patch-gg/pixelfx --skill pixelfx

How to use pixelfx

  1. 1

    Install the skill in Claude Code as a plugin (or copy skills/pixelfx into ~/.claude/skills/).

    /plugin marketplace add patch-gg/pixelfx
  2. 2

    Then install it from that marketplace: /plugin install pixelfx@pixelfx.

  3. 3

    Ask for what you want in plain language, for example "Add a frost nova to my mage's ultimate", "Make five takes on a coin pickup sparkle and show me the best two" or "Export the fire and explosions categories as sprite sheets for Godot".

  4. 4

    Using the library directly in a browser game: install it from GitHub and import an effect; effects have no dependencies.

    npm i github:patch-gg/pixelfx
  5. 5

    For other engines, export a sprite sheet: a transparent PNG grid plus Aseprite-style JSON that Phaser's atlas loader and the Aseprite importers for Godot and Unity read.

    node tools/render.mjs ice/frost-nova --sheet

What it does

  • 244 effects in 21 categories, each a small dependency-free JS file you can drop into a canvas, Phaser, PixiJS, Kaplay or three.js game

  • Exports transparent PNG sprite sheets with Aseprite-style JSON for Godot, Unity, GameMaker, Defold, LÖVE or Bevy

  • Recolor any effect with a palette ramp, mirror it, and act it out with wind-up, hit-stop and target reactions

  • The skill drafts new effects, renders contact sheets, checks for seams and spills, and refines until they read well

Requirements and notes

  • What's inside: 244 effects in 21 categories (moves, fire, explosions, water, ice, lightning, sci-fi, melee, impacts, projectiles, spawn and death, arcane, holy, shadow, status, nature, weather, UI, pickups, transitions, critters); each is one file in src/fx/<category>/<name>.js.
  • Acting: 61 effects with a character and 12 full moves describe the body around the effect (wind-up, hit-stop, target reaction, recovery), which is what makes a hit read well.
  • Recolor without editing code: every effect takes a palette, a dark-to-bright ramp of hex colors, so fire can burn blue.
  • Making new effects: node tools/new.mjs <category/name> scaffolds one, tools/render.mjs writes a contact sheet to look at, and tools/check.mjs flags spills, seams, unseeded randomness and slow frames. The skill follows the same draft, render, look, refine loop.
  • License and credit: MIT. The method comes from Hugo Duprez's Sprite Fusion guide, and some core code adapts his open-source effects. Optional: games built with it can be published on Patch (needs Patch Desktop on Windows).

Sources

Checked against the source repository on 2026-11-16.

Comments

More skills in Design & UI