Posted June 11, 2020 by StarSoftware
LUNCH
In lunch version game contains only one major feature.
Word generating. It's still in the early stage.
How i generating my world? With lot of maths unfortunately.
Firstly i generate random points on my canvas, these points serve as centers for the polygons which I create later. After generating points i make Voronoi map. Then I create polygons with Delaunay triangulation. Now a i have good foundation for my map. After this i make graph from points, for every point i find neighbors and for now thats almost all. That simple island which you can see it is made by taking points that are not at the edge and repainting them green, leaving the rest blue.