Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corridor Generation #1

Open
smacdo opened this issue Feb 15, 2012 · 1 comment
Open

Corridor Generation #1

smacdo opened this issue Feb 15, 2012 · 1 comment
Assignees
Labels

Comments

@smacdo
Copy link
Owner

smacdo commented Feb 15, 2012

The level generation algorithm needs to connect rooms with decent looking hall ways. This includes

  • hallways should generally be straight with few curves
  • hallways should try to link up and branch off of each other
  • generated corridor tiles need to have walls on their sides
  • generated corridors should not intefere with the rooms that are already placed
  • detect door way locations and insert them
  • all rooms must be connected together (must be able to verify this with connectivity analysis)
@ghost ghost assigned smacdo Feb 15, 2012
@smacdo
Copy link
Owner Author

smacdo commented Feb 15, 2012

Implement very basic hallways. I created an A* pathfinder class that links all rooms together and draws a simple line between rooms. Needs a lot of cosmetic touch up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant