logo
C++ | C# | JS

Tilemap Generator

  • C#
  • Unity (2018.2 used)

My Final Year Project was an asset for Unity which takes advantage of the Unity 2017 Tilemap feature to procedurally generate maps.

This is a working level generation tool inside Unity. To easily access the demo scenes, using a version of Unity 2018.2 is recommended. Using a different version of Unity requires the 2d-extras files to be removed and replaced, with the branch following the version.

The current state of the Tilemap Generator allows levels to be generated in 2D, in both top down and side scrolling perspectives. The size of the grid and tiles can be selected by the user, additionally, the option to generate Collision Maps, Foliage and Walls (for the Dungeon). Advanced options are available to change the size of cells, pixels per unit and Tilemap framerate, which defaults at 60fps.

A demo included in the Artefact contains tiles for Animated Water, Rule Wall tiles, Terrain grass and Random foliage by taking advantage of the 2d extras features, however is not required for the application to function. The Tilemap Generator reached Version 0.7 in its development cycle.

Further development plans include:
  • Fixing currently known issues
  • Updating Unity Version to 2018.3 for the Demo
  • Isometric Tilemap
  • Hexagonal Tiles for 2D Top down World Map
  • Introducing Unity Jobs for the other generation scripts, currently only implemented on 2D Top down World Map.
  • Tree generation for Perlin Noise generated maps.
  • Research into what drives exploration in worlds and adapt the generation to cater to this.
  • Implementing procedurally generated terrain when in a certain range.

https://github.com/Bodmass/TilemapGenerator