Pixel Effects In Code
A free guide to pixelfx, the open-source library by Patch with 244 pixel art effects that are code, not images: fire, water, lightning, weather, pickups and acted-out moves. How to find the right one in the gallery, recolour it with one option, drop it into a browser game, export sprite sheets for Godot or Unity, make hits feel like hits, and the Claude Code loop that makes new effects look hand-animated. With a tested one-file starter and six prompts.
What is inside
- How it works One effect = one file, colour and light buffers, seeded frames, acted-out moves.
- starter/index.html One file, no build step: campfire, plasma ball, fireworks on click, five palettes.
- Sprite sheets Export for Godot, Unity and more, with the import checklist.
- Hits that land Wind-up, freeze on contact, recovery: use the timing with your own character.
- PROMPTS.md Six prompts: find, recolour, drop in, export, a new effect with the loop, make it punchier.
- Honest catches Font licence, credits, body effects, bright scenes.
A browser and Python 3 (or Node.js) to run the starter locally. For sprite sheets and new effects: Git, Node.js 18+, optionally ffmpeg, and Claude Code for the skill. The guide is in English.