create-game-vfx
它能做什么
这个技能指导 AI 智能体为 3D 网页游戏构建视觉特效。适合希望攻击和命中清晰可见、又不会让游戏变慢的开发者。
适用场景
- ✓你希望游戏中的攻击、命中或伤害有清晰的视觉反馈的时候。
- ✓游戏特效拖慢了屏幕,或造成了视觉杂乱的时候。
- ✓你想为需要的玩家提供减少动态效果的游戏特效版本的时候。
技能链接
https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/create-game-vfx/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我的游戏添加清晰的命中和伤害特效,但在手机上也要保持流畅。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先规划每个特效的时机、颜色和用途。然后构建能够复用对象的特效,限制同时出现的数量,并在玩家暂停或重置时进行清理。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Create Game VFX
Make the gameplay meaning visible before adding spectacle.
Specify
For every effect define trigger, owner, duration, gameplay meaning, camera-distance silhouette, color hierarchy, spawn cap, cleanup rule, and reduced-motion equivalent. Separate telegraph, contact, success, failure, and lingering status visuals.
Implement safely
Pool short-lived objects, reuse materials/geometry, cap particles, and avoid per-frame allocation. Use additive/transparency sparingly around important UI and targets. Make cleanup idempotent so reset, death, and pause cannot leak effects.
Verify
Test overlaps, multiple targets, rapid repetition, pause/resume, lowest quality, reduced motion, and touch viewports. Sample the live encounter for warnings, draw calls, frame time, and visual readability.
常见问题
什么让特效易于阅读?
技能说明,每个特效都应只表达一个清晰的含义,例如警告或命中,并使用能与场景其余部分区分开的颜色。
它如何保持游戏流畅?
它建议复用对象、限制粒子数量,并避免每一帧都重新分配内存。
它是否考虑不喜欢动态效果的玩家?
考虑。技能要求为每个特效提供减少动态效果的版本。
详情
作者的原始描述
Create readable, performance-safe Three.js game visual effects. Use for attacks, impacts, damage feedback, status effects, spell trails, particles, shaders, telegraphs, quality tiers, and reduced-motion alternatives.
repo: MengTo/Skills
热度
- GitHub 星标
- 7.2k
- 排名
- #13363
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
3d-cloth-material
7.2k帮你的智能体在 Three.js 中制作逼真的编织织物,包括纱线编织纹理、柔和光泽、自然褶皱、下摆和缝线。
3d-falling-leaves
7.2k帮你的智能体在 3D 场景中添加逼真的飘落树叶,树叶会翻滚、随风飘动,并在镜头移动时循环利用。
3d-four-seasons
7.2k帮你的智能体为 3D 场景添加春夏秋冬四季效果,无需重建场景即可改变植被、光线、天空和积雪。
3d-high-poly-models
7.2k帮你的智能体构建形状平滑、边缘可信的精细 3D 模型,然后制作在网页上运行流畅的轻量版本。