AI News
All projects
Library

Pixelfx: 244 pixel art effects as code, plus a Claude Code skill to make more

A library of 244 pixel art effects written as code, plus a Claude Code skill for finding, exporting and making more of them.

pixelfx by patch-gg · 9,194 GitHub stars when we found it · added

pixelfx is a library of 244 pixel art effects, each one a small piece of code. They cover fire, explosions, water, weather, UI, pickups and more. According to the README, every effect can be played live, recolored, mirrored, or exported as sprite sheets for engines such as Godot, Unity and Phaser. For a browser game, you install the code from GitHub with npm or copy it in. The README says it has no dependencies. Sixty-one effects that involve a character, plus twelve chained moves, also script the body: a wind-up, a freeze on contact and a recovery.

The Claude Code skill, also called pixelfx, teaches an agent to find, use, export and make effects. You can install it as a plugin with two marketplace commands, or copy the skill folder into the Claude skills directory. The author writes that making a new effect works this way: the agent scaffolds it with tools/new.mjs, renders a contact sheet with tools/render.mjs, and checks for spills, seams and unseeded randomness with tools/check.mjs. It then repeats. The README credits the method to Hugo Duprez's write-up on making pixel art effects with Claude, and says the code adapts his MIT-licensed work.

To publish a game to Patch, Patch Desktop must be open on a Windows PC, since it plays the game once as a test. The code and effects are MIT-licensed, but the Patch Pixel font is excluded. The README does not say how much of the library was written with Claude. The AI part it describes is the skill.

In the author's words

Plus a Claude Code skill that makes new ones the way a picky pixel artist would: draft, render, look, refine.

From the README or the author's post. We checked that the sentence is there, not that it is true.

When to reach for it

Reach for it when a game needs ready-made sparks, fire or hits without hand-drawing sprite sheets. Its contact-sheet loop, where an agent renders, looks and refines an effect, is a workflow others can copy for their own generated assets.

Works with

Claude Code

See it

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made