This is a complete reference for building 2D combat in MSW, structured around what the native API actually supports versus what you'll script yourself. It maps the entire attack-to-hit pipeline: collision shapes (box/circle/polygon), damage calculation hooks, knockback, the six game feel primitives (hit stop, shake, zoom, flash, VFX, SFX), plus state management and AI integration. The coverage matrix up front is honest about what's native and what requires custom work. Most valuable are the reference docs it points to, especially the projectile guide (since MSW has no built-in projectile system) and the AI behavior tree patterns. If you're building anything with HP bars, monsters, or player combat, this is your starting checklist.

skills.sh installs
10.6K
GitHub stars
38
last updated
Aug 21, 2026

Install

$ npx -y skills add msw-git/msw-ai-coding-plugins-official --skill msw-combat-system --agent claude-code

Installs into .claude/skills of the current project.

Files

msw-combat-system

The full MSW combat pipeline. Covers only items in the common 2D combat layer that have MSW native API support, regardless of genre. Excludes formulas/theory. API signatures are based on Environment/NativeScripts/**/*.d.mlua.


0. Coverage matrix

Sponsors

Details

Repository
github.com/msw-git/msw-ai-coding-plugins-official
Categories
Testing & QA, DevOps & CI/CD, Git & Pull Requests, Documentation, AI & Agent Building, Automation & Workflows, Sales & Marketing, Design & UI/UX, Game Development
First seen
Jun 3, 2026

More from msw-git/msw-ai-coding-plugins-official

All 12
1phuryn avatarpre-mortemphuryn/pm-skillsRun a pre-mortem risk analysis on a PRD or launch plan. Categorizes risks as Tigers (real problems), Paper Tigers (overblown concerns), and Elephants (unspoken 10.5Kskills.sh installs
2github avatarai-prompt-engineering-safety-reviewgithub/awesome-copilotComprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while p10.4Kskills.sh installs
3okx avatarokx-cex-portfoliookx/agent-skillsThis skill should be used when the user asks about 'account balance', 'how much USDT do I have', 'my funding account', 'show my positions', 'open positions', 'p10.4Kskills.sh installs
4github avataragentic-evalgithub/awesome-copilotPatterns and techniques for evaluating and improving AI agent outputs. Use this skill when: - Implementing self-critique and reflection loops - Building evaluat10.3Kskills.sh installs
5trailofbits avatarsemgreptrailofbits/skillsRun Semgrep static analysis scan on a codebase using parallel subagents. Supports two scan modes — "run all" (full ruleset coverage) and "important only" (high-10.3Kskills.sh installs
6fallow-rs avatarfallowfallow-rs/fallow-skillsCodebase intelligence for TypeScript and JavaScript. Static analysis of code and styles reports changed-code risk, cleanup opportunities, duplication, circular 10.1Kskills.sh installs