Hi, I am trying to draw an outline from some tiles but I can't think of a "smart" way to do it.
I suppose that I could use a complex set of if..then..else, checking neighbours for every tile, but if someone has a better suggestion I am willing to listen..
I have example A, and I'd like to get to example B (see attachment)
Thanks in advance
Comments
And there's this one that I just found again after losing the bookmark ages ago... http://www.angryfishstudios.com/2011/04/adventures-in-bitmasking/
Likes: pie
Likes: pie