Getting Started
Installation
Simply import the package from the package manager. You can move the TileWorldCreator folder wherever you want inside of your project.
TileWorldCreator version 3 is a complete rewrite and is therefore not compatible with saved maps from version 2. Tiles made for v2 can be reused for version 3. Version 3 has a completely new and more flexible workflow for creating maps based on different generators and modifiers. This allows you to create and modify maps based on "rules".
URP & HDRP
To make ours and your lives easier, all Tile preset materials are using the built-in RP. If you're using URP or HDRP you can simply upgrade those materials in your project by selecting:
URP
Edit / Render Pipeline / Universal Render Pipeline / Upgrade Project Materials to UniversalRP Materials
HDRP
Edit / Render Pipeline / HD Render Pipeline / Upgrade Project Materials to HDRP Materials
AOT Platforms
Quick start
Let's create our first map.
Create new asset
First create a
TileWorldCreatorAsset
in your project. Right click in the project window and select:Create -> TileWorldCreator -> New TileWorldCreator Asset
Create a new empty scene and add a new GameObject to your scene.
Assign Asset
Assign the newly created
TileWorldCreatorAsset
file to the empty slot of the TileWorldCreator component.Set the map size to 20x20 for example.
Click on the
+
button in the blueprint layers stack to create a new layer.
Add your first generator
Select the new blueprint layer.
Name your layer:
Base
and set a color for the preview texture.Click on the
+
button of the layer action stack and select:Generators / CellularAutomata
Click on the execute layer button.
TileWorldCreator has generated your first map.
TileWorldCreator executes all layers and their corresponding action stack from top to bottom.
Instantiate tiles
The scene is still quite empty though. Let's instantiate some tiles.
Add a build layer of type
3D 4-Tiles
to the build layers stack.Name it: Island, for example
Let's assign a blueprint layer to it. Select the
Base
layer.Click on
Add Tiles Preset
and assign the cliffs tile preset located inTileWorldCreator / Tiles / Version 2 Tiles / CliffIsland
Click on
Execute all build layers
or on thePlay
button on the layer.Congratulations your map has been built!
Next: Play with different modifiers and tile sets. Also have a look at the demo scenes.
Last updated