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

Detect unconnected areas and connect #23

Open
Syndaryl opened this issue Nov 3, 2017 · 0 comments
Open

Detect unconnected areas and connect #23

Syndaryl opened this issue Nov 3, 2017 · 0 comments

Comments

@Syndaryl
Copy link
Owner

Syndaryl commented Nov 3, 2017

Follow up on #22

Advanced solution: connect the separated areas rather than removing one (disregarding the dungeon layout mask).
Need to find an algorithm to find the edge of the unconnected mass, the direction to the main mass. Then ray trace between the center of both masses and use that to connect the edges of both masses via a tunnel.

Perhaps have both ends of the tunnel sealed with secret doors :)

We may want to filter particularly small areas and just nuke those rather than connect them.

@Syndaryl Syndaryl added the 1.5 label Nov 3, 2017
@Syndaryl Syndaryl self-assigned this Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant