{
 "slug": "pixelfx",
 "name": "pixelfx",
 "author": "Patch (Hugo Duprez)",
 "density": "full",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "244 pixel art effects and animations written as code, playable in browser games or exportable as sprite sheets.",
 "category": {
  "slug": "game-art",
  "name": "2D game art and sprites"
 },
 "tags": [
  "Open source"
 ],
 "styles": [],
 "logo_url": "https://agentgid.com/media/avatars/patch-gg.png",
 "logo_letter": "P",
 "links": {
  "repo": "https://github.com/patch-gg/pixelfx",
  "website": "https://patch-gg.github.io/pixelfx/",
  "api_docs": null,
  "open_model": null
 },
 "preview": {
  "kind": "image_grid",
  "src": "https://agentgid.com/assets/pixelfx/demo.jpg",
  "alt": "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.",
  "caption": "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)."
 },
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free",
   "status": "yes",
   "sub": "No paid plan",
   "quote": null,
   "note": "Free and open source under the MIT license.",
   "source": {
    "label": "patch-gg.github.io/pixelfx",
    "url": "https://patch-gg.github.io/pixelfx/"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Yes",
   "status": "yes",
   "sub": "MIT License",
   "quote": "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
   "note": "MIT for code and effects, commercial use included.",
   "source": {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/LICENSE"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Not needed",
   "status": "yes",
   "sub": "Keep the notice in code copies",
   "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
   "note": "No credit on screen. Keep the license notice inside the code you ship.",
   "source": {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/LICENSE"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "Download",
   "status": "info",
   "sub": "Files by hand",
   "quote": null,
   "note": "There is no package or API. Files are downloaded by hand from the official site.",
   "source": {
    "label": "github.com/patch-gg/pixelfx",
    "url": "https://github.com/patch-gg/pixelfx"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "MIT License",
  "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/LICENSE",
  "summary": "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.",
  "pages_read": 1,
  "rules": [
   "Keep the MIT license file and copyright notice with the code and assets you ship.",
   "Install with npm i github:patch-gg/pixelfx or copy src/core and the effects you need.",
   "Export sprite sheets with node tools/render.mjs <id> --sheet for non-browser engines.",
   "Some effects adapt Hugo Duprez's code; keep the notices at the top of those files."
  ],
  "rows": [
   {
    "label": "Commercial use",
    "value": "Yes",
    "status": "yes",
    "quote": "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "LICENSE on GitHub",
     "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/LICENSE"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Not needed",
    "status": "yes",
    "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
    "source": {
     "label": "LICENSE on GitHub",
     "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/LICENSE"
    },
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "Can ship inside your app",
    "status": "yes",
    "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files",
    "source": {
     "label": "LICENSE on GitHub",
     "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/LICENSE"
    },
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "With conditions",
    "status": "cond",
    "quote": "The font in gallery/fonts is Patch's own and is not covered by this repository's MIT license.",
    "source": {
     "label": "github.com/patch-gg/pixelfx/blob/HEAD/NOTICE.md",
     "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/NOTICE.md"
    },
    "note": "Code, effects and exported sheets may be shared with the MIT notice; the Patch Pixel font in gallery/fonts is not covered."
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-11-04",
  "commercial_use_page": "https://agentgid.com/assets/pixelfx/commercial-use/"
 },
 "overview": {
  "heading": "pixelfx: pixel art effects drawn by code for games",
  "body": "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."
 },
 "uses": [
  {
   "title": "Spell and hit effects in a browser game",
   "text": "Add a frost nova, a sword slash or an explosion to a canvas, Phaser, PixiJS or three.js game without drawing frames by hand.",
   "idea": false,
   "image": "https://agentgid.com/assets/pixelfx/demo.jpg"
  },
  {
   "title": "Sprite sheets for Godot, Unity or GameMaker",
   "text": "Turn any effect into a transparent PNG sheet with frame data that engine importers read, for games not written in JavaScript.",
   "idea": false,
   "image": null
  },
  {
   "title": "One effect in many colors",
   "text": "Make a blue fire, a pink heal or team-colored sparks from the same effect by passing your own color ramp.",
   "idea": false,
   "image": null
  },
  {
   "title": "Full attacks with a character",
   "text": "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.",
   "idea": false,
   "image": null
  },
  {
   "title": "Game UI moments",
   "text": "Use the confetti, achievement, countdown and coin-collect effects for wins, rewards and level starts.",
   "idea": false,
   "image": null
  },
  {
   "title": "Pixel effects on a retro website",
   "text": "Put a looping campfire, fireflies or falling leaves on a pixel-style landing page or game trailer page.",
   "idea": true,
   "image": null
  }
 ],
 "start": {
  "prompt": "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.",
  "install": "npm i github:patch-gg/pixelfx",
  "install_note": "There is no package on the npm registry.",
  "code": [
   {
    "tab": "Step 2",
    "intro": "Create it with createFx, then update and draw it in your game loop; for other engines, render a sprite sheet with the render tool.",
    "source": "node tools/render.mjs ice/frost-nova --sheet"
   }
  ]
 },
 "mistakes": [
  {
   "dont": "npm install pixelfx",
   "fix": "npm i github:patch-gg/pixelfx (pin a commit), or copy src/core and the effect files",
   "why": "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.",
   "dont_code": true,
   "fix_code": true
  },
  {
   "dont": "Copying one effect file without the core folder and its category _lib.js",
   "fix": "Copy src/core and the whole category helpers the effect imports, or install the package",
   "why": "Effects import their helpers from ../../core/index.js and ./_lib.js; our demo needed 27 files for six effects.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Drawing the frame onto a scaled canvas with smoothing on",
   "fix": "Keep the game's pixel resolution and scale the canvas with CSS image-rendering pixelated",
   "why": "The effects are drawn at pixel size, so smoothing blurs them.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Calling fx.draw(frame) once and skipping composite()",
   "fix": "Draw \"back\", then your characters, then \"front\", then composite() into ImageData and put it on the canvas",
   "why": "The frame holds color and light in two buffers; composite adds the glow on top.",
   "dont_code": false,
   "fix_code": false
  }
 ],
 "agent": {
  "self_serve": false,
  "self_serve_text": null,
  "install": null,
  "repo": "https://github.com/patch-gg/pixelfx",
  "api_docs": null,
  "api_account": "Not needed. Everything runs on your side.",
  "get_files": null,
  "formats": [],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": "Effects: pixelfx by Patch (MIT)",
  "rules_text": "- 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.\n  Connect: download from https://patch-gg.github.io/pixelfx/ (no API).\n  Rule: Keep the MIT license file and copyright notice with the code and assets you ship.\n  Rule: Install with npm i github:patch-gg/pixelfx or copy src/core and the effects you need.\n  Rule: Export sprite sheets with node tools/render.mjs <id> --sheet for non-browser engines.\n  Rule: Some effects adapt Hugo Duprez's code; keep the notices at the top of those files.\n  License: https://github.com/patch-gg/pixelfx/blob/HEAD/LICENSE (checked 2026-11-04; details: https://agentgid.com/assets/pixelfx/)",
  "agent_md": "https://agentgid.com/assets/pixelfx/agent.md",
  "card_json": "https://agentgid.com/assets/pixelfx/card.json"
 },
 "popularity": {
  "gid_score": 32,
  "stars": 9317,
  "downloads_7d": null,
  "downloads_7d_label": null,
  "downloads_change_4w_pct": null,
  "eco": null,
  "package": null,
  "repo": "patch-gg/pixelfx",
  "agent_projects": null,
  "agent_projects_total": null,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [],
   "stars": [
    [
     "2026-11-07",
     5809
    ],
    [
     "2026-11-08",
     5918
    ],
    [
     "2026-11-09",
     6167
    ],
    [
     "2026-11-10",
     6504
    ],
    [
     "2026-11-11",
     6794
    ],
    [
     "2026-11-12",
     7056
    ],
    [
     "2026-11-13",
     7240
    ],
    [
     "2026-11-14",
     7374
    ],
    [
     "2026-11-15",
     7505
    ],
    [
     "2026-11-16",
     7639
    ],
    [
     "2026-11-17",
     7892
    ],
    [
     "2026-11-18",
     8048
    ],
    [
     "2026-11-19",
     8193
    ],
    [
     "2026-11-20",
     8383
    ],
    [
     "2026-11-21",
     8543
    ],
    [
     "2026-11-22",
     8670
    ],
    [
     "2026-11-23",
     8808
    ],
    [
     "2026-11-24",
     8957
    ],
    [
     "2026-11-25",
     9135
    ],
    [
     "2026-11-26",
     9317
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-26"
 },
 "alternatives": [
  {
   "slug": "pixelfx",
   "name": "pixelfx",
   "why": null,
   "current": true,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "kenney",
   "name": "Kenney",
   "why": "Pick Kenney for ready CC0 sprite and pixel art packs (characters, tiles, UI) as image files rather than effects in code.",
   "current": false,
   "price": "Free tier",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "opengameart",
   "name": "OpenGameArt.org",
   "why": "Pick OpenGameArt for community-made sprites and effect sheets, checking each file's own license.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "game-icons",
   "name": "Game-icons.net",
   "why": "Pick Game-icons.net for flat game icons for items and abilities, with credit under CC BY 3.0.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "Download"
  },
  {
   "slug": "pokesprite",
   "name": "PokéSprite",
   "why": "Database of box and inventory sprites from the Pokémon core series games, with an overview site and CSS/JS files.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Unclear",
    "status": "unknown"
   },
   "access": "Download"
  },
  {
   "slug": "superpowers-asset-packs",
   "name": "Superpowers Asset Packs",
   "why": "CC0 game asset packs (2D sprites, 3D models, backgrounds, sound effects, music) made for the Superpowers game maker.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  }
 ],
 "faq": [
  {
   "q": "Can I use the effects in a paid game?",
   "a": "Yes. Code and effects are MIT licensed and may be used in anything, commercial included."
  },
  {
   "q": "My game is in Godot or Unity. Can I still use them?",
   "a": "Yes. Export each effect as a transparent PNG sprite sheet with an Aseprite-style JSON that their importers read."
  },
  {
   "q": "Can I change the colors?",
   "a": "Yes. Pass a palette, a dark-to-bright list of colors, and the effect uses it without code changes."
  },
  {
   "q": "Does it need other libraries?",
   "a": "No. In a browser game you use the code directly with no other libraries."
  }
 ],
 "at_a_glance": {
  "latest_version": "0.3.1 (commit 044e12a45dc9cc312cec50ee606dfc98afe5adc2)",
  "last_commit": "2026-11-13",
  "runtime": "An ES module setup in the browser; Node 18+ for the render and sheet tools.",
  "key_needed": false
 },
 "good_to_know": [
  "The effects contain no images; each one is drawn by code, frame by frame, from a seed, so frame 40 always looks the same.",
  "Sprite sheet export runs the project's own tools with Node, so you need a copy of the project on your computer.",
  "Some files adapt code from other MIT projects; keep the notices at the top of those files when you copy them.",
  "The README also advertises Patch, a site for publishing browser games, through a global command-line install. That is optional and not needed to use the effects.",
  "Effects drawn on a character paint the stock grey dummy; with your own hero, redraw those or skip them."
 ],
 "stack_snippets": [],
 "claims": [
  "244 effects in 21 categories",
  "Twelve whole moves chain the effects into attacks"
 ],
 "checked": {
  "license_read": "2026-11-04",
  "overview_checked": "2026-11-12",
  "numbers_updated": "2026-11-26",
  "sources": [
   {
    "label": "github.com/patch-gg/pixelfx",
    "url": "https://github.com/patch-gg/pixelfx"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/README.md"
   },
   {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/LICENSE"
   },
   {
    "label": "github.com/patch-gg/pixelfx/blob/HEAD/NOTICE.md",
    "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/NOTICE.md"
   },
   {
    "label": "github.com/patch-gg/pixelfx/blob/HEAD/docs/CATALOG.md",
    "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/docs/CATALOG.md"
   },
   {
    "label": "github.com/patch-gg/pixelfx/blob/HEAD/package.json",
    "url": "https://github.com/patch-gg/pixelfx/blob/HEAD/package.json"
   },
   {
    "label": "patch-gg.github.io/pixelfx",
    "url": "https://patch-gg.github.io/pixelfx/"
   }
  ],
  "unverified": null
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/pixelfx/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
