记录一下模仿 Polygonal Map Generation for Games
主要是均匀大小做Delaunay和Voronoi双图形,有occean coast lsland lake,并加入了海拔、湿度、生物圈。
下一步映射到tilemap
参考资料
https://github.com/vazgriz/DungeonGenerator/blob/master/Assets/Scripts2D/Delaunay2D.cs
https://github.com/losetear/nmap/tree/master
http://www-cs-students.stanford.edu/~amitp/game-programming/polygon-map-generation/#source