---
title: "2D level editor with playtest, right in your browser"
description: "Build 2D game levels in your browser. Put your character on your map and, with Pro, play it with real collision before you open your engine."
source: https://makepixel.ai/features/scenes-and-playtest/
language: en
updated: 2026-11-25
---

# A 2D level editor you can actually play.

Paint a map, drop your character in and press Playtest. It walks, jumps and collides with the level you just drew, so you know a ledge is in reach before you export. Scenes are free, and Playtest is part of Pro.

- layers in a scene, plus the background: 32
- layers on a map: 64
- collision presets: 10
- movement styles, set by your character: 2

## Sound familiar?

- **To test one jump you export, import, write a controller and hope.** Put your character in a scene and press Playtest. It runs in the browser, with no controller to write.
- **Collision looks right in the editor, then the character walks through a wall.** Playtest reads your real tile shapes, slopes and collision objects, pixel by pixel, so you find it here first.
- **You can't tell if that ledge is reachable until the game runs.** A side-view jump clears 3 tiles, so you can walk up to the ledge and try it right now.
- **Your sprite and your level were drawn apart, and you've never seen them together.** A scene puts the real art on your map as live links. Edit the sprite and the scene updates.

## Put your character in the level.

A scene is a background with up to 32 images and maps placed on top. Everything in it is a live link to the original, so redraw a sprite or repaint a tile and the scene updates on the spot. Double-click any layer to edit its source, then close it and you land back in the scene with that layer still selected. Animated sprites keep playing, and you can pause on any frame to line things up.

### How to

1. Select a map and a sprite on the canvas and choose **Make scene**. The biggest one becomes the background.
2. Or right-click an image, choose **Place in** and pick a scene.
3. Open the scene with **Edit scene**, or select it and press Enter.
4. Drag layers to move them, or nudge with the arrow keys. Hold Shift for 8 pixels.
5. Press **+** in the **Layers** panel and pick a character under **Assets**.

Tip: Scenes are for trying and showing. To send a level to your engine, export its map.

## Press play on the level you just drew.

Playtest runs your character inside the scene, on your own collision, with no controller to write. Arrows or WASD move, and the number keys fire the actions you set up on the character. A top-down character walks and slides along walls. A side-scroller gets gravity, a jump and 45° slopes. The mode comes from the character, so there's nothing to configure. Playtest is part of Pro, and leaving it changes nothing in your project.

### How to

1. Open a scene that has a character in it and choose **Playtest** in the right panel, or press P.
2. Move with the arrows or WASD. In a side view with collision, Space, ↑ or W jumps.
3. Play the character's other actions. (1–9)
4. Press Esc to stop. Your character goes back where it started.

Tip: Playtest needs a character from your Assets. A plain image can sit in a scene, but it can't be played.

## Collision from your level, to the pixel.

Playtest doesn't use a rough box around each tile. It reads every visible map in the scene at pixel accuracy: full tiles, half blocks, slopes, custom polygons and tiles placed by auto layers, plus any object with the class collision, even on a hidden layer. Set collision on a tile once and every map using it is right. Give a Point the class player and that's where your character spawns.

### How to

1. In the map editor, tick **Collision** and click or drag across tiles to block or clear them.
2. For halves and slopes, right-click a palette tile and open **Tile properties**.
3. Draw a shape on an **Object layer** and set its **Class** to collision.
4. Place a **Point** and set its **Class** to player to choose the spawn. (P)

Tip: Sprites in a scene don't block movement. Only map collision and collision objects do.

## Paint the level you're about to play.

A level starts as a map, drawn with your own tilesets. Terrain brushes join the edges as you paint, auto layers lay down wall tops and scatter by rule, and object layers hold spawns, triggers and paths. A map can reach 1024 × 1024 tiles with 64 layers. Fix what the playtest showed you, go back to the scene, and the change is already there.

### How to

1. Press N, choose **Map** and pick a **Tileset**. If the project has none, one is created with the map.
2. Pick a terrain swatch and paint with the brush, bucket or shapes. (B)
3. Add an **Auto layer** for wall tops, edges and scatter.
4. Add an **Object layer** for spawns and trigger areas.
5. Bring in a Tiled or LDtk map by dropping it on the canvas.

Tip: When a map is the scene's background, double-click it to open the map editor.

## From test level to your engine.

When the level plays right, export its map. Godot gets a TileMapLayer per layer with physics, collision objects as StaticBody2D, other shapes as Area2D and points as Marker2D. Tiled gets TMX or JSON, which is also the way into Unity through SuperTiled2Unity. The scene itself exports as a PNG, or a GIF if it's animated, for your devlog, or merges into one editable pixel image with its layers kept.

### How to

1. Open the map and export to **Godot** (4.3 or later), **Tiled** (TMX or JSON) or **PNG**. (⌘ E)
2. For Unity, export to **Tiled** and bring it in with SuperTiled2Unity.
3. Export the scene from its menu as a **PNG**, or a **GIF** if it's animated.
4. Choose **Merge into pixel art** to turn the scene into an editable image.

Tip: An animated scene exports as a sprite sheet PNG, or as a GIF at 4×.

## Small things, done properly.

- **Bad spawns don't end the test** Start inside a wall and the character is pushed out, so one misplaced point doesn't stop you playing.
- **No collision, no falling** A scene with no collision has no gravity, so your character won't drop off the screen.
- **Hidden layers still collide** Hide an object layer to see the art clearly, and its collision keeps working.
- **Slopes that hold the ground** Side-view characters climb 45° slopes and stay on the ground going down them, instead of hopping.
- **Corners don't snag** A top-down character that clips a wall corner by one pixel slips past it.
- **Walls hold at any frame rate** A stutter or a trip to another tab can't push the character through a wall.
- **A jump pose in the air** Give a side-view character a jump action and it plays while the character is airborne.
- **A body measured from your art** The collision box comes from your character's own pixels, and it stays the same when the character turns.

## From blank canvas to your game.

1. **Paint a map** Press N, choose **Map** and paint it with your tileset.
2. **Add your character** Place a character from **Assets**, select it with the map and choose **Make scene**.
3. **Set the collision** In the map editor, tick **Collision** and click the tiles that block.
4. **Play it** Open the scene and choose **Playtest**. It's part of Pro.

## Faster with the keys.

- Brush: `B`
- Eraser: `E`
- Bucket: `G`
- Random: `D`
- Select objects: `V`
- Rectangle: `R`
- Ellipse: `O`
- Point: `P`
- Polygon: `N`
- Polyline: `L`
- Export: `⌘ E`

## Before you ask.

### Is this 2D level editor free?

Yes. Maps, tilesets, auto layers, object layers, scenes and every import and export are free. Playtest is part of Pro.

### Do I need to write code to test a level?

No. Playtest handles movement, jumping and collision from your character and your map. You only write code once the level is in your engine.

### Can I change the speed or jump height?

Not yet. Movement runs at 48 pixels a second, and a side-view jump rises just over 3 tiles, so a ledge 3 tiles up is in reach.

### Does Playtest run enemies, triggers or scripts?

No. It tests one character's movement and collision. Objects with other classes don't trigger anything, so game logic stays in your engine.

### Can I export a scene to Godot or Unity?

Not as a scene. A scene exports as a PNG, or a GIF if it's animated. To get a level into your engine, export its map to Godot or Tiled.

### Does it work for top-down and side-scrolling games?

Yes. Playtest follows the character's preset. Top-down characters walk freely and stop at walls, and Side-scroller characters get gravity, jumps and slopes.
