platformer
What it does
This skill guides building side-scrolling platformers and tuning how the jump feels. It is for game developers making Mario-style or Celeste-style 2D games.
When to use it
- βWhen you are building a side-scrolling platformer where jumping between surfaces is the core action.
- βWhen a jump feels floaty, unresponsive, or unfair and needs tuning.
- βWhen you need wall slides, wall jumps, hazards, or checkpoints.
Skill link
https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/genres/platformer/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βMy platformer jump feels sluggish and players miss ledges. Can you add coyote time, jump buffering and variable jump height?β
5 new skills a week. 1 minute to read.
How it works
The agent tunes run and jump controls, then adds coyote time so the player can still jump just after leaving a ledge, and jump buffering so an early press still counts. It also adds variable jump height and corner correction.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Platformer
A playbook for 2D platformers β the run/jump controller "feel", level structure, hazards, and goals. This is a compositional skill: it wires an engine movement skill, a tilemap skill, and design skills into a working game. It does not re-teach physics or tilemaps; it tells you what to build and how to make jumping feel good.
When to use
- Use when building a side-scrolling or single-screen platformer, a "Mario-like" / "Celeste-like", or any game whose core verb is jump between surfaces.
- Use when a jump feels floaty, unresponsive, or "unfair" and you need feel fixes (coyote time, jump buffering, variable height, corner correction).
When not to use: top-down movement with no gravity β use the engine movement skill
directly. 3D first-person traversal β fps-shooter. Grid/turn movement β roguelike.
For the raw kinematic body API, use godot-2d-movement (or your engine's controller skill).
Core loop
Observe a gap/hazard β commit to a jump or move β land safely (or die) β reach the next checkpoint/goal. A platformer lives or dies on the moment-to-moment feel of that single jump, repeated thousands of times. Tighten the controller first; everything else is content.
Must-have systems
- Run/jump controller β horizontal accel/decel, gravity, jump, with the feel aids below.
- Solid + one-way collision β ground, walls, and "jump-through" platforms.
- Level geometry β a tilemap or hand-placed colliders; the playable space.
- Hazards + death/respawn β spikes, pits, enemies; reset to the last checkpoint.
- Checkpoints / level goal β progress markers and a win condition (flag, door, exit).
- Camera β follows the player with a deadzone and look-ahead, clamped to level bounds.
- Juice β landing dust, squash/stretch, hit-stop, sound. Cheap, huge feel payoff.
Design knobs (make the jump feel right)
Tune these by outcome (height in tiles, time to apex in seconds), not by raw numbers.
| Knob | Effect | Sane starting point |
|---|---|---|
| Max jump height | reach | 3β4 tiles |
| Time to apex | "weight"/snappiness | 0.30β0.40 s |
| Fall gravity multiplier | snappy, non-floaty fall | 1.5β2.0Γ rise gravity |
| Coyote time | jump just after leaving a ledge | 0.08β0.12 s (~5β7 frames @60) |
| Jump buffer | press just before landing still jumps | 0.10β0.15 s |
| Variable jump cut | tap = short hop, hold = full | cut upward velocity Γ0.4β0.5 on release |
| Apex hang | brief float at the top for air control | reduce gravity Γ0.5 near ` |
| Ground accel / friction | responsiveness vs. ice | reach top speed in 0.05β0.1 s |
| Corner correction | nudge past a ledge clipped by 1β2 px | nudge up to ~4 px sideways |
| Wall slide / wall jump | controlled descent and kick-off | wall grace, kick/steering lock, air-jump refresh policy; see refs Β§9 |
Derive gravity and jump velocity from the feel values rather than guessing β see Pattern 1.
Patterns
1. Solve jump physics from height + time (not magic numbers)
# Pseudocode. Pick the FEEL you want, then derive the physics. y-axis points DOWN.
# From kinematics: h = (g * t^2) / 2 and v0 = g * t.
JUMP_HEIGHT = 3.5 * TILE # how high, in world units
TIME_TO_APEX = 0.35 # seconds to reach the top
gravity = (2 * JUMP_HEIGHT) / (TIME_TO_APEX ** 2) # rising gravity
jump_velocity = -(2 * JUMP_HEIGHT) / TIME_TO_APEX # negative = upward
fall_gravity = gravity * 1.8 # heavier on the way down β less floaty
2. Coyote time + jump buffer + variable height (the feel core)
For wall or air jumps, replace this simple jump resolver with the unified resolver in refs Β§9; keep variable-height and gravity integration only once per tick.
# Pseudocode in the per-frame update. dt = seconds since last frame.
# Timers count DOWN; refresh coyote while grounded, buffer on a fresh press.
if on_floor:
coyote_timer = COYOTE_TIME # 0.1
if jump_pressed_this_frame:
buffer_timer = JUMP_BUFFER # 0.12
coyote_timer -= dt
buffer_timer -= dt
# A jump is allowed if we pressed recently AND were grounded recently.
if buffer_timer > 0 and coyote_timer > 0:
velocity.y = jump_velocity
buffer_timer = 0
coyote_timer = 0 # consume both so we can't double-jump
# Variable height: releasing jump early while still rising cuts the arc short.
if jump_released_this_frame and
FAQ
What is coyote time?
It is a short grace period that lets the player jump just after running off a ledge.
What is jump buffering?
It remembers a jump press made just before landing, so the jump still happens when the player lands.
Does it cover top-down games?
No. Top-down movement without gravity is better handled by the engine movement skill.
Details
Original description by the author
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, wall slide and wall jump, plus tiled levels and hazards. Use for a platformer or Mario/Celeste-like, or tuning jump feel.
Popularity
- GitHub stars
- 6.6k
- Ranking position
- #13809
- License
- Apache-2.0
- Updated
- 10/28/2026
Comments
- β¦
More skills from this repository
router
6.6kHelps your agent pick the right game development skill for a request by detecting your engine and the kind of task you need.
ai-behavior-trees-utility-ai
6.6kHelps your agent build a behavior tree and utility AI system for game enemies and characters that choose actions by priority and score.
audio-design
6.6kTeaches your agent game audio mixing: buses, decibel volume, ducking under dialogue, adaptive music and sound effect variation.
camera-systems
6.6kHelps your agent build game cameras that follow smoothly, stay inside the level, and orbit or look around in 3D.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.