# godot-adapt-3d-to-2d

godot-adapt-3d-to-2d is a Claude Code skill with patterns for adapting Godot 3D games to 2D, including fake depth, isometric math, physics swaps, and model-to-sprite baking.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 327 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-adapt-3d-to-2d/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-adapt-3d-to-2d

## What it does

This skill handles the rough edges of moving a Godot project from 3D to 2D. It ships scripts for simulated Z-height, isometric projections, Y-sort ownership, fake shadows, and multi-angle sprite baking.

The core rule: never flatten the Z-axis without gameplay compensation. Swapping `CharacterBody3D` for `CharacterBody2D` alone throws away spatial strategy, so the skill pushes layers, jump height variation, and similar depth mechanics instead.

For 2.5D scenes, four scripts are mandatory: `ortho_simulation.gd`, `jump_z_axis_sim.gd`, `hitbox_depth_manager.gd`, and `depth_sorting_y_sort.gd`. Skip them and gravity scaling plus ground-versus-air collisions will misbehave.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-adapt-3d-to-2d -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-adapt-3d-to-2d -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-adapt-3d-to-2d -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/godot-adapt-3d-to-2d/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-adapt-3d-to-2d
```

2. **Manually: put the files in place**
- File: `.github/skills/godot-adapt-3d-to-2d/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-adapt-3d-to-2d -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-adapt-3d-to-2d
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/godot-adapt-3d-to-2d/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

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

## When to use it
- convert CharacterBody3D to CharacterBody2D without losing gameplay
- build a 2.5D scene with fake depth and proper Y-sort
- set up isometric math without 2D node transforms
- separate ground and air hits in Area2D
- bake GLB models into multi-angle sprites

## Example prompts
- Port my Godot project from 3D to 2.5D with fake depth using this skill's scripts
- Set up isometric projection through `isometric_math_core.gd`
- Convert my GLB models to sprites with `model_to_sprite_bake.gd`

## Similar
- [scenario-godot-2d](https://affpapa.org/en/nevibecode/skills/scenario-godot-2d.md) — skill · 444 installs
- [godot-resources](https://affpapa.org/en/nevibecode/skills/godot-resources.md) — skill · 12400 installs
- [godot-csharp](https://affpapa.org/en/nevibecode/skills/godot-csharp.md) — skill · 11600 installs
- [scenario-godot-performance-export](https://affpapa.org/en/nevibecode/skills/scenario-godot-performance-export.md) — skill · 452 installs
- [godot-export](https://affpapa.org/en/nevibecode/skills/httpsgithubcomarjun988-godot-export.md) — skill · 537 installs
- [godot-3d](https://affpapa.org/en/nevibecode/skills/godot-3d.md) — skill · 2 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
