Godot genre platformer

From thedivergentai/GD-Agentic-Skills · View interactive version

Godot genre platformer is an AI agent skill from the GitHub repository thedivergentai/GD-Agentic-Skills. 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

How to use this skill

Skill file

NEVER Do (Expert Anti-Patterns)

Physics & Movement Feel

Polish & Level Design

Architecture & Performance


Available Scripts

MANDATORY: For movement feel, read the controller + modules — do not re-implement coyote/buffer/variable-jump inline.

Controllers (golden path)

Movement modules

World / camera / polish


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 / variable_jump.gd. Copy those modules; do not paste coyote/buffer recipes here.

Tune only these knobs in project code after reading the scripts:

| Knob | Expert default / note |

|------|------------------------|

| Coyote window | ~0.1s — without it, ledge jumps feel broken |

| Jump buffer | ~0.15s — early press must land as jump |

| Variable jump | Cut upward velocity on release |

| Apex / fall gravity | Higher fall multiplier after apex = snappier landings |

| CCD | Enable cast-ray CCD for fast projectiles / dashes |

| Moving platforms | AnimatableBody2D + sync_to_physics; set platform_on_leave |

| One-ways | one_way_drop_handler.gd — mask/layers, not ad-hoc disable |

Ground: instant direction response. Air: slightly reduced accel. Gravity scaled by delta; never velocity *= delta before move_and_slide().


Level Design Principles

The "Teaching Trilogy"

  1. Introduction — safe learn → 2. Challenge — moderate risk → 3. Twist — combine / time pressure

Flow and Pacing

Easy → Easy → Medium → CHECKPOINT → Medium → Hard → CHECKPOINT → Boss

Camera

Use platformer_camera.gd / peer godot-camera-systems for look-ahead — never blind jumps.


Platformer Sub-Genres


Common Pitfalls

| Pitfall | Solution |

|---------|----------|

| Floaty jumps | Increase fall gravity after apex |

| Imprecise landings | Coyote + buffer modules + land juice |

| Unfair deaths | Hazards telegraphed before contact |

| Blind jumps | Look-ahead camera / zoom triggers |

| Boring mid-game | New mechanic every 2–3 levels |


Polish Checklist

MANDATORY for depth beyond decision trees and script catalog: platformer-movement-deep.md. Do NOT Load on first-pass wiring — use bundled scripts/ first.

Godot-Specific Tips

  1. CharacterBody2D vs RigidBody2D: Always use CharacterBody2D for platformer characters - precise control is essential
  2. Physics tick rate: Consider 120Hz physics for smoother movement
  3. One-way platforms: Use set_collision_mask_value() or dedicated collision layers
  4. Wall detection: Use is_on_wall() and get_wall_normal() for wall jumps

Example Games for Reference

Reference

Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

Official Documentation

Related Skills

Prerequisites
Complements
Downstream / consumers
Master
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.