3 ms·
I wrote a gruesome wang tile implementation for dungeon crawl: https://github.com/crawl/crawl/blob/d0efa662383971e981fb52f84055cffa5108b718/crawl-ref/source/dom
by bhickey 9y ago
I wrote a gruesome wang tile implementation for dungeon crawl: https://github.com/crawl/crawl/blob/d0efa662383971e981fb52f84055cffa5108b718/crawl-ref/source/domino.h https://github.com/crawl/crawl/blob/d0efa662383971e981fb52f8...
In addition to color it supports 'oriented colors': blue+ matches blue- for example. This allows graphical manipulations of the art assets to be reflected in the tile structure.