Scenario Godot gameplay
For building gameplay systems in Godot 4.7.
In detail
Use when building gameplay systems in Godot 4.7: enemy AI that patrols, chases and attacks, state machines, behavior trees (LimboAI), NavigationAgent3D pathfinding and avoidance for 100 to 1000 enemies, 'agents stack up' or 'path is empty', hitbox and hurtbox combat, fast bullets going through walls, save and load, inventory, quests, dialogue (Dialogue Manager), input remapping, procedural dungeons, or measuring agent counts and frame time headless.
Safety check
- Claude rated it 5 out of 10, under our bar of 7, so we do not sell it. It is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: scenario-godot-gameplay
description: "Use when building gameplay systems in Godot 4.7: enemy AI that patrols, chases and attacks, state machines, behavior trees (LimboAI), NavigationAgent3D pathfinding and avoidance for 100 to 1000 enemies, 'agents stack up' or 'path is empty', hitbox and hurtbox combat, fast bullets going through walls, save and load, inventory, quests, dialogue (Dialogue Manager), input remapping, procedural dungeons, or measuring agent counts and frame time headless."
license: MIT
---
# Godot gameplay systems (gameplay systems programmer)
Target: Godot 4.7.2.stable, Jolt, macOS Apple Silicon.
At expert level, gameplay systems are small contracts that can be tested without a scene: pure
decision functions, Resources for data, groups for discovery. Their cost is measured at the agent
count the game needs before anyone argues about it. The core stance: build the rule as data, run it
headless at `--fixed-fps 60`, then look at one capture. If a sibling skill named here is missing
from your available skills, load it with `skill_get` (Scenario MCP) or ask the user to install it
(https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas and flag
the gap.
**REQUIRED BACKGROUND:** scenario-godot-expert (channels, `gd_run`, the review loop, 4.7 traps).
**Status (2026-10-02):** 16 live tests, the round-2 checks (P15) and the offline suite pass in Godot
4.7.2 ([`references/procedures.md`](references/procedures.md), `tests/code/godot-gameplay/`).
Dialogue Manager 4.1.0, LimboAI 1.8.1 and GUT 9.7.1 were run in their own project copies.
## Stance (the expert delta)
1. **Benchmark with `--fixed-fps 60`, never plain headless.** A headless frame sleeps 6.9 ms
(`low_processor_usage_mode_sleep_usec`) and runs fewer physics ticks than frames.
`Performance.TIME_*` monitors refresh about once per second and read 0 under fixed fps. Measure
wall milliseconds per frame, median of 3, and compare A/B pairs from the same run (observed, P0).
2. **The crowd is not the bottleneck the baseline thinks.** 200 CharacterBody3D enemies with
NavigationAgent3D avoidance cost about 2 ms per frame on an M5 Max. Cost is linear to 800 agents
(7.3 ms), and avoidance itself is within noise at 200. Tuning `max_neighbors` or the repath
interval gave no measurable gain. What avoidance buys is correctness: 0 overlapping pairs against
3108 without it (P2). Go to server agents plus one MultiMesh (0.26 ms for 200) only when the
agents need no nodes.
3. **Wait for the mesh you assigned, not for "the map".** The docs say wait one physics frame. Live,
the first sync took 3. After a rebake the map id moved while the region still served the old
polygons. Read `region_get_iteration_id` before assigning, wait for it to move, then one more map
sync (`nav_tools.wait_applied`, P1).
...From scenario-labs's repository, MIT licence.
Related skills
-
Checked
Game Audio Mixing
Sets up game audio buses, volume sliders, music ducking and adaptive music for Godot, Unity or FMOD.
8/101 credit -
Checked
Game camera tuning
Builds and tunes follow, orbit and first person game cameras in Godot or Cinemachine so they stop jittering.
8/101 credit -
Checked
Game Enemy AI
Designs enemy AI with perception, pathfinding and steering so enemies chase fairly and never get stuck.
8/101 credit -
Checked
Game Loop and Timing
Makes movement, timers and physics behave the same at any frame rate in Unity, Godot, Bevy and web games.
7/101 credit -
Checked
Godot Game Testing
Writes and runs Godot tests with gdUnit4 or GUT, including scene tests and headless runs that report real results.
7/101 credit -
Checked
Game Security Review
Reviews Unity, Godot and Unreal code for cheats that hurt other players, purchase exploits and unsafe save files.
7/101 credit