level-design
БесплатноБез исполняемых скриптовНе проверенEngine-neutral level design with Godot checks: player metrics from the real controller, key and ability gating with a soft-lock check, and pacing. Use when…
от gamedev-skills★ 12 656 звёзд на GitHubОб этом скилле
Level design
A level is a sequence of intended experiences delivered through space. The order that works:
measure the character, block out with primitives, check reachability and pacing, get playtest
reports, then dress. This skill is engine-neutral with Godot 4.7 checks. Painting the grid is
godot-tilemap or unity-tilemap-2d; generating layouts is procedural-gen.
When to use
- Planning a level's structure: critical path, optional branches, gating order, encounters, and where a mechanic is taught versus tested.
- Building a blockout and checking that every required jump and gate is possible.
- Reviewing a level that confuses, bores or soft-locks players.
Not this skill: layout generators and dungeon algorithms (procedural-gen), jump and
movement tuning (platformer, the engine movement skill), enemy behaviour in the space
(game-ai), camera framing (camera-systems).
Core workflow
- Measure the metrics from the game, not from memory. Read the movement constants from the player script, then run the jump measurement (Pattern 1) to get the real apex, reach and airtime. Size every gap, ledge and corridor in those units.
- Block out the whole level with untextured primitives at true scale: Godot
CSGBox3Dand friends withuse_collisionon, Unity ProBuilder (com.unity.probuilder), Unreal Modeling Mode, or a plain grey tileset in 2D. CSG is for prototyping only; bake it withbake_static_mesh()andbake_collision_shape()before shipping. - Write the room graph (rooms, exits, what each exit needs, what each room grants) and the beat list next to the level. Both are small data files the checks below read.
- Lay the critical path, then the golden path (the route most players will take), then optional branches that rejoin it.
- Pace and teach. Intensity rises in a sawtooth with a rest before each spike. Each mechanic appears first where failure is cheap, then under pressure.
- Gate with intent using keys, abilities and one-way drops. Guide with light, leading lines and landmarks rather than walls.
- Run the checks (see "Check it"), fix the blockout, and only then ask the user for a playtest with specific questions.
- Dress last, and re-run the checks after any geometry change.
Patterns
1. Measure the real jump (headless)
# tools/measure_jump.gd: godot --headless --path . --script res://tools/measure_jump.gd
# Runs the real player scene on flat ground with run + jump held and prints the reach.
extends SceneTree
const PLAYER := "res://player.tscn" # the game's player scene
const RUN := &"move_right"
const JUMP := &"jump"
func _initialize() -> void:
var ground := StaticBody2D.new()
var shape := CollisionShape2D.new()
shape.shape = WorldBoundaryShape2D.new() # infinite floor at y = 0, normal up
ground.add_child(shape)
root.add_child(ground)
var player: CharacterBody2D = load(PLAYER).instantiate()
player.position = Vector2(0, -64)
root.add_child(player)
for i in 30: # let the player land and settle
await physics_frame
Input.action_press(RUN)
for i in 30: # reach full run speed
await physics_frame
var start := player.position
Input.action_press(JUMP)
var apex := 0.0
var ticks := 0
var airborne := false
while ticks < 600:
await physics_frame
ticks += 1
apex = maxf(apex, start.y - player.position.y)
if not player.is_on_floor():
airborne = true
elif airborne:
break # landed back on the same height
Input.action_release(JUMP)
Input.action_release(RUN)
var dt := 1.0 / Engine.physics_ticks_per_second
print("JUMP apex=%.1f distance=%.1f airtime=%.3fs" % [apex, player.position.x - start.x, ticks * dt])
quit(0 if airborne else 1)
Holding jump measures the full jump; release it after one tick to measure the short hop if the
controller has variable height. The formulas h = v² / 2g and d = run_speed * 2v / g are
only the ideal arc: a controller with RUN_SPEED 240, JUMP_VELOCITY 420 and gravity 980 gives
90 px and 206 px on paper and measured 93.6 px apex and 212 px reach here, because the fixed
step integrates in whole ticks. Fall gravity, air acceleration, collider width and landing
higher all change the number again. Size required gaps at about 0.7 of the measured reach and
keep gaps near 0.95 for optional challenges. For 3D, swap in StaticBody3D,
WorldBoundaryShape3D and CharacterBody3D.
2. Pacing as data, with a check
# Author the level as beats with an intended intensity (0..1), then check the curve.
const BEATS := [
{ "room": "entry", "type": "teach", "intensity": 0.1 },
{ "room": "hall_1", "type": "combat", "intensity": 0.5 },
{ "room": "vista", "type": "rest",
Установить level-design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл level-design?
Engine-neutral level design with Godot checks: player metrics from the real controller, key and ability gating with a soft-lock check, and pacing. Use when laying out a level or metroidvania gates, or players get lost or a key sits behind its own door. Not for generation (`procedural-gen`), painting tiles (`godot-tilemap`, `unity-tilemap-2d`) or jump tuning (`platformer`).
Как установить скилл level-design?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл level-design запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic