Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Godot Gameplay?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tipoli5890-godot-gameplay)
---
name: godot-gameplay
description: >-
START HERE for Godot gameplay: make a platformer, top-down, runner or 3D game, add a player.
Reads 2D or 3D and the view, routes each system.
---
# godot-gameplay — a genre is a set of constraints, and the constraints pick the skills
> **A genre name decides nothing buildable.** "Platformer" does not say who writes the position,
> what the level unit is, or when the camera reads the body. Six constraints do. Two games with
> the same label and a different transform owner share no motor code; two with different labels
> and the same six share most of it.
## Request → where to go
| The request | Go to |
|---|---|
| "make a platformer", "a top-down game", "a runner", "which skills for a tactics game" | §0, then the genre file it names |
| "add a player character" | §0, then the motor row of *Load what the situation needs* |
| "how wide can the gap be", "the jump cannot reach the ledge" | `reference/level-metrics.md` |
| "what do we build first", "is the prototype done" | *Order of work* below |
| One system by name (controls, camera, collisions, saves, HUD) | *Load what the situation needs* |
| Constraint | Values | In Godot |
|---|---|---|
| Dimension | 2D · 3D | `Node2D` or `Node3D` scenes, and every body, shape and camera name after that |
| Projection | orthographic · perspective | 2D: viewport size over `Camera2D.zoom` · 3D: `Camera3D.fov`, or `PROJECTION_ORTHOGONAL` with `Camera3D.size` |
| View | side · top-down · behind · through the eyes · overhead · fixed per room | what "up" on the stick means, what draws in front |
| Movement model | free · lane · cell · a destination | the motor's shape, the level unit, what a journey asserts |
| Transform owner | a `CharacterBody2D`/`3D` motor · a `NavigationAgent2D`/`3D` feeding the motor · root motion · a `RigidBody2D`/`3D` · the cell map | who writes the position: exactly one |
| Level unit | tile (`TileSet.tile_size`) · `GridMap` cell · kit module in metres · lane width | what every level number is a multiple of |
## 0. Which game is this?
Teaching questions ("what is coyote time", "rigid or character body for a crate") get answered
directly. Route only when gameplay is to be read, changed or built.
**Explicit signals win.** A named node, call or view is the answer:
| They mention | Constraints | Recipe |
|---|---|---|
| a jump, platforms, `is_on_floor()`, "side-scroller", "runner seen from the side" | 2D · side · free under gravity | `reference/genre-2d-side.md` |
| "seen from above", eight directions, twin-stick, `MOTION_MODE_FLOATING`, y-sort | 2D · top-down · free | `reference/genre-2d-topdown.md` |
| `local_to_map()`, "one tile per move", "turn-based", a board, `TILE_SHAPE_ISOMETRIC` or `TILE_SHAPE_HEXAGON` | 2D · cell | `reference/genre-2d-topdown.md` → "Cell movement" |
| `CharacterBody3D`, `SpringArm3D`, third or first person, lanes, glTF models | 3D | `reference/genre-3d.md` |
| click to move, an overhead camera, `NavigationAgent3D`, `GridMap` | 3D · a destination | `reference/genre-3d.md` |
**No explicit signal: fingerprint the project.** Read-only, no Godot needed:
```bash
python3 scripts/fingerprint.py /path/to/project --indent 2
```
It prints one JSON object: `dimension`, `projection`, `view`, `movement_model`,
`transform_owner_hints` and `level_unit`, each with the counts it came from, then the physics
tick, interpolation and 3D engine, the renderer, the stretch mode, the input actions and the
autoloads. Read it as a whole:
- Dimension: each node counts once, a scene root twice more, each script in use once by what it
extends. `mixed` means neither side scored twice the other (a 3D game with 2D parts, or the
reverse): read `scene_roots`.
- Calls (`move_and_slide`, `is_on_floor`, `get_vector`, `local_to_map`, lanes) are counted in the
scripts a scene or an autoload uses, so a folder of unused motors does not decide the verdict.
- `level_unit` reads `tile_size` from scenes and resources. A TileSet saved with the default size
writes no line, so no line found is reported as 16 × 16, the default.
- A verdict of `unknown` is an answer: the project does not say. Exit 0 with the object, 3 no
`project.godot`, 1 usage. `.godot/` and `addons/` are skipped.
**Still ambiguous, the default ladder:**
1. An existing project: follow the fingerprint. Consistency beats preference.
2. The brief states the view and movement: that is the answer.
3. Sprites or pixel art named: 2D. A modelled or rigged character named: 3D.
4. One thumb on a phone, nothing else said: a fixed camera with lane or cell movement.
5. Still nothing: ask **one** question, "seen from the side, from above, or from behind the
character?" The answer fixes the view and nearly always the dimension.
**Then hand off.** Fill `templates/GAMEPLAY_RECIPE.md` (the six constraints, the numbers, one row
per need, the checks), open the genre file and build in its order.
## Load what the situation needs
| The situation | Read |
|---|---|
| What the project already is | `scripts/fingerprint.py`, and §0 |
| Platformer, gated rooms, auto-runner from the side | `reference/genre-2d-side.md` |
| From above: action-adventure, twin-stick, tile puzzle, tactics board | `reference/genre-2d-topdown.md` |
| Third person, first person, lanes, click-to-move, fixed rooms | `reference/genre-3d.md` |
| Jump height, gap, ceiling, door; the apex the fixed step gives | `reference/level-metrics.md` |
| A new project: folders, renderer, settings, git ignores | `godot-new-project` |
| Actions, gamepad, touch, mouse aim, rebinding; a jump missed or doubled | `godot-input` |
| 2D motor: platformer or top-down | `godot-2d-controller` → `reference/platformer.md`, `reference/topdown.md` |
| 3D motor: third or first person, lanes, click-to-move | `godot-3d-controller` → `reference/third-person.md`, `reference/navigation.md` |
| Camera follow, limits, orbit, shake, jitter | `godot-camera` |
| Layers and masks, a signal that never fires, tunnelling, rays | `godot-physics` |
| Tiles, terrains, levels from data | `godot-tilemap` |
| Frames to sprites, pixel-art import · a layered 2D rig | `godot-2d-sprites` · `godot-2d-rig` |
| Draw order, y-sort, 2D lights, parallax, pixel-perfect scaling | `godot-2d-rendering` |
| A glTF model and its budget · a rigged humanoid and its clips | `godot-3d-models` · `godot-rigged-character` |
| Animation trees, state machines, root motion | `godot-animation` |
| Renderer, environment, lights, materials | `godot-rendering-3d` |
| HUD, menus, gamepad focus, content scaling · sound and music | `godot-ui` · `godot-audio` |
| Autoloads, scene changes, pause, saves, checkpoints, pools | `godot-scene-flow` |
| Situations, journeys, timelines | `godot-play-harness` |
| Unit tests of rules and data · frame and physics time | `godot-testing` · `godot-profiling` |
| "Does it work?" after any change | `godot-verify` |
| Godot from a terminal · GDScript that holds up · C# | `godot-cli` · `godot-gdscript` · `godot-csharp` |
| Scene and resource text · Godot 3 code · builds | `godot-scene-files` · `godot-version-guard` · `godot-export` |
| Character art from source, stage by stage · frames from a video | `game-character-pipeline` · `sprite-from-video` |
## Order of work for a new game
Each stage ends on a check, and the next stage starts only when it passes:
| Stage | Skills | Done when |
|---|---|---|
| 1. Project | `godot-new-project`; for 3D the renderer (`godot-rendering-3d`) and the physics engine (`godot-physics`) | tick, engine, renderer and stretch mode written in `project.godot`; `godot-verify` passes |
| 2. Player | `godot-input`, then `godot-2d-controller` or `godot-3d-controller`, numbers from `reference/level-metrics.md` | the action lint is clean; the motor's probe passes; a jump journey measures the apex the recipe designed |
| 3. Camera | `godot-camera` | its lint is clean; a journey past a wall or across a room limit shows no snap |
| 4. Level | `godot-tilemap` in 2D, a greybox from the metrics in 3D; the layer table from `godot-physics` | the collision probe passes on each level scene; a journey crosses the route |
| 5. Flow | `godot-scene-flow`, `godot-ui` | a journey boots to the route, fails, respawns or saves, and resumes |
| 6. Verify | `godot-verify`, then `godot-play-harness` | PASS, and every journey reports no violation |
Character, camera and controls pass on untextured boxes before art arrives (`godot-2d-sprites`,
`godot-3d-models`, `godot-rigged-character`, `godot-animation`): art hides a motor bug.
## Discipline
- **Name the transform owner before writing movement code.** One of them writes the position and
the others read it; two writers give jitter no camera setting removes.
- **Numbers before levels.** Decide apex, time to apex and run speed; derive gravity and take-off
speed; then the reach table says how wide a gap may be.
- **Measure the jump the game performs.** The fixed step moves the apex by about `v0·dt/2`, up or
down by tick order: `reference/level-metrics.md` §3.
- **Gameplay reads an intent, never a device.** Keyboard, pad, touch and a journey's driver all
fill the motor's intent, so every journey drives the same code a player does.
- **Simulate in `_physics_process`, then the camera, then draw.** Input read per frame and used
per tick, or a camera smoothed per frame after a body moved per tick, is most jitter.
- **A genre file is a starting set of constraints.** Change one and re-pick the rows it touched.
- **Every change ends with `godot-verify`.** Godot exits 0 after errors; the verdict line decides.
## Scope — what this skill does NOT do
Every system named in *Load what the situation needs* is that skill's work: the project
(`godot-new-project`), input, motors, camera, physics, tiles, art, animation, rendering, UI,
sound, flow (`godot-scene-flow`), journeys (`godot-play-harness`) and the verdict
(`godot-verify`).
What is left is what no single-system skill can hold: **which constraints this game has, and so
which skills to open**, plus the level numbers that follow from the motor and the check that ends
each stage.