Guide

How to make a 2D game: pick a style, pick a tool, build one screen at a time

Choose the view and art style first, then a 2D tool, and build the movement on one screen. The guide below shows how to make a 2D game.

10 min readUpdated
Tesana Team
  1. Write the game on one page, including the view and the art style.
  2. Pick a 2D tool.
  3. Build the movement with placeholder shapes.
  4. Add collisions, a goal and a way to lose.
  5. Draw or find your sprites.
  6. Add sound.
  7. Playtest, tune how it feels, then add screens and share it.
Miner vs. Miner, a 2D mining duel made on Tesana
Miner vs. Miner made on Tesana

2D game examples to learn from

2D games are played on a flat plane: characters move left and right, up and down, but not into the screen. If you're new to making games, the guide on how to make a game covers the basics, and this page covers what's particular to 2D. These well-known 2D game examples show the main types:

  • Side-on platformers, such as Super Mario Bros. and Celeste. You run and jump across levels seen from the side. The guide on how to make a platformer game goes into these in detail, and Tesana has a platformer game maker too.
  • Top-down games, such as The Legend of Zelda: A Link to the Past and Stardew Valley. You look down on the world and walk in any direction.
  • Puzzle games, such as Tetris. One screen with simple pieces and rules that get harder.
  • Fighting games, such as Street Fighter II. Two characters face each other on one screen.

Pick the type closest to your idea, then play two or three games of that type with a notebook open. Write down what the player does in the first minute.

2D game design: decide the view, the style and the controls

In 2D, most of the work comes from the view and the art style you pick, and those choices also narrow down which tool suits you. Settle these three before you install anything.

2D game design: decide the view, the style and the controls
ChoiceOptionWhat it adds to the work
ViewSide-onGravity, jumping and falling. Levels are mostly long and flat.
ViewTop-downMovement in four or eight directions and maps that spread both ways. No gravity.
ViewIsometric (angled)Looks almost 3D. Art has to be drawn at an angle and drawn in the right order, so it's the most work of the three.
Art stylePixel artSmall images that are quick to draw. They need to be scaled up in whole steps to stay sharp.
Art styleFlat shapesClean at any screen size, and easy to animate by moving parts around.
Art styleHand-drawnThe most expressive, and the most work, since each animation frame is drawn by hand.
ControlsKeyboard, gamepad or touchTouch needs on-screen buttons and more space. Keyboard and gamepad can share the same code in most tools.

A side-on game in pixel art with keyboard controls is the most common first choice, and it has the most tutorials. For 2D game design, the main thing is to make these choices early and keep to them, so the art and the code fit together.

2D video game maker options

Most tools handle 2D well. The differences are in how you build and what it costs.

2D video game maker options
ToolHow you buildGood forCost to start
GodotCode in GDScript, with a dedicated 2D modeMost kinds of 2D gameFree and open source
GameMakerCode in GML, or visual scripting2D games of all kindsFree for non-commercial use. The commercial license is $99.99 once
UnityCode in C#2D and 3D, with lots of tutorialsUnity Personal: free below $200K of revenue and funding over 12 months
GDevelopNo-code event listsFirst 2D games without codeOpen source and free, though some store publishing needs a paid plan
ScratchSnap code blocks togetherYounger makers, ages 8 to 16Free
AI game makerSay what the game is, then change it in the chatGetting a 2D idea running fastTesana (ours): planning a game is free with an account, and a paid plan or credits covers building it

Every cost in the table was checked on the tool's own site on 17 November 2026.

Any of these works as a 2D video game maker. For 2D game development on its own, Godot and GameMaker are the most focused, Unity carries over if you move to 3D later, and GDevelop or Scratch suit you if you'd rather not code.

How to make a 2D video game, step by step

These steps work in any of the tools above. A small side-on game makes a good example: a fox that jumps between platforms to collect three gems and reach a door.

Step 1: Write the game on one page

Write what the player does, the view, the art style and the controls. "Side-on, pixel art, keyboard. A fox jumps between platforms, collects three gems and reaches the door. Touching water restarts the level." Making a 2D game is easier to finish when that page fits on one side.

Step 2: Build movement with placeholder shapes

Use a rectangle for the fox and gray blocks for the platforms. Get running and jumping right before anything else, starting with how fast the fox runs and how high it jumps. This is the part players notice most in a side-on game.

Step 3: Add collisions, a goal and a way to lose

Make the fox stand on platforms instead of falling through them, then add the gems, the door and the water. Now there's a way to win and a way to lose, so you can create a 2D game that someone else can play from start to finish.

Step 4: Draw or find your sprites

Sprites are the 2D images for your characters and objects, often with a few frames each for walking and jumping. Draw them yourself in a pixel art editor, or use asset packs with a license that allows your use. On Tesana, the default engine draws 2D art in code. AI sprites are images made for your game, and they come with the Godot engine, which you choose in Settings, on accounts that have paid.

Step 5: Add sound

Add a sound for jumping, one for collecting a gem and one for falling in the water. Short sounds tied to actions make a game feel responsive. On Tesana you can add sound effects with AI.

Step 6: Playtest and tune how it feels

Watch someone else play. If they miss jumps they think they should have made, make the jump a little more forgiving. If they finish too quickly, move the gems further apart. Change one thing at a time and test again.

Step 7: Add screens and share it

Add a title screen, a second and third level, and a screen for when the player wins. When it's ready, share it as a browser game or export it from your tool. If you made it on Tesana, you can export your game on a paid plan. If you want to make your own 2D game bigger after that, add levels one at a time and test each one.

Tools for 2D art and sound

You don't need expensive software for 2D art. Piskel is a free pixel art editor that runs in the browser, Aseprite is a paid editor built for pixel art and animation, and Krita is a free, open source painting program for hand-drawn styles. For retro sound effects, free generators in the sfxr family make jump, coin and hit sounds from a few sliders.

Common problems in a first 2D game and how to fix them

These come up in almost every first 2D video game, whatever the tool.

  • Blurry pixel art. Engines smooth images by default. Turn that off: in Godot, set the default texture filter to Nearest in Project Settings, and in Unity, set each sprite's Filter Mode to Point.
  • A floaty jump. Make gravity stronger while the player falls than while they rise, and let a short tap give a short jump.
  • A jittery camera. Have the camera follow the player smoothly, and for pixel art, keep it on whole pixels.
  • Getting stuck in walls. Move the player with the engine's own character movement, such as Godot's CharacterBody2D or Unity's Rigidbody2D, rather than changing its position directly.

How to code a 2D game

If you want to learn how to code a 2D game, each tool has its own language:

  • Godot uses GDScript, which reads a lot like Python and is built for the engine.
  • GameMaker uses GML (GameMaker Language), and also has visual scripting for beginners.
  • Unity uses C#, which also carries over to 3D games and other software.
  • A browser game can be written in JavaScript, often with a 2D library that draws sprites to a web page.

Whichever you pick, the first program to write is the same: move a square with the arrow keys and stop it at the edge of the screen. Most of how to make 2D games in code grows from that loop of reading input, moving things and checking what they touch.

You can also learn from a 2D game that already works. Make a small one on Tesana, then download the source code on a paid plan and read how the movement and collisions were written. This works for games you made yourself. Downloads are turned off for copies of other people's games and for games started from a template.

How to make a 2D fighting game

A 2D fighting game puts two characters on one screen, facing each other. Each attack has three parts: a start-up before it can hit, an active part where it hits, and a recovery afterward. Each character has hitboxes (where an attack can hit) and hurtboxes (where they can be hit). Start with two characters and three attacks each, and balance them by changing those three timings. The guide on how to make a fighting game covers this in full, and Tesana's fighting game maker has ideas to start from.

Make a 2D game on Tesana

On Tesana, you describe a 2D game and Tesana's AI writes the code: say the view, what the player does and how they win, for example "a side-on game where a fox jumps between platforms to collect gems". Play it in your browser and change it by chatting. The default engine draws the art in code, and sprite images come with the Godot engine on accounts that have paid.

Planning your 2D game takes only an account. Building it is part of a paid plan or uses credits, as the pricing page explains, and the 2D game maker page has prompts to start from.

Need an idea?

Questions about making a 2D game

  • Is making a 2D game easy?

    It's the easiest place to start for most people. There's no camera to manage in three dimensions, the art is flat, and every tool on this page has 2D tutorials. A small 2D game with one screen and one goal is a realistic first project.

  • What game costs $1 billion to make?

    No publisher has confirmed a $1 billion budget. Rockstar hasn't said what GTA VI cost, and analysts estimate well over $1 billion, with some putting it near $1.5 billion. Star Citizen has raised more than $1 billion from backers since 2012, and that figure counts crowdfunding only.

  • Is C++ or C++ better for games?

    Most people asking this mean C# or C++. C++ is faster and is used inside big engines such as Unreal, but it's harder to learn. C# is easier and is the language of Unity, so it's the more common first choice for a 2D game. For a beginner, C# or Godot's GDScript gets you to a working game sooner.

  • Is 2D harder than 3D?

    Usually not. 2D has fewer problems to solve, with no 3D camera, models or lighting. Good 2D art can take as long as 3D art, though, especially hand-drawn animation. If you want to compare, the guide on how to make a 3D game lists what 3D adds.