Build, integrate, audit, or refactor rigged monsters for Three.js and web action games. Use for monster asset contracts, procedural or imported creature rigs, s
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-build-game-monster-system-61f84aef5678 ,按照其中的说明把「build-game-monster-system」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Build monsters as gameplay-compatible runtime assets, not decorative meshes.
Read references/monster-contract.md before implementation or audit. Check the real game content model, combat events, enemy state machine, collision API, camera distance, and asset loader before extending the contract.
Use related skills when applicable:
img2threejs for image-driven procedural reconstruction and its staged visual gates.build-hybrid-game-assets to choose procedural versus imported representation and record provenance/budgets.tune-enemy-ai for perception, intent, movement, and behavior transitions.design-action-combat for startup/active/recovery timing and authoritative contact.MonsterDefinition: serializable authored facts, tags, scale, stats, attacks, locomotion, asset provenance, and budgets.MonsterRig: semantic transform hierarchy, joints, sockets, secondary-motion anchors, materials, and LOD visuals.MonsterRuntime: current state, timers, target intent, health/posture, cooldowns, and authoritative combat events.MonsterViewAdapter: drives rig poses, VFX, audio, visibility, and LOD from runtime state; never decides hits from rendered pose.Do not duplicate authored combat values in the rig or UI.
+Y up, +Z forward, meters, and a ground-contact root.root -> motion -> body stable across every monster and LOD.Support at least idle, investigate, pursue, reposition, windup, attack, recover, stagger, and defeated. Each attack definition must declare startup, active, recovery, cooldown, contact shape/socket, damage/posture output, facing rule, and interrupt/cancel policy.
Drive contacts from authoritative action IDs and collision events. Animation may expose a normalized phase, but it must not create damage by itself.
(movesetId, elapsed) to state, attack, normalized phase, active flag, interruptibility, and stable action ID.Report whether the monster fully conforms, conforms with documented exceptions, or needs a new archetype capability added to the shared contract.