# godot-camera-systems

Ready-made recipes and GDScript files for Godot cameras in 2D and 3D: smooth follow, screen shake, deadzones, transitions. Useful when your player camera jitters.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 533 installs · ★ 893
- 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-camera-systems/SKILL.md
- Updated: 2026-10-16
- HTML: https://affpapa.org/en/nevibecode/skills/godot-camera-systems

## What it does

This skill tells the agent how to move a camera behind a character without the picture stuttering. It ships GDScript sources: follow rigs decoupled through `RemoteTransform2D` and `RemoteTransform3D`, platformer deadzone and drag handling, damped zoom, and a state machine that switches between follow, static framing and cinematic shots.

Screen shake runs on a trauma value that builds up and decays, rather than a random offset picked every frame. A debug script draws the decay curve so you can tune it. For 3D the skill covers `SpringArm3D` and raycast occlusion, and it has `SubViewport` setups for minimaps and split-screen.

The rules section is blunt: never copy the target position into `global_position` each frame, and never parent the camera straight to a fast physics body. Read the matching script before writing your own rig, not after. A `SpringArm3D` without a collision mask passes through walls, so that is the first thing to check in an existing scene.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install thedivergentai/Game-Dev-Agentic-Skills godot-camera-systems
```

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-camera-systems -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-camera-systems/SKILL.md

## When to use it
- stop camera jitter while following a player
- add impact screen shake that fades out
- set up deadzone and drag for a platformer
- switch the camera between follow and cinematic framing
- keep the camera inside level bounds with smooth edges

## Example prompts
- Set up smooth player follow in Godot 2D using the skill's script, without copying the position every frame
- Add screen shake with a trauma system so the kick decays after a hit
- Configure `SpringArm3D` with a collision mask for a third-person camera

## Similar
- [orbit-card](https://affpapa.org/en/nevibecode/skills/orbit-card.md) — skill · 10000 installs
- [cad](https://affpapa.org/en/nevibecode/skills/cad.md) — skill · 14000 installs
- [step-parts](https://affpapa.org/en/nevibecode/skills/step-parts.md) — skill · 11200 installs
- [sdf](https://affpapa.org/en/nevibecode/skills/sdf.md) — skill · 10500 installs
- [urdf](https://affpapa.org/en/nevibecode/skills/urdf.md) — skill · 10500 installs
- [hatch-pet](https://affpapa.org/en/nevibecode/skills/hatch-pet.md) — skill · 3300 installs

From the same set: [thedivergentai/game-dev-agentic-skills](https://affpapa.org/en/nevibecode/by/thedivergentai/game-dev-agentic-skills.md) — 61 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
