RMGS is a random map generation tool. It is based on Wave Function Collapse (WFC) algorithm. See mxgmn/WaveFunctionCollapse for details.
The workflow of RMGS shows below.
- Projects - 2 Unity projects show features of RMGS (a game and a GUI interface project).
- RMGS.Console - RMGS cml tool, you can assign arguments required by WFC to get image results.
- RMGS.Core - where WFC runs. It's a .Net Standard DLL.
- RMGS.GUI - useful code of RMGS GUI project.
- Sample
- Screenshots
Open a cml (maybe cmd.exe or powershell), cd to the directory contains rmgs.exe, then
.\rmgs.exe -p <path-to-pattern-folder> -c <path-to-constraints-file> -o <path-to-output (optional)>
for example
.\rmgs.exe -p ..\..\Samples\Grass\Patterns -c ..\..\Samples\Grass\Constraints.xml -o ..\..\Samples\Grass\Results