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

Godot WFC generator 2.0

An asset by pietru
The page banner background of a mountain and forest
Godot WFC generator 2.0 thumbnail image
Godot WFC generator 2.0 thumbnail image
Godot WFC generator 2.0 hero image

Quick Information

0 ratings
Godot WFC generator 2.0 icon image
pietru
Godot WFC generator 2.0

This plugin contains implementation of Wave Function Colapse algoritm under gridmap.Add Meshes to the generator, paint how they can connect, generate rule setchange settingsgenerate map

Supported Engine Version
4.1
Version String
2.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Godot-WFC

Hello, this is my implementation of WFC algorithm.

All is fitted in 1 node.

Quick Guide

  1. Disable Generation Lock.
  2. Define meshes in mesh lib data.
  3. Press Generate Mesh Lib.
  4. Paint rules, hwo tiles can connect.
  5. Press Generate Rules.
  6. Define Map Generation Settings.
  7. Press Generate Map.

exported vars Running, Time and Remaining cells shows is generator working.

Troubleshooting

if generation wails try stopping generation by unchecking running(only if conflict repair is active)

after that check error out

  • value 0 is tile position
  • value 1 are all possible tiles from each side that can be placed at that spot
  • value 2 shows which arrays are being used for that cell

Error Out

It shows last cell that had 0 possible outcomes Array elements: 0. Position of cell.

  1. List with all neighbours of cell and tiles that they allow in place of cell.
  2. List of arrays from neighbour cells that were used.

This plugin contains implementation of Wave Function Colapse algoritm under gridmap.

Add Meshes to the generator,
paint how they can connect,
generate rule set
change settings
generate map

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
Godot WFC generator 2.0 icon image
pietru
Godot WFC generator 2.0

This plugin contains implementation of Wave Function Colapse algoritm under gridmap.Add Meshes to the generator, paint how they can connect, generate rule setchange settingsgenerate map

Supported Engine Version
4.1
Version String
2.0
License Version
MIT
Support Level
community
Modified Date
1 year 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