跳到正文
Skillpedia
网站与界面(前端)7.2k · #13364

design-action-combat

它能做什么

这个技能帮助 AI 智能体规划网页动作游戏中的战斗规则。适合希望攻击、格挡和闪避感觉公平、并且易于测试的游戏设计师和开发者。

适用场景

  • ✓你正在为游戏设计攻击、格挡或闪避的时候。
  • ✓战斗感觉不公平、令人困惑或节奏太慢的时候。
  • ✓你想要检查战斗时机和命中结果的测试的时候。

技能链接

https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/design-action-combat/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/design-action-combat/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我为浏览器游戏中的 Boss 设计公平的攻击和闪避时机。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会为每个动作定义起始、有效窗口、恢复阶段和结果。然后,它使用游戏自身的碰撞事件来判定命中,并针对过早、过晚和重复的输入编写测试。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Design Action Combat

Treat combat as explicit state machines with visible, testable timing rather than animation-driven guesses.

Specify every combat verb

For each player or enemy action, define: startup, active window, recovery, cancellation rules, resource cost, contact shape, damage/posture outcome, cooldown, and feedback. Make telegraph, danger, contact, and recovery readable at normal camera distance.

Use authoritative outcomes

  • Drive hits, blocks, parries, and interrupts from authoritative collision/contact events.
  • Require direction, range, phase, and state validity before resolving an outcome.
  • Apply each contact once using stable action and target identifiers.
  • Keep visuals downstream of resolved simulation events.

Tune for decisions

Give each defense a distinct purpose: spacing, dodge, timed guard, interruption, or resource trade. Avoid unpunishable attacks, recovery loops, unavoidable damage, and dominant spam. Boss phases must alter decision pressure without invalidating learned timing.

Test combat deterministically

Cover early/late timing, wrong direction, out-of-range contact, multiple targets, interrupted actions, phase changes, cooldown boundaries, pause/frame step, equip swaps, and repeated inputs. Use seeded or queryable review scenarios instead of requiring long campaign playthroughs.

Verify in play

Test at realistic frame rate and camera distance. Confirm that player intent, contact feedback, health/posture changes, sound/VFX, and target state agree. Check reduced motion and input alternatives before release.

常见问题

它只涵盖动画吗?

不是。它把战斗视为带有时机、消耗和结果的清晰规则,并说明动画应遵循这些规则,而不是由动画决定。

它会编写哪些测试?

涵盖过早和过晚的时机、错误的方向、超出范围的命中、被打断的动作以及冷却边界。

它只适用于 Boss 吗?

不是。同样的规则适用于玩家的招式和普通敌人,Boss 阶段只是额外的一层。

详情

作者的原始描述

Design, implement, tune, or test readable tactical action combat for web games. Use for attack timing, guard and dodge windows, hit contact, posture, lock-on, weapons, boss phases, combat feedback, and deterministic combat tests.

repo: MengTo/Skills

热度

GitHub 星标
7.2k
排名
#13364
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能