# How to make a 2D platformer game

> Markdown version of https://stella.sh/how/make-games/make-a-2d-platformer-game for agents and LLMs.
> Make your own 2D platformer with jumps, enemies and levels. Stella (stella.sh) builds it in Godot with free game art and gives you a game to double-click.

Describe your hero, the world and what makes a level tricky. Stella (stella.sh) builds the platformer in Godot, the free game maker, using free game art, and hands you a game you double-click to play.

## What you get

- Levels with jumps, enemies and coins
- Jumping that feels right, tuned on request
- A game file friends can download

## Ask Stella

> Make a 2D platformer about a frog who hops across lily pads. Three levels, flies to collect, and fish that jump out at you.

## An example chat

**You:** Make a 2D platformer about a frog who hops across lily pads. Three levels, flies to collect, and fish that jump out at you.

**Stella:** Ribbit. Building your frog platformer now.

*Stella works on: Building your frog platformer*
- Setting up Godot
- Picking free pond art and sounds
- Building three lily pad levels
- Adding jumping fish and flies

**Stella:** **Frog Hop** is in Documents/Games. Arrow keys move, space jumps, and the fish leap higher each level. Collect every fly to open the next pond. Want a boss turtle at the end?
Files: Frog Hop/project.godot, Frog Hop.exe

Works on Windows, Mac, Linux.

## Questions

**Do I need to learn Godot?**
No. Stella makes and changes the game for you. Open it in Godot only if you're curious.

**Can I use my own drawings?**
Yes. Drop them in a folder and Stella swaps them in for the hero, enemies or backgrounds.

**Is Stella free?**
Yes. Free with the ChatGPT, Claude or Gemini plan you already have.

## By hand

1. Install [Godot](https://godotengine.org), make a 2D scene with a CharacterBody2D for the player.
2. Draw levels with a TileMap and free tiles from [Kenney](https://kenney.nl).
3. Use Project, Export to make a game file for Windows, Mac or Linux.

## Related

- [How to make a game without coding](https://stella.sh/how/make-games/make-a-game-without-coding.md)
- [How to make an RPG game in RPG Maker](https://stella.sh/how/make-games/make-an-rpg-with-rpg-maker.md)
- [How to make an obby on Roblox](https://stella.sh/how/make-games/make-an-obby-in-roblox.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT, Claude or Gemini plan you already have.
