Skip to content

C++ implementation of the Wave Function Collapse algorithm and tool to manage the adjacency rules of the tiles.

License

Notifications You must be signed in to change notification settings

DavidTello1/WaveFunctionCollapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WaveFunctionCollapse

C++ implementation of the Wave Function Collapse algorithm and tool to manage the adjacency rules of the tiles.

Video

https://youtu.be/Itpd9paG87c

Shortcuts

  • Ctrl + Tab -> Change Scene

Scene MapGenerator

  • Ctrl + L-Click -> Multiselect cells (keep pressed)
  • Alt + L-Click -> Deselect cells (keep pressed)

Scene TileManager

  • Ctrl + S -> Save Tileset
  • Ctrl + O -> Import File
  • Up/Down Arrows -> Next/Previous tile

Importing

You can import a single tile from a file with the following extensions: .jpg, .png, .bmp or .tif

You can import a tileset or a map from a .json file

Exporting

You can export the tileset or the map (preset cells) to a .json file

About

C++ implementation of the Wave Function Collapse algorithm and tool to manage the adjacency rules of the tiles.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages