mxgmn / WaveFunctionCollapse

Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics
Other
23.18k stars 1.24k forks source link

Building Simple Tiled .xml #40

Closed chrisabbott closed 6 years ago

chrisabbott commented 6 years ago

Hi, not really an issue, but are we intended to build our own data.xml files (similar to the summer tileset) manually? Or is there a way to infer this from an existing level design? I currently have a fairly large tileset that I'm trying to map out, and I can't help but feel like I'm definitely making mistakes while trying to do this manually.

mxgmn commented 6 years ago

Yeah, inferring adjacencies from an input tilemap would be a nice feature. I didn't implement it though, because I mostly needed the precise control that direct enumeration + symmetries give you.

If you don't need tile symmetries, then you can emulate this functionality with the overlapping model by encoding different tiles as colors. Use N=2 and symmetry=1.