#Looking for a peer review of my WFC algorithm.

1 messages · Page 1 of 1 (latest)

fierce mason
#

Hey, I tried to program a wave function collapse algorithm without a tutorial. I've got everything done except socket rotations and it works great. Would anyone be willing to review my code? Just looking for ways I can improve, or anything incredibly stupid I might be doing. It's across these three scripts:
https://pastebin.com/1WA1ws0w - Grid Generator
https://pastebin.com/1TgW9VXu - Grid Cell
https://pastebin.com/ane5e6fG - Prefabs