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
Prompt libraryNovember 22, 20266 min read

A Prompt for a Roguelite Dungeon Crawler

One brief for a top-down roguelite that is fun on the first build: a dodge with real frame values, enemies that telegraph, relics that change runs and a hub that keeps progress after death.

Startbase Team
Editorial ink illustration of an iron dungeon key, a die and a skull candle holder, the candle flame in ember orange

Key takeaways

  • Ask for hand-made room templates stitched together at random, not fully generated rooms. They are easier to make fair and to fix.
  • Every enemy attack needs a telegraph with a duration in the brief. Unreadable damage is the top complaint about first roguelites.
  • Meta-progression is what makes death feel like progress. Keep it small in the first build: one currency, a handful of unlocks.

Here is a complete prompt for a roguelite dungeon crawler: a top-down pixel game with three floors of randomly ordered hand-made rooms, a dodge roll with invincibility frames, three enemies that warn before they hit, a choice of one relic from three after each room, and a hub where a currency earned on death buys permanent unlocks. Paste it into a new project, play a few runs, then work through the follow-ups below. The brief is sized so the first build is a complete loop, from the hub to death and back.

Copy this brief

Make a top-down 2D roguelite dungeon crawler in dark, readable pixel art, for desktop and phones. A run is 3 floors. Each floor is 6 combat rooms, then a boss room on floor 3, arranged on a small grid and picked from a set of 12 hand-made room templates (open hall, pillars, narrow corridor, pit room and so on), with the order and enemy mix randomized from a run seed shown on the death screen. Doors lock while enemies remain and open when the room is clear. The player: 6 hearts (damage in half hearts), moves at 5 tiles per second, a short sword with a 3-hit combo (0.25 s per swing, the third hit knocks back), and a dodge roll covering 3 tiles in 0.3 s with 0.25 s of invincibility and a 0.5 s cooldown. Enemies: a slime that slowly chases and splits once on death; an archer that keeps 5 tiles away and fires a single arrow after a 0.6 s red glow; a brute that winds up for 0.8 s, flashing, then charges in a straight line and is stunned for 1 s if it hits a wall. Every attack has a visible telegraph. Boss: a giant slime with three phases at 100, 60 and 30 percent health. After each cleared room, offer 1 of 3 relics from a pool of 10 (for example: dodge leaves a damaging trail, +1 max heart, every 5th swing is a crit, enemies drop coins, arrows are reflected by the third combo hit). Coins buy a heart or a relic at a small shop after floors 1 and 2. On death, keep bones collected during the run. In the hub, bones buy permanent unlocks: +1 starting heart, relics added to the pool, a second weapon (a spear with longer reach and slower swing). Controls on desktop: WASD to move, mouse to aim, left click to attack, Space to dodge. On phones: a floating virtual stick on the left half of the screen that appears where the thumb lands, a large attack button and a dodge button on the right; attacks aim at the nearest enemy within 40 degrees of the stick direction. Feel: 60 ms hit stop on hits, a small screen shake on taking damage, enemies flash white when hit. Sound: low dungeon ambience, crisp sword hits, a rising tone when doors unlock. Screens: hub, HUD (hearts, coins, bones, floor and room), relic pick, pause, death summary with seed and run stats.

Why these choices

Each block of the brief answers a question the agent would otherwise guess at. The roguelike guide covers the genre in depth; here is the reasoning in short.

  • Hand-made templates, random order. Fully generated rooms are where first roguelites go wrong: unreachable corners, enemies spawned in walls, rooms with no cover. Twelve templates are enough variety for a first build, and you can fix a bad one directly. The procedural generation basics article explains why rules plus hand-made pieces beat pure randomness.
  • A seed on the death screen. When a run breaks, you can hand the seed to the agent and it can reproduce the exact layout. It is a debugging tool first and a player feature second.
  • Dodge numbers. A roll that is too long feels floaty; invincibility that lasts the whole roll makes it a get-out-of-jail button. 0.25 s of invincibility inside a 0.3 s roll rewards timing.
  • Three enemies with different jobs. One chases, one keeps distance, one punishes standing still. That is enough to make room layouts matter. Each has a telegraph with a duration, so the agent builds the warning, not just the hit.
  • Relics that change how you play. The examples are behaviors, not +10 percent stats. Behavior changes are what make two runs feel different.
  • Bones and the hub. Without meta-progression a death is just a loss. With it, every run moves something forward, which is the core of a roguelite as opposed to a strict roguelike.
  • Aim assist on phones. Aiming with a thumb while dodging is hard. Snapping to the nearest enemy in the stick's direction keeps the game about positioning.

Follow-up prompts, in order

  1. 01Make the rooms editable. Turn each of the 12 room templates into its own level scene so I can move walls, pillars, pits and enemy spawn markers in the World Editor. The run generator should keep picking from these scenes.
  2. 02Tune by hand. Add Engine panel dials for player speed, dodge distance, invincibility time, each enemy's telegraph time and the boss's phase thresholds.
  3. 03Give the boss a real fight. Make the giant slime's phases distinct: phase 1 slow hops with a shadow that marks the landing, phase 2 splits into two medium slimes, phase 3 leaps twice in a row with a shorter warning. Add a 2 second pause between phases with a roar so the player can breathe.

The third follow-up uses the pattern from the boss fight design guide: phases that teach, then test, with rests between them. Send it only after the basic combat feels good, because a boss built on a weak dodge will feel unfair no matter how its phases look.

Two variations on the same brief

A one-room arena roguelite

Cut the floors and rooms. Replace them with one arena and 20 waves, with a relic pick every 3 waves and a boss at waves 10 and 20. This is faster to build and to balance, and it suits short phone sessions. Keep the dodge, enemies and relics exactly as written.

A turn-based dungeon

Change the combat line to: "Movement and attacks happen on a tile grid in turns: the player moves or attacks one tile, then every enemy acts once." Remove the dodge and hit stop, keep the telegraphs as tiles that glow one turn before an enemy attacks them. Turn-based plays well on phones with tap-to-move and is far easier to make fair.

Common problems and the prompt that fixes each

  • Damage feels random. Usually the telegraph is too short or the hitbox is larger than the sprite. Ask: "Show enemy hitboxes as outlines when I press H, make every hitbox no larger than the visible sprite, and lengthen every telegraph by 0.2 s."
  • The dodge goes through walls. Ask the agent to sweep the roll's movement against walls each frame and stop at the wall instead of moving the player first and checking after.
  • Relics stack into nonsense. Two relics that both trigger on hit can multiply each other. Ask for a rule: "Relic effects cannot trigger other relic effects," and for a test that picks every pair.
  • Runs are too long on phones. If a run takes 25 minutes, cut to 2 floors or 4 rooms per floor. Say the target: "A full run should take 10 to 15 minutes for a decent player."
  • The virtual stick drifts or gets stuck. Ask: "Reset the stick when the touch ends or leaves the screen, and ignore second touches on the left half." Then test with two thumbs at once.

Tip

The agent plays what it builds in a real browser, but it plays for seconds, not whole runs. Do the long runs yourself and report what happened with the seed: "Seed 48211, floor 2 room 4, the brute got stuck in the pit."

Before you publish

Play at least ten runs on a phone, including one where you die in the first room, and check that the bones count and unlocks survive a page reload. Then publish and share the link. For planning effort and budget beyond this first version, how much it costs to make a game lays out the options.

Frequently asked questions

What is the difference between a roguelike and a roguelite?

A roguelike resets everything on death. A roguelite keeps some progress between runs, such as unlocks or permanent upgrades. This prompt builds a roguelite: bones earned in a run buy permanent unlocks in the hub.

Can the dungeon be fully procedurally generated?

It can, but start with hand-made room templates in a random order. They are easier to keep fair, and you can edit them yourself. Generate rooms from rules later, once the combat is tuned.

Does it work on phones?

Yes. The brief asks for a floating virtual stick, large attack and dodge buttons and aim assist toward the nearest enemy. Test it on your own phone, because thumb placement is the part screenshots cannot show.

On this page

  • Copy this brief
  • Why these choices
  • Follow-up prompts, in order
  • Two variations on the same brief
  • Common problems and the prompt that fixes each
  • Before you publish

Keep reading

More in Prompt library
Editorial ink illustration of an open seed packet beside a wooden hoe and a watering can, one sprouted seed in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Cozy Farming Game

Paste this brief to get a calm, playable farm on the first build: four crops with real numbers, an eight-minute day, two seasons and controls that work under a thumb.

7 min read
Editorial ink illustration of a running shoe on a curling paper strip with three lanes, the lace tip in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Phone Endless Runner

A brief built around the phone first: portrait screen, swipes with real thresholds, a speed curve that tops out, and a restart that takes under a second.

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.