Original Post
Hi! I'm currently wasting my free time with a small just-for-fun RPG project. However, maybe most of you know at least one of the RPG makers out there. Those makers are able to automatically set the edges of a particular terrain type, making level design much easier. Now, is there anyone who knows the basic algorithm for this? I was thinking about cycling through each tile and check for the neighbour tiles or something. Anyway, i think this question is very common and if the search function would do it's job i'm sure i would have find tons of solutions for it, but i would be very pleased if you guys could help me out :) Thanks!