
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.
| Choice | Option | What it adds to the work |
|---|---|---|
| View | Side-on | Gravity, jumping and falling. Levels are mostly long and flat. |
| View | Top-down | Movement in four or eight directions and maps that spread both ways. No gravity. |
| View | Isometric (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 style | Pixel art | Small images that are quick to draw. They need to be scaled up in whole steps to stay sharp. |
| Art style | Flat shapes | Clean at any screen size, and easy to animate by moving parts around. |
| Art style | Hand-drawn | The most expressive, and the most work, since each animation frame is drawn by hand. |
| Controls | Keyboard, gamepad or touch | Touch 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.
| Tool | How you build | Good for | Cost to start |
|---|---|---|---|
| Godot | Code in GDScript, with a dedicated 2D mode | Most kinds of 2D game | Free and open source |
| GameMaker | Code in GML, or visual scripting | 2D games of all kinds | Free for non-commercial use. The commercial license is $99.99 once |
| Unity | Code in C# | 2D and 3D, with lots of tutorials | Unity Personal: free below $200K of revenue and funding over 12 months |
| GDevelop | No-code event lists | First 2D games without code | Open source and free, though some store publishing needs a paid plan |
| Scratch | Snap code blocks together | Younger makers, ages 8 to 16 | Free |
| AI game maker | Say what the game is, then change it in the chat | Getting a 2D idea running fast | Tesana (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.






