Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
GamesNovember 22, 20266 min read

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.

Startbase Team
Editorial ink illustration of a cutaway map of cave rooms with a locked stone gate and winged boots, the boots in ember orange

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:

  1. 01Start area: no requirements. Find the first ability at its end, after a boss.
  2. 02The first ability opens two new paths, so the player chooses which area to explore next.
  3. 03Each area contains one ability and one or two optional upgrades (more health, extra damage).
  4. 04Late abilities open shortcuts back through earlier areas, not just new areas.
  5. 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.

Tip

Ask the agent to write that reachability check as a test. Every time you add rooms, run it. It catches the bugs that otherwise only show up two hours into a playthrough. Saving game progress covers saving abilities and map reveals by ID so updates never break a playthrough.

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.

On this page

  • Abilities are keys
  • Plan the world as a room graph
  • The map screen is a core feature
  • Backtracking that rewards
  • Building rooms in practice
  • A metroidvania brief to paste
  • Metroidvania pitfalls

Keep reading

More in Games
Editorial ink illustration of a wooden toy figure jumping between two stone ledges, the coin above the gap in ember orange
GamesNovember 22, 2026

How to Make a Platformer Game with AI

A platformer lives or dies on its jump. Here are the numbers behind a jump that feels fair, how to build levels around it, and how to get an AI agent to build both.

7 min read
Editorial ink illustration of a tin wind-up runner on track pieces laid down ahead of it, the next track piece in ember orange
GamesNovember 22, 2026

How to Make an Endless Runner Game

An endless runner is a level generator with a character on top. Get the chunks, the speed curve and the controls right and the rest is art.

6 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.