game-development
БесплатноБез исполняемых скриптовНе проверенUse when building, fixing or tuning any video game. Invoke it before writing or changing game code (game loop, movement, physics, input, enemies, levels), in…
от davila7★ 34 631 звезда на GitHubОб этом скилле
Game Development
Core principles that hold in every engine, plus a map of the reference guides in references/. Read this file first, then open only the references the task needs.
Workflow
Find out what already exists. Before suggesting an engine or architecture, look for project files:
File in the project Engine / stack project.godot,*.gd,*.tscnGodot ProjectSettings/ProjectVersion.txt,Assets/,*.unityUnity *.uproject,Source/,Config/DefaultEngine.iniUnreal package.jsonwithphaser,pixi.js,three,@babylonjs/coreWeb framework <canvas>+requestAnimationFramewith no frameworkRaw Canvas/WebGL Match the engine's conventions and version already in use. Never migrate engines or frameworks unless asked.
Read the matching references (table below). One platform guide plus one dimension guide covers most tasks.
Get the core loop playable first. Placeholder shapes and sounds are fine. Fun is found by playing, not by planning: polish, menus and content come after the 30-second loop feels good.
Keep game logic separate from rendering and input, so it can be tested and reasoned about without a frame running (see Core principles).
Measure before optimizing. Use the engine profiler or the browser Performance panel, find the slowest system, fix that, measure again.
Verify by running it. Launch the game (or its tests) after each change; a game that compiles can still be unplayable. For browser games, open the page and check the console for errors.
Reference guides
Each file is self-contained. Load it with the Read tool when the task touches its topic.
| When the task involves... | Read |
|---|---|
| Browser games: framework choice, WebGPU/WebGL, asset loading, audio unlock, PWA | references/web-games.md |
| iOS/Android: touch input, battery, thermals, store rules | references/mobile-games.md |
| PC/console: engine choice (Unity, Godot, Unreal), Steam, controllers, certification | references/pc-games.md |
| VR/AR: comfort, frame rate, interaction, world scale | references/vr-ar.md |
| 2D: sprites, tilemaps, 2D physics, cameras, platformer feel | references/2d-games.md |
| 3D: rendering, shaders, lighting, LOD, 3D cameras | references/3d-games.md |
| Design: core loop, GDD, difficulty, progression, rewards | references/game-design.md |
| Online play: architecture, netcode, lag compensation, anti-cheat | references/multiplayer.md |
| Visual style, asset pipeline, animation, naming | references/game-art.md |
| Sound design, music systems, mixing, spatial audio | references/game-audio.md |
Examples:
- "Browser 2D platformer":
web-games.md, then2d-games.md;game-design.mdfor level pacing. - "Mobile puzzle game":
mobile-games.md, thengame-design.mdfor difficulty curves. - "Multiplayer VR shooter":
vr-ar.md,3d-games.md,multiplayer.md.
Core principles
1. Game loop with a fixed timestep
Run simulation (physics, gameplay) at a fixed rate and render as often as the display allows, interpolating between the last two simulation states. A variable dt in physics makes jumps, collisions and replays depend on frame rate.
const STEP = 1 / 60; // simulation rate (seconds)
const MAX_FRAME = 0.25; // clamp to avoid the "spiral of death" after a stall
let acc = 0, last = performance.now() / 1000;
function frame(nowMs) {
const now = nowMs / 1000;
acc += Math.min(now - last, MAX_FRAME);
last = now;
while (acc >= STEP) {
applyInput(); // consume actions latched by input events, so a frame with zero ticks loses nothing
update(STEP); // deterministic: same input, same result
acc -= STEP;
}
render(acc / STEP); // alpha in [0,1): blend previous and current state
requestAnimationFrame(frame);
}
requestAnimationFrame(frame);
Engines already provide this split; use theirs instead of writing a second loop: Godot _physics_process vs _process, Unity FixedUpdate vs Update, Phaser Arcade physics (fixedStep: true by default, rate set by physics.arcade.fps). Unreal's Tick is variable-rate; enable physics substepping in Project Settings and keep DeltaSeconds out of deterministic logic.
2. Input as actions, not keys
Map device input to named actions and read only actions in gameplay code:
"jump" → Space, Gamepad South, tap
"move" → WASD / arrows, left stick, virtual joystick
This gives rebinding, gamepad and touch support for free, and makes input recordable for replays and tests. Use the engine's system where it exists (God
Установить game-development в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл game-development?
Use when building, fixing or tuning any video game. Invoke it before writing or changing game code (game loop, movement, physics, input, enemies, levels), in any engine (Godot, Unity, Unreal, Phaser, PixiJS, Three.js, Babylon.js, raw Canvas/WebGL) or platform (web, mobile, PC/console, VR/AR). Covers the game loop, fixed timestep, input mapping, frame budgets, AI, collision and game feel, and points to reference guides for 2D, 3D, game design, multiplayer, art and audio.
Как установить скилл game-development?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл game-development запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic