A custom package for Unity Engine to procedurally generate 2D tile based game levels using own simple implementation of WaveFunctionCollapse algorithm.
- Copy this link.
- In Unity package manager, press the + button near the top left of the package manager window.
- Choose the "Add package from git URL..." option.
- Paste the copied link.
- Wait for the installation to finish.
- Input Tile Set
- An asset that contains a set of input tiles.
- WaveGrid
- A game object that serves as a canvas for the level generation process.
- Tile Set Configure Window
- A dedicated window for setting up input tiles.
- Design and create your tile-based level gameobjects
- Open TileSetUpWindow
- Create InputTileSet asset
- Create and setup InputTiles
- Set up compatible tiles for an InputTile
- Create a WaveGrid object in scene
- Plug in your InputTileSet to the WaveTileGrid
- Generate
- Initialize a WaveGrid object in scene
- Choose a cell by either locating it nested within the WaveGrid object or by accessing the scene's gizmos and clicking on the cell gizmo
- Select a tile from the GridCell inspector
- In WaveGrid, check the "Enable fixed tiles" toggle
- Generate
- Using the clear button clears the grid and shows fixed tiles
- 2024/2
- Now using weighted random choice instead of randomly choosing tiles.
- Can set fixed tiles.
- No need to create input tile assets.
- UI improvements
- Can now modify height and width of tile grid.
- Remove features that are useless or broken.
- input tile generator
- save/load
- 2023
- Initial
- UI problems
- Please dont modify the input tile set outside of the TileSet Configure Window. It may cause issues.
- InputTileSet asset may randomly bloat. Use the clean/reload option in TileSet Configure Window to attempt to fix it.
- A simple implementation. Simple tiled model. No rotations. No backtracking. Simple entropy
- Doesn't use Unity tilemap.