Skip to main content
Coding Quests

Godot Platformer Controller

Godot's default jump works, but it does not feel good. This controller adds the small forgiveness tricks players expect from a platformer. It is all one script, with the tuning values in the Inspector.

Free Godot 4.7 project · MIT licensed · v1.0.0

No account needed. Or download the v1.0.0 ZIP directly.

Running, double jumping onto a platform, dashing over a gap and wall jumping up a shaft.

What is in it

  • Running with acceleration and friction instead of instant speed.
  • Coyote time: you can still jump for a moment after running off a ledge.
  • Jump buffering: a jump pressed just before you land fires when you touch down.
  • Variable jump height and a tuned arc, with lighter gravity going up and heavier coming down.
  • A double jump, and an air dash with a cooldown.
  • Wall slide and wall jump.
  • One script and no plugins.

Quick start

Download the project from GitHub and unzip it. In the Godot Project Manager, click Import and pick the project.godot file inside the folder.

  1. Press F5.
  2. Run with A and D, and jump with Space, W or Up.
  3. Press jump again in the air to double jump. Dash with X or Shift.
  4. In the shaft, jump into a wall and press jump again to kick off it.

The README on GitHub explains how each part works and how to copy it into your own game.

Compatibility and limits

Made for
Godot 4.7, standard build. GDScript only, no .NET needed.
Tested on
Godot 4.7.2 stable, on Windows. Earlier versions of Godot 4 are untested.
Renderer
Compatibility
Code license
MIT. You can use it in commercial games. Read the license
Art and fonts
Character, tiles, flag and background from Kenney's Pixel Platformer pack (CC0 1.0).
Release
v1.0.0, commit 5a69a95, published 2026-10-03

Known limits

  • The dash is horizontal only.
  • There is no ledge grab, crouch, or dropping through one-way platforms.
  • Air control and the double jump animation time are fixed in the script, not in the Inspector.
  • Slopes use Godot's default settings and are not tuned.

Learn to build it

Copying a system works until you need to change it. These quests build it with you, one small step at a time. You write the GDScript in your browser and each step is checked before you move on.

Move & Jump

The base: gravity, running with acceleration and friction, a jump, and switching animations.

Free, 3 lessons

A Jump That Feels Amazing

Adds coyote time, jump buffering, variable jump height and the gravity tuning.

Free, 3 lessons

Dash, Double Jump & Wall Jump

Adds the double jump, the air dash, and the wall slide and wall jump.

First lesson free

See all the free Godot projectsReport a problem with this project