godot-genre-platformer
Expert blueprint for platformer games including precision movement (coyote time, jump buffering, variable jump height), game feel polish (squash/stretch…
от thedivergentai★ 1 019 звёзд на GitHub
Установить godot-genre-platformer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
NEVER Do (Expert Anti-Patterns)
Physics & Movement Feel
- NEVER multiply velocity by
deltabeforemove_and_slide(); the method internalizes the timestep. - NEVER skip Coyote Time (approx 0.1s); without this grace period, jumps will feel unresponsive when walking off ledges.
- NEVER ignore Jump Buffering (approx 0.15s); players expect to jump the instant they touch the ground if they pressed the button early.
- NEVER use a fixed jump height; strictly implement Variable Jump Height (cut velocity on release) for player expression.
- NEVER forget to scale gravity by
deltabefore adding to velocity; gravity is an acceleration and must be frame-rate independent. - NEVER rely on discrete collision for high-speed movement; strictly use
CCD_MODE_CAST_RAYto prevent tunneling through geometry. - NEVER use
move_and_collide()for standard traversal; it lacks the slope/stair handling ofmove_and_slide(). - NEVER check coyote or buffer timers using exact equality (== 0.0); strictly use
is_equal_approx()or>= 0.0.
Polish & Level Design
- NEVER use linear camera snapping; strictly use Camera Smoothing or
lerp()to prevent motion sickness. - NEVER skip Squash and Stretch on jump/land; movement feels weightless without these subtle visual "juice" cues.
- NEVER create Blind Jumps; strictly use camera look-ahead or zoom triggers to reveal landing zones.
- NEVER use individual
Sprite2Dnodes for level geometry; strictly use TileMapLayer for optimized collision and rendering. - NEVER use complex/concave
CollisionShape2Dfor the player; strictly favor primitive shapes (Capsule/Rectangle) for stability.
Architecture & Performance
- NEVER use
CharacterBody2Dfor simple moving platforms; strictly use AnimatableBody2D and enablesync_to_physics. - NEVER ignore
platform_on_leavefor descending platforms; usePLATFORM_ON_LEAVE_ADD_UPWARD_VELOCITYto preserve jump impulse. - NEVER disable
recovery_as_collisionon the player character; it is required for correct floor snapping reports. - NEVER use the
!(NOT) operator in AnimationTree expressions; strictly useis_walking == false. - NEVER use standard Strings for high-frequency state checks; strictly use
StringName(e.g.,&"jumping"). - NEVER load heavy level chunks synchronously; strictly use
ResourceLoader.load_threaded_request()to prevent frame stutters.
Available Scripts
MANDATORY: For movement feel, read the controller + modules — do not re-implement coyote/buffer/variable-jump inline.
Controllers (golden path)
- advanced_platformer_controller.gd — MANDATORY before any precision jump/run controller.
- platformer_controller_2d.gd — Leaner CharacterBody2D baseline when the advanced stack is overkill.
- player_ground_controller.gd — Floor constant speed + slope snap refinements.
Movement modules
- coyote_timer.gd — MANDATORY with jump feel work (or use the integrated advanced controller).
- jump_buffer.gd — MANDATORY with coyote for landing responsiveness.
- variable_jump.gd — MANDATORY for release-cutoff height expression.
- wall_slide_sensor.gd — Nodeless wall detection.
- ledge_grab_sensor.gd — Shape-query ledge grabs.
- one_way_drop_handler.gd — MANDATORY before drop-through / one-way platform input.
- custom_collision_slider.gd — High-speed inter-frame slide response.
World / camera / polish
- synchronized_platform.gd — AnimatableBody2D
sync_to_physicsplatforms. - fast_projectile_ccd.gd — CCD to stop tunneling.
- platformer_animation_sync.gd — Boolean-safe AnimationTree sync.
- platformer_camera.gd — Look-ahead / smoothing (pair with
godot-camera-systems). - game_feel_helper.gd — Tween squash/stretch on visual node (pivot at feet).
- speed_trail.gd — GPUParticles trail toggle for dash/run juice.
- checkpoint.gd — Area2D checkpoint id + SaveManager position hook.
Core Loop
Jump → Navigate Obstacles → Reach Goal → Next Level
Skill Chain
godot-project-foundations, godot-characterbody-2d, godot-input-handling, godot-2d-animation, godot-audio-systems, godot-tilemap-mastery, godot-camera-systems, godot-monte-carlo-balancer
Movement Feel — Decision Knobs (not tutorials)
MANDATORY read: advanced_platformer_controller.gd plus coyote_timer.gd / [jump_buffer.gd](scripts/j
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/migration-notes.md
- references/platformer-movement-deep.md
- scripts/advanced_platformer_controller.gd
- scripts/checkpoint.gd
- scripts/coyote_timer.gd
- scripts/custom_collision_slider.gd
- scripts/fast_projectile_ccd.gd
- scripts/game_feel_helper.gd
- scripts/jump_buffer.gd
- scripts/ledge_grab_sensor.gd
- scripts/one_way_drop_handler.gd
- scripts/platformer_animation_sync.gd
- scripts/platformer_camera.gd
- scripts/platformer_controller_2d.gd
- scripts/player_ground_controller.gd
- scripts/speed_trail.gd
- scripts/synchronized_platform.gd
- scripts/variable_jump.gd
- scripts/wall_slide_sensor.gd
FAQ
Что делает скилл godot-genre-platformer?
Expert blueprint for platformer games including precision movement (coyote time, jump buffering, variable jump height), game feel polish (squash/stretch, particle trails, camera shake), level design principles (difficulty curves, checkpoint placement), collectible systems (progression rewards), and accessibility options (assist mode, remappable controls). Based on Celeste/Hollow Knight design research. Trigger keywords: platformer, coyote_time, jump_buffer, game_feel, level_design, precision_movement.
Как установить скилл godot-genre-platformer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл godot-genre-platformer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies 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…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…