A downloadable tool

Download NowName your own price

Two Resources (plus other classes/resources  used by them) for Model Synthesis (often improperly named Wave Function Collapse) and Wave Function Collapse (yes, the real one) made in GDScript.

Everything is made so that their use is via code. But I might consider making a tool to build the adjacency rules for Model Synthesis in a drag-and-drop fashion instead of purely by code as it is now.

As for other "graphical" tools made by me, these resources returns data stored inside arrays, not "images".  Actually, the Wave Function Collapse tool also returns you an array of images, the tileset employed, but that is not the point. The point is that it is up to you to use the data to build the images, in the form of tilemaps, sprites or whatever you need. For example, the provided demos do not use tilemaps, but simple sprites. I do this on purpose because I don't want to force any specific use for the data.

The code is decently commented so it should be clear how to use these addons. Also I provided two very very simple demos to illustrate their functioning. Feel free to ask me any question.

Model Synthesis allows for adjacency rules in 8 directions. Furthermore, both routines allow to chose whether you want to include 90° rotations and axial symmetries in the set.


License: use is free for commercial and non-commercial projects, but you must credit me as "coros (boris marcone)" for the code (not for the algorithms, of course), even if you use a modified version of the code. Any donation, feedback and suggestion is warmly welcomed (I do not promise to implement your suggestions of course but I will take them seriously!)



Download

Download NowName your own price

Click download now to get access to the following files:

wave_function_collapse.zip 533 kB

Leave a comment

Log in with itch.io to leave a comment.