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

Structures #3

Open
kosinaz opened this issue Nov 8, 2019 · 0 comments
Open

Structures #3

kosinaz opened this issue Nov 8, 2019 · 0 comments

Comments

@kosinaz
Copy link
Owner

kosinaz commented Nov 8, 2019

Structures are built on top of the noise-generated terrain. Mountains, lakes, deserts are all noise-generated, and their small features, the caves, fords, and trees too.

But when tiles with strict rules, like the wall of a house, the roads, or the rivers need to be created, each tile needs to be aware of the nearby tile, and noise is not enough for that.

So a structure layer needs to be created on top of the noise map layer, that will cover the whole map with structure zones, covering a higher number of squares. Each of these will have a single structure strictly inside its borders, like a village, a castle, a dungeon or a temple.

When the player sees the very first tile of a zone, that's when the structure layer of the whole zone will be generated.

The content of each zone is determined by another noise map.

@kosinaz kosinaz added this to the 0.7.0 Urbanization milestone Nov 8, 2019
@kosinaz kosinaz added the new label Nov 11, 2019
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