Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Wave Function Collapse (WFC) 2D/3D Generator

An asset by Mazzel
The page banner background of a mountain and forest
Wave Function Collapse (WFC) 2D/3D Generator thumbnail image
Wave Function Collapse (WFC) 2D/3D Generator thumbnail image
Wave Function Collapse (WFC) 2D/3D Generator hero image

Quick Information

0 ratings
Wave Function Collapse (WFC) 2D/3D Generator icon image
Mazzel
Wave Function Collapse (WFC) 2D/3D Generator

This is a wave function collapse implementation for Godot in C#.Please refer to Examples on how to use. basically you need 2 tile maps. one to create a new map on (target) and one to use as a sample on how the tiles are used (sample).Features:Create map based on a sampleDifferent match levels are possible (through changing MATCH_RADIUS)Multi-threadingPossibility analysis from sampleFail correction (Generation will not fail anymore!)Has a base generator class that can be expanded for your useFully working 2D and 3D generation!Currently has built in support for TileMap2D and GridMap( 2D or 3D )(Used tile-sets are from Kenney with a CC0 license)

Supported Engine Version
4.2
Version String
1.1.0
License Version
MIT
Support Level
community
Modified Date
6 months ago
Git URL
Issue URL

Godot-WFC-Csharp

README ScreenShot README ScreenShot

This is a wave function collapse implementation for Godot in C#.

Please refer to Examples on how to use. basically you need 2 tile maps. one to create a new map on (target) and one to use as a sample on how the tiles are used (sample).

Features:

  • Create map based on a sample
  • Differnt match levels are possible (through changing MATCH_RADIUS)
  • Multi-threading
  • Possibility based tile placement
  • Fail correction
  • Has a base generator class that can be expanded for your use
  • 2D and 3D generation
  • Currently has built in support for TileMap2D and GridMap( 2D or 3D )

To Do:

  • Chunk-based multithreading

made with Godot v4.2.1

This is a wave function collapse implementation for Godot in C#.

Please refer to Examples on how to use. basically you need 2 tile maps. one to create a new map on (target) and one to use as a sample on how the tiles are used (sample).

Features:

Create map based on a sample
Different match levels are possible (through changing MATCH_RADIUS)
Multi-threading
Possibility analysis from sample
Fail correction (Generation will not fail anymore!)
Has a base generator class that can be expanded for your use
Fully working 2D and 3D generation!
Currently has built in support for TileMap2D and GridMap( 2D or 3D )


(Used tile-sets are from Kenney with a CC0 license)

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Wave Function Collapse (WFC) 2D/3D Generator icon image
Mazzel
Wave Function Collapse (WFC) 2D/3D Generator

This is a wave function collapse implementation for Godot in C#.Please refer to Examples on how to use. basically you need 2 tile maps. one to create a new map on (target) and one to use as a sample on how the tiles are used (sample).Features:Create map based on a sampleDifferent match levels are possible (through changing MATCH_RADIUS)Multi-threadingPossibility analysis from sampleFail correction (Generation will not fail anymore!)Has a base generator class that can be expanded for your useFully working 2D and 3D generation!Currently has built in support for TileMap2D and GridMap( 2D or 3D )(Used tile-sets are from Kenney with a CC0 license)

Supported Engine Version
4.2
Version String
1.1.0
License Version
MIT
Support Level
community
Modified Date
6 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers