# Tile based maps generator

**URL:** <https://forum.kirupa.com/t/tile-based-maps-generator/313982>\
**Category:** Uncategorized\
**Created:** [September 15, 2010, 11:25am UTC](https://forum.kirupa.com/t/tile-based-maps-generator/313982 "2010-09-15T11:25:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalyman](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kalyman](https://forum.kirupa.com/u/kalyman)\
**Post date:** [September 15, 2010, 11:25am UTC](https://forum.kirupa.com/t/tile-based-maps-generator/313982/1 "2010-09-15T11:25:01Z")

</div>

Hello all,

Currently am trying to create game editor for strategy game and so far I came up with [this](https://dl.dropbox.com/u/565190/editor%20%282%29.swf) just a small part. What I am trying to achieve is nice rounded edges like in some other strategy games that would generate nice transitioned edges even between different type of terrains for now only between water and grass. some example of edge tiles \>\> ![](http://img716.imageshack.us/img716/7185/examplero.jpg) ![](http://img230.imageshack.us/img230/7175/example2ax.jpg) ![](http://img715.imageshack.us/img715/4143/example3j.jpg)  
So Map array will hold full tiles (like grass or water) that have special variable (tile placing) that hold if tile is full or edge. I just cannot figure out algorithm that will calculate where to put edges and where dont. Every time I end up in neverending loop ☹ Is there some example or tutorial that explains this problem?

Thank you.
