# godot-genre-fighting

godot-genre-fighting is a Claude Code skill providing a Godot fighting-game framework with frame data, hitboxes, input buffering, and rollback netplay.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 339 installs · ★ 983 repo stars
- Author: thedivergentai
- License: LGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-genre-fighting/SKILL.md
- Updated: 2026-10-16
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/godot-genre-fighting

## What it does

This skill provides a collection of GDScript components for implementing competitive fighting-game mechanics in Godot. At its core is a deterministic physics loop, direct hit resolution via `intersect_shape()` instead of Area2D, input handling with 5–10 frame buffering, and motion-input detection for moves like QCF and DP. Frame data (startup, active, and recovery frames plus advantage on hit and block) lives in `.tres` resource files; the combo system applies damage scaling around 10% per hit.

Components cover character states (IDLE, ATTACKING, HITSTUN, BLOCKSTUN), animation sync to frames using `ADVANCE_MANUAL`, hit-stop for impact feel, rollback serialization for network play, and bitwise flags for state tracking. The skill works with Godot's `PhysicsDirectSpaceState` and deterministic simulation; multiplayer is best served over UDP/ENet rather than TCP.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-fighting -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/godot-genre-fighting/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/godot-genre-fighting/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-fighting -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/godot-genre-fighting/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-fighting -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/godot-genre-fighting/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install thedivergentai/Game-Dev-Agentic-Skills skills/godot-genre-fighting
```

2. **Manually: put the files in place**
- File: `.github/skills/godot-genre-fighting/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-fighting -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-genre-fighting
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/godot-genre-fighting/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-fighting -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-genre-fighting/SKILL.md

## When to use it
- build a frame-data system with advantage windows and recovery periods
- implement input buffering with motion-command detection
- prevent desyncs in network play using rollback netcode
- sync character animation to game frames
- set up a combo system with damage scaling and cancel hierarchy

## Example prompts
- Help me integrate `fighting_input_buffer.gd` into my fighting loop so QCF commands execute reliably
- How do I use `direct_hitbox_query.gd` instead of Area2D for frame-perfect hit detection?
- Set up `rollback_state_serializer.gd` to sync character positions and states across the network

## Similar
- [godot-shaders](https://affpapa.org/en/nevibecode/skills/godot-shaders.md) — skill · 12700 installs
- [godot-resources](https://affpapa.org/en/nevibecode/skills/godot-resources.md) — skill · 12400 installs
- [godot-ui](https://affpapa.org/en/nevibecode/skills/godot-ui.md) — skill · 2700 installs
- [godot-asset-generator](https://affpapa.org/en/nevibecode/skills/godot-asset-generator.md) — skill · 1000 installs
- [spritecook-use-assets-in-godot](https://affpapa.org/en/nevibecode/skills/spritecook-use-assets-in-godot.md) — skill · 773 installs
- [godot-optimization](https://affpapa.org/en/nevibecode/skills/godot-optimization.md) — skill · 733 installs

From the same set: [thedivergentai/game-dev-agentic-skills](https://affpapa.org/en/nevibecode/by/thedivergentai/game-dev-agentic-skills.md) — 100 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
