A tilemap generator that creates a tilemap based on an input tilemap. Uses wave function collapse to generate the output.

The user can draw their own input using the provided tilesets, as well as constrain the output by painting on it.

Some tips on tilemap generation:

If a tile you draw in the output is not contained in the input the algorithm will run into a conflict. To solve this, either surround the tile in the output with tiles that appear in the input, or place the tile in the input.

The algorithm will try its best to add extra adjacency information based on what you draw in the output, but may sometimes run into conflicts if your drawn outputs are not well formed relative to the input. For instance, you place two tiles in the output to the left and right of an empty space. If these tiles do not share a neighbor in the input then this will cause a conflict. In this case you will have to add a valid neighbor between them in the input.

Town tileset from KenneyNL.

Dungeon and Islands tileset from jamiebrownhill.

Leave a comment

Log in with itch.io to leave a comment.