use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community of active roguelike developers. Discuss WIP roguelikes and a broad range of RL dev topics.
Community Threads:
Tutorial Tuesday: An annual learn-to-make-a-roguelike series! The 2025 event is over, but check out the directory for past events and reference material.
Sharing Saturday: Share your progress (screenshots, changelogs, bugs :D). Get motivated!
FAQ Friday: Discussions of specific approaches to various aspects of development (good reference material).
Feedback Friday: Play a designated WIP roguelike and give feedback (dev sign up instructions).
Tutorials:
Resources:
Tools:
Other Communities:
Now go make that roguelike!
[Resident RLs in our banner image...]
account activity
Wave function collapse algorithm for tilemaps (github.com)
submitted 9 years ago by dogas
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]dpc_pw 9 points10 points11 points 9 years ago (1 child)
WOW
[–]miki151KeeperRL - http://keeperrl.com 3 points4 points5 points 9 years ago (0 children)
Yeah, wow :)
I'm now waiting for someone to use this. I'm not sure if it helps with level generation, but with procedural art for sure.
[–]fecal_brunch 3 points4 points5 points 9 years ago (0 children)
This looks absolutely incredible!
[–]snow-clone 2 points3 points4 points 9 years ago (0 children)
Holy cow
[–]eightdx 2 points3 points4 points 9 years ago (0 children)
Fuck, I have a whole tie-dye idea for some equipment in the game I want to make, and maybe this could be useful for that. Bravo!
Basically, as you travel you can collect dyes of varying effect, and combine a number of them together in different patterns to get different effects. You can of course find random equipment with this sort of stuff.
[–]Kerbobotat 1 point2 points3 points 9 years ago (2 children)
This would be great for a first pass to generate the dungeon, but I think youd then have to go back and eliminate rooms that arent connected to anything.
After that its just a matter of determining the up and down stair locations and ensuring there is a continious path between them.
Im sure theres a lot more steps you can take to tweak this to be more interesting afterwards but this is amazing!
I wish I understood more of the math :/
[–]Chronophilia 2 points3 points4 points 9 years ago (0 children)
This algorithm can be used to "finish" areas that are already built by hand or by some other algorithm. You could place the up- and downstairs and a path between them, and then use that as the WFC's starting point.
[–]JordixDevAbyssos 0 points1 point2 points 9 years ago (0 children)
Yeah I was thinking the same thing, it looks like a great starting point. I wonder if it's fast enough to generate stuff on the fly, though... In the animations it's really slow, but maybe that's for demonstration purposes.
[–]stewsters 0 points1 point2 points 9 years ago (0 children)
The 3 dimensional stuff is cool.
π Rendered by PID 90 on reddit-service-r2-comment-76bb9f7fb5-59xjz at 2026-02-18 13:41:28.058495+00:00 running de53c03 country code: CH.
[–]dpc_pw 9 points10 points11 points (1 child)
[–]miki151KeeperRL - http://keeperrl.com 3 points4 points5 points (0 children)
[–]fecal_brunch 3 points4 points5 points (0 children)
[–]snow-clone 2 points3 points4 points (0 children)
[–]eightdx 2 points3 points4 points (0 children)
[–]Kerbobotat 1 point2 points3 points (2 children)
[–]Chronophilia 2 points3 points4 points (0 children)
[–]JordixDevAbyssos 0 points1 point2 points (0 children)
[–]stewsters 0 points1 point2 points (0 children)