How do I autotile properly?
Right now, I have tried using this method: http://www.codeproject.com/Articles/106884/Implementing-Auto-tiling-Functionality-in-a-Tile-M
(and I've read the source code on there - that's how I wrote my own version of it, as the article was very abstractly written)
The problem is, however, that I cannot get it to use more than one tilesheet. (two tiles - dirt and grass)
I have been trying and trying for a long time to do it, and I've come across a lot of ways.
Like, making the tilesheet only have one tile, and the secondary tile being transparent - so there are limitless combinations, I also tried making a 9x9 tile that would overlap or underlap neighbour tiles depending on depth, but our pixel artist really dislikes this idea, and what I've primarily tried is making all the tiles have a main tile, like "dirt" "grass" or "water". I then named the tilesheets for "dirt grass", "dirt water", "grass water".
I then made two algorithms, which both failed, to find out what tileset to use for each neighbour around the new tile.
I am surprised that there is relatively very little information I find on Google about autotiling. Every result goes back to a few articles, which only covers the basics.
Am I missing some big thing with this method?
Are there any other methods that can be used?
Thanks in advance!