Terrain Tiles - Unity Scene
Terrain Tiles
My randomly generated hexagonal tile map (which makes up the background of this site) was inspired by my family's frequent Settlers of Catan games and my sister redesigning the Risk map. The frequency of tiles and dimensions of the map can be customized by the user. I created this project in Unity so that it could be easily incorporated into other projects, and drew all the terrain tiles myself in Adobe Photoshop. The required files can be found here.
The conditional probabilities can be customized in the csv project file. Guidelines for how to alter the values can be found the accompanying README. The probabilities are determined on a conditional basis, meaning the likelihood of seeing each terrain type is based on the new tile's 3 existing neighbors. I wanted to allow the map to be more realistic than the usual case of allowing any terrain to appear next to every other with equal probability (although this pattern remains an option).
The height and width (in tiles) of the generated map can also be easily determined by the user in Unity through parameters passed to my script to allow for a variety of games. There are thirteen terrain tiles in total, and I have plans to add optional lakes and mountains which can be added to any of the existing ties with customizable frequency.
My randomly generated hexagonal tile map (which makes up the background of this site) was inspired by my family's frequent Settlers of Catan games and my sister redesigning the Risk map. The frequency of tiles and dimensions of the map can be customized by the user. I created this project in Unity so that it could be easily incorporated into other projects, and drew all the terrain tiles myself in Adobe Photoshop. The required files including additional tiles not pictured on this page can be found here.