How to Make a Metroidvania
A metroidvania is a lock-and-key puzzle the size of a world. Here is how to plan abilities as keys, lay out an interlocking map and make backtracking a reward.

Key takeaways
- Every ability is both a movement tool and a key. Design the gates before the rooms.
- Plan the world as a graph of rooms with requirements on each exit, and check it for softlocks.
- Show players locked paths before they can open them. Remembering the gate is half the fun.
- Make returning faster than the first trip: shortcuts, one-way doors that open, and save rooms that double as fast travel.
To make a metroidvania, design a set of abilities that each open a type of obstacle (double jump for high ledges, dash for long gaps, a heavy attack for cracked walls), then build an interconnected 2D world where the player sees many of those obstacles long before they can pass them. As abilities arrive, old areas open up. Plan the world as a graph of rooms on paper first, check that the order works, and make every return trip shorter than the first. Start small: a first metroidvania with four abilities and 30 to 50 rooms is a complete game.
Abilities are keys
The defining idea of the genre (named after Metroid and Castlevania) is that new movement abilities replace keys. A key opens one door. An ability opens a whole category of obstacles across the world, and it also changes how you move everywhere. Pick four to six abilities and give each a clear gate:
- Double jump: ledges just higher than a normal jump can reach.
- Dash: gaps just wider than a running jump, and fast-closing doors.
- Wall jump or climb: tall vertical shafts.
- Heavy strike or bomb: cracked walls and floors with a distinct texture.
- Swim or water breathing: flooded areas.
- Grapple: hook points over pits.
Each gate must look unmistakable. Cracked walls always look the same; dash gaps always have the same marker. When players see one, they should think "I will come back here", not "maybe I am missing something". Pair each ability with a combat use as well (dash through enemy attacks, strike to break shields) so it stays useful after the gate.
Plan the world as a room graph
Before building rooms, draw the world as a graph. Each node is a room. Each edge is a connection with a requirement: none, double jump, dash, and so on. Group rooms into four to six areas with distinct looks (caves, ruins, gardens, a clock tower). Then write the intended order:
- 01Start area: no requirements. Find the first ability at its end, after a boss.
- 02The first ability opens two new paths, so the player chooses which area to explore next.
- 03Each area contains one ability and one or two optional upgrades (more health, extra damage).
- 04Late abilities open shortcuts back through earlier areas, not just new areas.
- 05The final area needs several abilities together.
Keep this graph as data in the game: rooms, exits and each exit's requirement. That lets you (or the agent) check for softlocks: a state where the player cannot progress. The classic softlock is a one-way drop into an area whose only exit needs an ability found elsewhere. With the graph as data, a short script can walk every reachable room for each set of abilities and confirm the next ability is always reachable.
The map screen is a core feature
Metroidvania players live in the map. A good one:
- Reveals rooms as they are visited, drawn as simple boxes on a grid.
- Marks exits that were seen but not taken, and gates by type (a small icon for cracked wall, dash gap).
- Shows save rooms, the current position and found upgrades.
- Lets players place their own markers. Many players use these to remember gates.
- Opens with one button and closes with the same button.
Rooms are usually sized in screen units (one screen, two screens wide, three screens tall), which makes them easy to draw on the map grid. The map and the pause screen are game UI you can rearrange by hand in the UI Editor, while the agent handles the logic of reveals and markers.
Backtracking that rewards
Backtracking is the genre's signature and its biggest risk. Walking through cleared rooms for five minutes is not fun. Techniques that keep it rewarding:
- Shortcuts that open from the far side: a door you cannot open from the start, which you open from behind later. Players love these loops.
- New abilities change old rooms: with a dash, a room that was a careful climb becomes a fast sprint.
- Save rooms as fast travel: later in the game, some save rooms connect to each other.
- Something new in old areas: a few enemies upgraded after a story event, or a new item visible now that you can reach it.
- Hints on the map: a gate icon in a visited room reminds the player where the new ability is useful.
Building rooms in practice
A metroidvania is a 2D platformer underneath, so movement feel comes first: coyote time, jump buffering, variable jump height, quick acceleration. Lock the base jump and run speed before building rooms, because every gate depends on those numbers (a double-jump ledge only works if the normal jump really cannot reach it). Put movement values on live Engine dials and tune them first. The platformer guide gives starting numbers for that jump.
Startbase stores a game's levels as scene files you can edit in the World Editor: move platforms, duplicate rooms, and press P to start the level with the player at the camera, which is very handy when testing a gate in room 34. Level files play in name order, so in a metroidvania ask the agent to name rooms by area (caves-03) and handle connections in the room graph rather than in a linear order. Level design basics covers readable rooms and metrics that hold across the whole map.
A metroidvania brief to paste
A 2D side-scrolling metroidvania in moody pixel art, about 2 hours long. The hero is a small knight with a sword. Movement: run, jump with coyote time and jump buffering, variable jump height. Four abilities found in order of choice after the first: double jump (opens ledges marked with blue moss), dash (opens gaps marked with wind streaks, and dashes through attacks), wall climb (vertical shafts with vines), heavy strike (breaks walls with an obvious cracked texture). 40 rooms across 4 areas: sunken caves, overgrown ruins, a flooded garden, a clock tower; each area has one ability, a boss and one health upgrade. Rooms, exits and exit requirements stored as a room graph in data, plus a test that checks the next ability is always reachable. Map screen that reveals visited rooms, marks seen exits and gate types, and supports player markers. Save benches heal and save; later benches connect for fast travel. Shortcut doors that open from the far side. Put run speed and jump height on Engine dials.
Metroidvania pitfalls
- Ambiguous gates. If players cannot tell an ability gate from a decorative wall, they search everywhere and feel lost.
- Too linear. If each ability opens exactly one new path, it is a platformer with extra walking. Offer choices of where to go next.
- Too open, too early. If the start area branches four ways, players wander. Open up after the first ability.
- Long walks after death. Put save benches before bosses and every few rooms.
- Scope creep. Ten abilities and 200 rooms is a multi-year project. Four abilities and 40 rooms is a game you can finish.
Make one area fully good before building the rest: movement, one ability, its gates, a boss. If that area is fun, the structure will carry the rest. Save a checkpoint at each finished area. When it is done, publish and share it to the Arcade, and see the games use case for other genres. Each area ends well with a boss, which boss fight design covers.
Frequently asked questions
What makes a game a metroidvania?
An interconnected world where new abilities open paths you saw earlier but could not use. Exploration, a map and backtracking with new powers are the core.
How big should a first metroidvania be?
Four to six abilities and 30 to 50 rooms in four or so areas, for one to three hours of play. That is enough for a real loop of gates and returns.
How do I avoid softlocks in a metroidvania?
Keep rooms, exits and their ability requirements as data, and run a check that, for every set of abilities, the next ability is reachable. Avoid one-way drops into areas without an exit.
How do I make backtracking fun?
Make return trips shorter with shortcuts and fast travel, let new abilities change how old rooms play, and add something new to find in areas players revisit.

