pixelfx
patch-gg / pixelfx
基本信息
关于 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.
安装 pixelfx
npx skills add https://github.com/patch-gg/pixelfx --skill pixelfx如何使用 pixelfx
- 1
在 Claude Code 中以插件方式安装(也可以把 skills/pixelfx 复制到 ~/.claude/skills/)。
/plugin marketplace add patch-gg/pixelfx - 2
然后从该市场安装:/plugin install pixelfx@pixelfx。
- 3
用自然语言提需求,例如“给我的法师大招加一个冰霜新星”“做五版金币拾取闪光,挑最好的两个给我看”“把火焰和爆炸两类导出成 Godot 精灵表”。
- 4
在浏览器游戏中直接使用特效库:从 GitHub 安装后导入特效,特效没有任何依赖。
npm i github:patch-gg/pixelfx - 5
其他引擎可导出精灵表:透明 PNG 网格加 Aseprite 风格 JSON,Phaser 的图集加载器以及 Godot、Unity 的 Aseprite 导入插件都能读取。
node tools/render.mjs ice/frost-nova --sheet
功能与用途
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
要求与注意事项
- 内容:21 个类别共 244 种特效(招式、火焰、爆炸、水、冰、闪电、科幻、近战、命中、弹道、出生与死亡、奥术、神圣、暗影、状态、自然、天气、UI、拾取、转场、小生物),每种特效是 src/fx/<类别>/<名称>.js 中的一个文件。
- 表演:61 个带角色的特效和 12 套完整招式会描述特效周围的身体动作(蓄力、命中停顿、目标反应、收招),这是让打击感成立的关键。
- 无需改代码即可换色:每个特效都接受调色板参数(从暗到亮的十六进制颜色序列),火焰也能烧成蓝色。
- 制作新特效:node tools/new.mjs <类别/名称> 生成起点,tools/render.mjs 输出可查看的联系表,tools/check.mjs 检查溢出、接缝、未设种子的随机数和慢帧。技能也按同样的“草稿-渲染-查看-改进”循环工作。
- 许可与致谢:MIT 许可。方法来自 Hugo Duprez 在 Sprite Fusion 发布的指南,部分核心代码改编自他的开源特效。可选:用它做的游戏可以发布到 Patch(需要 Windows 上的 Patch Desktop)。
参考来源
- GitHub: patch-gg/pixelfx (README, MIT)
- pixelfx gallery
- Method: How to make (good) pixel art effects with Claude (Sprite Fusion)
已于 2026-11-16 对照源仓库核实。
设计与 UI分类下的其他 Skills
frontend-design
anthropics / skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
grill-me
mattpocock / skills
A relentless interview to sharpen a plan or design.
web-design-guidelines
vercel-labs / agent-skills
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
grill-with-docs
mattpocock / skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
lark-event
larksuite / cli
Lark/Feishu real-time event listening / subscribing / consuming: stream events as NDJSON via `lark-cli event consume <EventKey>` (covers IM messages/reactions/chat changes, Task updates, VC meeting started/joined/ended, Minutes generated, Whiteboard updated, etc.). Use for Lark bots, real-time message processing, long-running subscribers, streaming webhook/push handlers. Supports `--max-events` / `--timeout` bounded runs and a stderr ready-marker contract — designed for AI agents running as subprocesses.
prototype
mattpocock / skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
评论