Skip to content

clean up world generation #14

@benbenfive

Description

@benbenfive

World generation is currently in a "working" order but some stuff is done sloppily or should be moved. It is not set up to work with a bunch of random biomes and has no way of dealing with having no biomes in a climate zone. Possible fix might be a default biome or somehow stretching nearby biomes to cover the empty area either in the world itself or stretching their ranges when choosing how to fill a section.

a climate area or zone is a section where all three variables heat moisture and elevation are the same size (low medium high) on every tile (example: low heat high elevation and low moisture on every tile).

One wishful idea is to have world generation fill one biome at a time rather than one tile at a time. The idea is to take and modify the seed based generator and then to instead of checking if something is 0 check if it meets the same climate zone as the first checked tile. Continue through till you have marked the whole climate section then you can check to see how many tiles you have filled with a count variable and determine if the biome is a tiny strip or a few tiles and if so remove it and fill it with a nearby biome

feel free to make any additional changes to it just make sure it works at the end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghardA large abstract idea that will take a lot of workhelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions