AutoTileGDX

Posted by Gideon Pertzov
autotile.jpg

A procedural auto-tiler for generating tiled terrain maps using corner matching “Wang Tiles”

Implemented using libGDX
Source code available on Github

Run in browser

From this tile-set:

RPGTiles

And this JSON configuration:

{
  "texturePath": "img/RPGTiles.png",
  "tileWidth": 32,
  "tileHeight": 32,
  "terrainDefs": [
    [
      "sand",
      "water"
    ],
    [
      "sand",
      "grass"
    ]
  ]
}


You get this:
AutoTile Animation

Original tiles by Simon Bachmann © Robotality UG (haftungsbeschraenkt) 2013
Licensed under CC BY-SA