top of page
Tiles.PNG

Tile Editor

This as a solo project meant as a continuation into our understanding of Engines and how their backend works. For my artefact, I chose to go with making a tool within the system, specifically making it as an add-on to the engine itself. This meant using Unity's Editor Scripts to create custom menus and tabs for the tile generation and tile editing.

 

The tool is able to create a grid of Hexes or Squares and apply a biome to each tile, changing the look of each one. The tiles are then editable and searchable using the tool, allowing for mass editing or fine tuning.

Unity

Photoshop

Blender

C#

Background.png

Project Overview

Features

Tile Stats

Each tile holds stats that pertain to their biome, that being their Height, Heat and Humidity. These then create unique biomes based on the combination of these stats.

Tile Generation

Tile generate using a Perlin Noise Function, creating a smooth transition between the height of all tiles.

Tile Editing

Each tiles stats can then be edited to however the user wants, creating pockets of ocean or expanding a desert.

Tile Searching

Tiles of specific biomes can be searched for, allowing for identification of areas or mass removal/editing of a tile group.

Background.png

Project Details

Tile Generation

tile generation

Tile generation is controlled by the user, changing the stats to suit the map parameters that they want.

This then generates the GameObjects and stats that are associated with each tile.

The stats then determine the model and textures of the tile.

image.png

HEIGHT

Height is determined by Perlin Noise, smoothly transitioning the height of the land.

Each tile's model is then changed based on what height value they receive.

Height values can be viewed during debugging.

image.png

HUMIDITY & HEAT

Heat and Humidity are then generated using what I call an "Influence Map".

This generates centres of data and then spreads out this value to surrounding tiles, influencing their neighbours.

This then creates bands of heat/humidity that cannot clash since high/low values neutralize each other, making it impossible for Desert and tundra to touch.

image.png
bottom of page