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

Road generation is broken. #18

Open
sylvia43 opened this issue May 21, 2014 · 5 comments
Open

Road generation is broken. #18

sylvia43 opened this issue May 21, 2014 · 5 comments
Milestone

Comments

@sylvia43
Copy link
Owner

Road generation is ridiculously broken. We need something here...

@sylvia43 sylvia43 added this to the First Release milestone May 21, 2014
@ghost
Copy link

ghost commented May 26, 2014

I'm working on implementation of road generation, might take a while due to summer classes. The algorithm can be found here.

side note: Map generation can be fixed by having an ArrayList that stores all the areas (give the areas an x and y position in their linkedlist).

@sylvia43
Copy link
Owner Author

Cool.

@sylvia43
Copy link
Owner Author

In response to side note: What?

@ghost
Copy link

ghost commented May 26, 2014

You mentioned that if you walk N E S W (in a circle.. or square) that the terrain doesn't stay the same.

You can assign each Area a x and y position (because as a linkedgrid, they only know their neighbors). Based on the Area the player walks into, you can either load the Area from memory or generate a new one.

@sylvia43
Copy link
Owner Author

Oh yeah, if I want to fix it I could assign numbers...

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

No branches or pull requests

1 participant