godot-constraint-solving icon indicating copy to clipboard operation
godot-constraint-solving copied to clipboard

Generator doesn't infer rules from sample

Open fedepesso opened this issue 1 year ago • 1 comments

I just started fiddling around with the generator searching for some samples to use on my project (as I'm building a simple 2D dungeon generator I only need to determine whether a cell is a wall or a floor). I have only a WFC2DGenerator node along with a sample tilemap and a target tilemap. My tileset is composed of only two tiles, like the dungeon example in this repository. While technically the algorithm works, it just seems to place random tiles scattered and when I flag "Print rules" it just prints the same rules (they are the same in respect to all patterns). I don't understand why, since I expect similar result to the ones listed here. Is there something else I need to do other than linking the tilemaps nodes into the generator one or is it a bug? 1 2

fedepesso avatar Aug 02 '24 13:08 fedepesso