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
Game mechanicsNovember 22, 20267 min read

How to Add a Minimap to Your Game

A minimap is a second, tiny view of your world that has to be readable at a glance. Here are the decisions, numbers and bugs that decide whether players use it.

Startbase Team
Editorial ink illustration of an open brass pocket compass with a tiny map engraved in its lid, the center dot in ember orange

Key takeaways

  • Draw the minimap from game data (a cached terrain image plus a handful of icons), not by rendering the world a second time.
  • Pick scale and rotation for your genre: north-up for planning, player-up for steering, and a range of about 2 to 3 screens.
  • Show five or fewer icon types, clamp off-screen objectives to the edge, and read enemy positions through the same visibility rules as the main view.

A minimap is a small, simplified map in a corner of the screen that shows where the player is, the shape of the area around them and a few things that matter (the objective, enemies, exits). To add one, bake the level's terrain into a small image once, draw it in a circle or square in a screen corner, put a player arrow at the center, and draw a few icons from your game data on top. Update the icons every frame; never redraw the terrain unless the level changes.

Decide if your game needs one

A minimap is a fix for one problem: the camera shows less of the world than the player needs to make decisions. Open 3D worlds, top-down shooters with enemies arriving from every side, racing games and strategy maps all have that problem. A single-screen puzzle game, a side-scrolling platformer with linear levels, or a horror game that wants you lost does not.

It also costs something: a minimap competes for one of the four screen corners and pulls the eye away from the action. If the main question your player asks is "where do I go next?", a waypoint arrow at the edge of the screen may answer it better with less clutter. If the question is "what is around me right now?", that is the minimap's job. A full-screen map (on a button or the pause screen) answers "where have I been?", which is a different feature; the metroidvania guide covers that map screen in depth.

Scale, rotation and shape

Three choices decide how the minimap feels. Make them deliberately, because the defaults an engine gives you rarely fit.

Scale: how much world it shows

A useful minimap shows about 2 to 3 times what the camera shows. Less than that and it repeats the screen; much more and every icon becomes a speck. In numbers: on a phone a minimap of about 110 to 140 points across, covering a radius of 25 to 40 tiles in a top-down game, or 150 to 250 meters in a 3D world on foot. Vehicles need more range than walking, so a racing or driving game zooms the minimap out with speed (for example from 150 m at rest to 300 m at top speed, eased over a second).

Rotation: north-up or player-up

  • North-up: the map never turns, the player arrow does. Best for planning and learning a layout: strategy, top-down shooters, RPG towns. Players build a mental map because north is always the same.
  • Player-up: the map turns so the player always faces up. Best for steering: driving, flying, third-person 3D. "The objective is to my left" reads instantly.
  • Third-person 3D games often rotate with the camera, not the character, so the minimap matches what the screen shows. Pick one and never mix them.

Shape

A circle suits player-up maps, since rotating a square shows its corners sweeping around. A rounded square suits north-up and uses corner space better. Either way, give it a solid backing at around 70 to 85 percent opacity so it stays readable over any scene, the same rule the HUD design guide applies to every overlay.

What to draw, and what to leave out

The minimap is a summary. The terrain should be two or three flat tones (walkable, wall or water, maybe road), never a shrunken screenshot of the art. Icons go on top, and the fewer types the better: players can tell about five icon types apart at a glance; past that they stop reading.

  • The player: an arrow, not a dot, so facing is clear. Always the highest layer and the brightest color.
  • The current objective: one distinct shape. When it is outside the minimap's range, clamp it to the edge in its true direction, maybe with a distance number. This one rule makes the minimap useful even when the target is far away.
  • Threats: enemy dots in one warning color. Consider showing only enemies that are aware of the player, or within a radius, so a calm moment looks calm.
  • Points of interest: shops, exits, save points, discovered once and then permanent.
  • Teammates in multiplayer, in a color the player's own arrow never uses.

Tip

Make icons a constant screen size (8 to 12 points), not world size. When the map zooms out with speed, icons stay readable instead of shrinking to nothing.

How to build it without halving your frame rate

The obvious way to make a minimap is a second camera looking down at the world, rendered into a small texture. It works, and in a 3D game it doubles the drawing work: every tree, rock and enemy is drawn twice. On a phone that can be the difference between smooth and stuttering.

The cheaper way is to build the minimap from data. When a level loads, draw its layout (from the tilemap, or from the level's walls and floor shapes) into one small image, a few hundred pixels across. Each frame, draw that image offset and rotated around the player, masked to a circle, then draw the icons from a short list of positions. That is a handful of draw calls regardless of how detailed the world is. If you do want a real top-down render (for a 3D game whose terrain cannot be flattened easily), render it at low resolution and only a few times a second, since terrain barely changes.

In 3D, the terrain image needs world-to-map conversion: take the world X and Z (ignore height), subtract the level's minimum corner, divide by the level size, multiply by the image size. Get that one function right and test it with an icon placed at each corner of the level. See making web games run smoothly on phones for the broader budget the minimap has to fit into.

Bugs minimaps usually have

  1. 01Mirrored axis. The player walks right and the arrow moves left, or up is flipped in 3D (screen Y points down, world Z often points toward the camera). Test all four directions in the first build.
  2. 02Arrow facing drifts from the camera. Third-person games often turn the character smoothly while the camera snaps, or the reverse. Decide which one the arrow follows.
  3. 03Icons leak hidden information. Enemy dots drawn from the full enemy list ignore stealth or fog. Read through the same visibility check as the main view.
  4. 04Icons outside the mask. Square-clipped icons poking out of a circular map. Clip icons to the shape too, except the clamped objective marker.
  5. 05Stale terrain after changes. A destroyed wall, a built house or an opened gate never updates. Redraw only the changed area of the terrain image.
  6. 06Covers the action on phones. A minimap in the top right sits under the right thumb's reach area in landscape for some layouts, and in portrait it fights the score. Place it, then play with your thumbs on the screen.
  7. 07Multi-floor levels. Showing upstairs and downstairs at once is unreadable. Show only the player's floor and switch when they change floors.

Minimaps with other systems

  • Fog of war: unexplored areas are dark on the minimap too, and enemy dots only show in visible cells. Both views read the same grid.
  • Quests: the active quest step decides the objective marker. Switching tracked quests moves the marker; a completed step clears it.
  • Pathfinding: a faint line along the actual route to the objective (the path the enemies use) beats a straight-line arrow in a maze.
  • Camera: a minimap reduces the need for a far camera. You can keep the main camera tight and dramatic, as the game camera guide suggests, and let the minimap carry awareness.

A minimap brief to paste

Add a minimap in the top-left corner: a circle 120 points across with an 80% opaque dark backing. Draw it from a terrain image baked when the level loads (floor in one tone, walls in another, water in a third), not from a second camera. North-up, with the player as an arrow at the center showing facing. Range: 30 tiles radius. Icons at a constant 10-point size: the current objective (clamped to the edge with a distance in meters when out of range), enemies that are chasing the player in red, shops and exits once discovered. Enemies hidden by fog or out of sight do not appear. Tapping the minimap opens a full-screen map that pauses the game. Expose range and opacity as dials.

Once it works, rearrange the minimap and the rest of the HUD by hand in the UI Editor and check it on a real phone with both thumbs in place. Then walk in a full circle and confirm the arrow, the map and the screen agree the whole way round.

Frequently asked questions

Should a minimap rotate with the player?

Rotate it (player-up) for steering games like racing, flying and third-person action, where left and right matter most. Keep it north-up for strategy, top-down shooters and towns, where learning the layout matters more.

How big should a minimap be on a phone?

Around 110 to 140 points across is a good start, showing two to three times the area the camera shows. Test it with your thumbs on the screen so it is not covered or crowding the score.

Why does my minimap make the game lag?

Usually because it renders the whole world a second time with another camera. Bake the terrain into one small image when the level loads and draw only icons on top each frame.

How do I show an objective that is off the minimap?

Clamp its icon to the minimap's edge in the true direction of the objective and add a small distance label. Players then always know which way to go, even across a big map.

On this page

  • Decide if your game needs one
  • Scale, rotation and shape
  • What to draw, and what to leave out
  • How to build it without halving your frame rate
  • Bugs minimaps usually have
  • Minimaps with other systems
  • A minimap brief to paste

Keep reading

More in Game mechanics
Editorial ink illustration of a wooden toy figure in mid-air above a gap, the puff cloud under its feet in ember orange
Game mechanicsNovember 22, 2026

How to Add a Double Jump to Your Game

A double jump is one counter and one reset rule, but the details decide whether it feels like control or like cheating. Here are the values and the bugs to watch for.

8 min read
Editorial ink illustration of a small figure streaking along a stone floor with faded ghost copies behind it, the front figure's scarf in ember orange
Game mechanicsNovember 22, 2026

How to Add a Dash Move

A dash is a short burst of fixed speed that overrides normal movement. Get its distance, its ending and its refill rule right and it becomes the move players use most.

7 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.