Saturday, August 8, 2020

Yet another world-mapper! 8-P

Rows of Terrain Tiles

The page is filling a grid of terrain tiles, an array of columns of arrays of tile objects, which in theory have the index of the landmass to which the tile belongs to, longitude and latitude, area, and whatever else I need, but area and a default height based on whether it's land and therefore above sea level. I still want to 'flood-fill' to make landmass, but for now I have a random walker roaming the map. I need it to refer to the grid and save changes to my terrain tiles as it turns sea into land!

No comments:

Post a Comment