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

New Level Generation: Overlapping Rooms + No Hallways #24

Merged
merged 14 commits into from
Oct 26, 2018
Merged

Conversation

sunjay
Copy link
Owner

@sunjay sunjay commented Oct 26, 2018

This new level generation algorithm generates very interesting results every time and does not have a lot of the complexities/downsides of the previous algorithm attempts.

screenshot from 2018-10-26 02-05-23

screenshot from 2018-10-26 02-05-58

screenshot from 2018-10-26 02-06-16

screenshot from 2018-10-26 02-06-36

- Brand new tile representation (no more Option, better type hierarchy)
- Door (and Gate) are now tile objects instead of tile types
- No more passageway or passageway walls
- Walls can now be shared between rooms and rooms can overlap at their
  shared walls
- Common SpriteTable so SpriteImages aren't duplicated everywhere
- Entirely new level generation algorithm
- Separate TileRect type instead of putting all of that into Room
… rectangle is just the boundary and all tiles within it may not belong to that room since room boundaries can overlap
…either

visibly too small or have been split up by the rooms that overlap them.
@sunjay sunjay merged commit ee761e1 into master Oct 26, 2018
@sunjay sunjay deleted the only-rooms branch October 26, 2018 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant