Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 4 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

pixelfx

by Patch (Hugo Duprez)

244 pixel art effects and animations written as code, playable in browser games or exportable as sprite sheets.

2D game art and sprites Open source

GitHub repoWebsite
Six pixelfx effects (campfire, plasma ball, fountain, firework burst, frost nova and a spinning coin) each played to a moment in the middle and drawn by our page on a dark background.
Made by AgentGid with pixelfx 0.3.1 (GitHub patch-gg/pixelfx at commit 044e12a, src/core and six effect files). MIT license for code and effects; the frames are drawn by the library code on our page. Credit: pixelfx by Patch (MIT), parts adapted from Sprite Fusion pixel art VFX (MIT).

2. Commercial use: LICENSE on GitHub

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software”

MIT for code and effects, commercial use included.

LICENSE on GitHub

License checked Nov 4, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error

pixelfx: pixel art effects drawn by code for games

pixelfx is a free library of 244 pixel art effects, such as fire, explosions, magic, weather and coin pickups. Each one is a small piece of code instead of an image. You can play them live in a browser game, change their colors, or export them as sprite sheets for engines like Godot or Unity.

Where you can use it

Spell and hit effects in a browser game

Spell and hit effects in a browser game

Add a frost nova, a sword slash or an explosion to a canvas, Phaser, PixiJS or three.js game without drawing frames by hand.

Sprite sheets for Godot, Unity or GameMaker

Turn any effect into a transparent PNG sheet with frame data that engine importers read, for games not written in JavaScript.

One effect in many colors

Make a blue fire, a pink heal or team-colored sparks from the same effect by passing your own color ramp.

Full attacks with a character

Play a whole move, with a wind-up, a short freeze on the hit and a target that rocks back, to make fights feel heavier.

Game UI moments

Use the confetti, achievement, countdown and coin-collect effects for wins, rewards and level starts.

Pixel effects on a retro website Idea

Put a looping campfire, fireflies or falling leaves on a pixel-style landing page or game trailer page.

As reported by Patch (Hugo Duprez): 244 effects in 21 categories; Twelve whole moves chain the effects into attacks.

pixelfx popularity

32 / 100
Gid Score, same scale as developer tools
9,317
GitHub stars
pixelfx: GitHub starspatch-gg/pixelfx 9,317

How the Gid Score is calculated

How to start

Tell your AI assistant

“Install pixelfx from github:patch-gg/pixelfx pinned to commit 044e12a, add the campfire and coin-spin effects to my canvas game with createFx, draw them each frame with composite, and scale the canvas with image-rendering pixelated.”

Or install it yourself. There is no package on the npm registry.

npm i github:patch-gg/pixelfx
Show code

Create it with createFx, then update and draw it in your game loop; for other engines, render a sprite sheet with the render tool.

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

Mistakes to avoid

npm install pixelfx
npm i github:patch-gg/pixelfx (pin a commit), or copy src/core and the effect files

There is no pixelfx package on the npm registry (registry.npmjs.org/pixelfx answered Not found on 2026-11-12); the README installs from GitHub.

Copying one effect file without the core folder and its category _lib.js
Copy src/core and the whole category helpers the effect imports, or install the package

Effects import their helpers from ../../core/index.js and ./_lib.js; our demo needed 27 files for six effects.

Drawing the frame onto a scaled canvas with smoothing on
Keep the game's pixel resolution and scale the canvas with CSS image-rendering pixelated

The effects are drawn at pixel size, so smoothing blurs them.

Calling fx.draw(frame) once and skipping composite()
Draw "back", then your characters, then "front", then composite() into ImageData and put it on the canvas

The frame holds color and light in two buffers; composite adds the glow on top.

License

MIT License. For the code and the effects: free in any game or app, paid ones included. Keep the copyright notices; the pixel font in the gallery folder is not covered.

Commercial use
Yes

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software” LICENSE on GitHub

Credit
Not needed

“The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” LICENSE on GitHub

Inside your app or game
Can ship inside your app

“Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files” LICENSE on GitHub

Pass the files on to your users
With conditions

Code, effects and exported sheets may be shared with the MIT notice; the Patch Pixel font in gallery/fonts is not covered.

“The font in gallery/fonts is Patch's own and is not covered by this repository's MIT license.” github.com/patch-gg/pixelfx/blob/HEAD/NOTICE.md

AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is pixelfx free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with pixelfx. Paste them into your prompt or AGENTS.md.

License rules
- pixelfx (2D game art and sprites). 244 pixel art effects and animations written as code, playable in browser games or exportable as sprite sheets. Price: free; commercial use OK; no credit needed.
  Connect: download from https://patch-gg.github.io/pixelfx/ (no API).
  Rule: Keep the MIT license file and copyright notice with the code and assets you ship.
  Rule: Install with npm i github:patch-gg/pixelfx or copy src/core and the effects you need.
  Rule: Export sprite sheets with node tools/render.mjs <id> --sheet for non-browser engines.
  Rule: Some effects adapt Hugo Duprez's code; keep the notices at the top of those files.
  License: https://github.com/patch-gg/pixelfx/blob/HEAD/LICENSE (checked 2026-11-04; details: https://agentgid.com/assets/pixelfx/)
Can an agent use it by itself?
No.
API, key or account
Not needed. Everything runs on your side.
MCP server
None found
Credit line, if you want one
Effects: pixelfx by Patch (MIT)
This card for machines

Alternatives

pixelfx This page

Free Commercial OK Download

Kenney

Pick Kenney for ready CC0 sprite and pixel art packs (characters, tiles, UI) as image files rather than effects in code.

Free tier Commercial OK Download

OpenGameArt.org

Pick OpenGameArt for community-made sprites and effect sheets, checking each file's own license.

Free Commercial OK Download

Game-icons.net

Pick Game-icons.net for flat game icons for items and abilities, with credit under CC BY 3.0.

Free With conditions Download

PokéSprite

Database of box and inventory sprites from the Pokémon core series games, with an overview site and CSS/JS files.

Free Unclear Download

Superpowers Asset Packs

CC0 game asset packs (2D sprites, 3D models, backgrounds, sound effects, music) made for the Superpowers game maker.

Free Commercial OK Download

All 2d game art and sprites

Questions

Can I use the effects in a paid game?

Yes. Code and effects are MIT licensed and may be used in anything, commercial included.

My game is in Godot or Unity. Can I still use them?

Yes. Export each effect as a transparent PNG sprite sheet with an Aseprite-style JSON that their importers read.

Can I change the colors?

Yes. Pass a palette, a dark-to-bright list of colors, and the effect uses it without code changes.

Does it need other libraries?

No. In a browser game you use the code directly with no other libraries.