Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7886589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:21:24+00:00 2026-06-03T05:21:24+00:00

Right now, I’m making Dungeon Master like game. The game have to be more

  • 0

Right now, I’m making Dungeon Master like game. The game have to be more sword-and-magic-related than Legends of Grimrock; something like Corridor Wizardry 8. I’m going to make some decent graphic look so I’m thinking about the right cell system algorithm.

First I was thinking about BSP. I get some info from these links

  • Simple example of BSP dungeon generation
  • http://roguebasin.roguelikedevelopment.org/index.php?title=Basic_BSP_Dungeon_generation

but I don’t know. BSP in its basic form is useful only for 2D-rogue-like dungeons.

I’m using C# XNA so I’m thinking about my own system defining cell by cell in xml, first their positions in space (making some tunnel-map system), then all of their details such as textures. But then, I’m afraid of placing “mapfile” generated objects like torches on the walls, treasure boxes, secret buttons, traps another items etc.

I want to know, which way should be the best to fulfill my in-game requirements and I don’t want to spend months by exploring BSP and then choose another way.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T05:21:25+00:00Added an answer on June 3, 2026 at 5:21 am

    In general, what you would be after for this purpose is Maze Generation Algorithms of which the BSP is one way of doing it.

    However, you should decide on how are you going to represent your world first.

    If you want to create a set of “linked areas” then you could go for a DFS type of algorithm which would attempt to link the individual areas in a complex way. (Think of it like the areas you navigate in MUD type games)

    Otherwise, if you would like to go for one big solid Maze representing your dungeon then you could generate a simple bitmap with one of the algorithms in that wikipedia link and then use this as your “floor plan”. This can then be extruded upwards to create the walls and give you a very basic “Doom”-like space which you can then enrich with torches / textures / any other objects.

    I hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Right now I have a small database with two tables that look something like
Right now, I have an enum like this: public enum ReferenceType { Language =
Right now I have a considerable amount of would-be magic numbers stored in constants.
Right now I have a script that creates symlinks to anything newer than 2
Right now I have an upload field while uploads files to the server. The
Right now, I have: RewriteRule ^([^/\.]+)?$ index.php?id=$1 [L] to match any username at the
Right now I have a script that will get the last five files in
Right now I have 3 tables: User, Roles, and User_Roles for the many-to-many association.
Right now I have a function, in a class that is used to listen
Right now I came across the Observer/Observable pattern where I have my Observable notify

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.