Closed darozak closed 6 months ago
I've started by creating a function to Dungeon function to report the object index of symbol represented on a map (https://github.com/darozak/Advolition/commit/566af9153d346fb29a6de03d5e822601580c52f6).
Here's a great WFC site that discusses a process which chops up tiles into smaller sections and recombines them. It also points to examples in different languages: https://github.com/mxgmn/WaveFunctionCollapse
Here's a WFC implementation that uses JavaScript: https://github.com/kchapelier/wavefunctioncollapse
I've decided to use an existing dungeon generation code instead.
I should be able to create complex random dungeons by using a wave function collapse function to combine tiles in a unique manner. I found a video that provides a good tutorial on how to code this in JavaScript.