Edit of asset "Wave Function Collapse (WFC)" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Wave Function Collapse (WFC) | |
Description |
WFC (Wave Function Collapse) and generic constraint satisfaction problem solver implementation for Godot 4. Features: - Backtracking support. This addon implements backtracking, so it's possible to generate maps that are guaranteed to have no broken cells. - Multithreading. Generation of a 2d map using WFC algorithm can be split into few tasks. Some of the tasks can be executed concurrently. The algorithm is able to detect most of cases when it's impossible to split the task and fallback to single-threaded generation in such cases. - Learning from example. 2d WFC generator infers rules from an example of a valid map. - Supports different node types - TileMapLayer (including maps with hexagonal tilesets and scene tiles), GridMap, legacy TileMap nodes are still supported as well. Can be extended to support more node types. - Contains a generic implementation of a constraint satisfaction problem solver on top of which a WFC algorithm is built. This generic solver implementation can be reused for tasks different from WFC. |
WFC (Wave Function Collapse) and generic constraint satisfaction problem solver implementation for Godot 4. Features: - Backtracking support. This addon implements backtracking, so it's possible to generate maps that are guaranteed to have no broken cells. - Multithreading. Generation of a 2d map using WFC algorithm can be split into few tasks. Some of the tasks can be executed concurrently. The algorithm is able to detect most of cases when it's impossible to split the task and fallback to single-threaded generation in such cases. - Learning from example. 2d WFC generator infers rules from an example of a valid map. - Supports different node types - TileMap (including maps with hexagonal tilesets) and GridMap. Can be extended to support more node types. - Contains a generic implementation of a constraint-solving algorithm on top of which a WFC algorithm is built. This generic algorithm implementation can be reused for tasks different from WFC. |
Category | Scripts | |
License | MIT | |
Repository Provider | GitHub | |
Repository Url | https://github.com/AlexeyBond/godot-constraint-solving | |
Issues Url | https://github.com/AlexeyBond/godot-constraint-solving/issues | |
Godot version | Godot 4.3 | Godot 4.2 |
Version String | 1.7 | 1.3 |
Download Commit | ebd52c6afa8616c383333dc3783ae34504476ea6 | 97e9ebc93b023352b35335bc189c6636d9c52757 |
Download Url (Computed) | https://github.com/AlexeyBond/godot-constraint-solving/archive/ebd52c6afa8616c383333dc3783ae34504476ea6.zip | https://github.com/AlexeyBond/godot-constraint-solving/archive/97e9ebc93b023352b35335bc189c6636d9c52757.zip |
Icon Url |
https://raw.githubusercontent.com/AlexeyBond/godot-constraint-solving/master/icon.png
|