Skip to content

WahlbergRu/RMG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Map Generator (based on VoronoiMapGen)

This is a Unity implementation of a map generator using a similar process to the one outlined by Amit Patel at Red Blob Games

It produces maps like this: Screenshot 2022-10-13 122010

TODO

  • rework currently virtual land, because it's not working
  • rework generate texture. Right now it's very long operation because unity create texture instead coloring each triangle separetly.
  • rework setWaterToEdge alhoritm (in testing)
  • increase manipulation with object placing, validate maxprefab to cell, to map, and frenquncy to each model.(in testing)

Difference from SteveJohnstone

  • Fixed a bug with meshsize for large models (if meshsize more than ~300-350). Change index format to int32, it possible generate mesh under 800k verts.
  • Fixed recursive code for ocean (unity broken with exception)
  • Fixed falloff river bug
  • Added humidity layer
  • Added heat layer
  • Added precipitation layer
  • Added bioms layer like on image with configurable from editor image
  • Added prefabs layer to every centroid with random choosen from a list
  • Added town layer instead biome town

References

About

random map generator (unity)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published