Guide

How to make a platformer game: movement that feels good, then levels to use it in

Get a box running and jumping on simple blocks, and tune the jump until it feels fair. The six steps below show how to make a platformer game from there.

6 min readUpdated
Tesana Team
  1. Make a player box and some ground.
  2. Add running that speeds up and slows down.
  3. Add gravity and a jump.
  4. Make the jump feel good.
  5. Add hazards, checkpoints and a goal.
  6. Add art, animation and sound.
Usaka, a platformer made on Tesana
Usaka made on Tesana

What is a platformer game?

A platformer is a game where you run and jump across platforms to reach a goal, avoiding gaps, hazards and enemies on the way. Most are seen from the side in 2D, and some are 3D. The jump is the main action, so most of your time goes into making it feel right. Platformers are a kind of 2D game, and the guide on how to make a 2D game covers views, art styles and tools in more depth.

Tools for making a platformer

Tools for making a platformer
ToolHow you buildCost to start
ScratchCode blocks, made for ages 8 to 16Free
GDevelopNo-code event lists, with a ready-made platformer characterFree, with open source code
GameMakerGML code or visual scriptingFree for non-commercial use, $99.99 once for commercial
GodotCode in GDScriptOpen source and free to use
UnityCode in C#Free on Unity Personal until revenue and funding pass $200K in a 12 month period
AI game makerDescribe the hero, the jump and the worldTesana (ours): planning is free after signing up, and the build takes a paid plan or credits

The prices and limits above were checked on 17 November 2026 on each tool's site. For a first game of any kind, see how to make a game.

How to make a 2D platformer game as a beginner, step by step

Each step below works the same way whichever tool you picked. If you're learning how to make a 2D platformer game as a beginner, build each one with plain boxes before adding art.

Step 1: A player box and some ground

Make a rectangle for the player, a long flat block for the ground and a few floating blocks at different heights as your first test level.

Step 2: Running that speeds up and slows down

Make the player speed up over a moment when you hold a direction and slow down when you let go, instead of starting and stopping instantly. A little speed-up and slow-down makes the player feel like they have weight.

Step 3: Gravity and a jump

Pull the player down every frame, stop them when they land on a block, and give them an upward push when the jump button is pressed while they're on the ground. Try a few jump heights until a jump clears about three times the player's height.

Step 4: Make the jump feel good

Most of the feel of a platformer comes from this step. Three small tricks make a jump feel fair:

  • A short grace period after leaving a ledge. Let the player still jump for a split second after running off an edge, since players often press jump a moment late. Game makers call this "coyote time".
  • Remember a jump pressed just before landing. If the player presses jump a split second before touching the ground, do the jump as soon as they land. This is often called a jump buffer.
  • A shorter hop for a quick tap. If the player lets go of the button early, cut the jump short. Now they can make small hops and big leaps with one button.

Also make the player fall a little faster than they rise. It makes the jump feel snappy rather than floaty.

Step 5: Hazards, checkpoints and a goal

Add spikes or water that send the player back, a checkpoint halfway through a level, and a flag or door at the end. Now you can make a platformer game with a start, a middle and an end.

Step 6: Art, animation and sound

Swap the box for a character with a few frames for standing, running and jumping. Tesana's default engine draws 2D art in code, and AI sprites come with the Godot engine on accounts that have paid. Add a jump sound, a landing sound and a sound for collecting things, or make sound effects with AI.

Platform game design: introducing one idea at a time

With good platform game design, the player learns each new idea by playing, without a text tutorial. Use this pattern for each one:

  1. Show it safely. Put the first spike pit where falling in costs very little, so the player learns what spikes do.
  2. Test it. A few screens later, put a spike pit the player has to clear properly.
  3. Combine it. Later still, mix the spikes with an earlier idea, such as a moving platform over the pit.

Three or four ideas used this way are enough for a first game of five or six levels. If you want players to race through it, look at Tesana's speedrun-friendly games to see how fast routes are built into levels.

Make a platformer game on Tesana

On Tesana, you describe the hero, how they jump and the world they're in, for example "a cat that double-jumps across rooftops at night, collecting fish". Tesana's AI writes the code, you play it in your browser, and you ask for changes such as "add a checkpoint before the last gap".

You can plan your platformer on Tesana at no cost after signing up, while building it takes a paid plan or credits, both on the pricing page. The platformer game maker page has prompts to start from.

Need an idea?

Questions about making a platformer game

  • How to make a 2D player in Unity?

    Add a sprite to the scene, then give it a Rigidbody2D so gravity pulls it down and a Collider2D (a box or capsule) so it can stand on things. Write a C# script that reads the arrow keys to set its sideways speed and pushes it up when jump is pressed while it's on the ground.

  • How to make a platformer game scratch?

    In Scratch, make a sprite for the player and paint the ground in one color. Use a variable for falling speed: add to it every frame, and set it back to zero when the player touches the ground color. Move left and right with the arrow keys, and set the falling speed upward when the jump key is pressed. The guide on how to make a clicker game is a gentler first Scratch project if this feels like a lot.

  • How to make a game with HTML code?

    A browser game uses an HTML canvas element to draw on and JavaScript to run the game. The JavaScript runs a loop many times a second that reads the keys, moves things and redraws the canvas.

  • What was the very first platformer game?

    Guinness World Records names Nintendo's Donkey Kong (1981) the first true platform game. Space Panic (1980) is sometimes called the first, though its player climbs ladders and can't jump.