Hi,
I'm trying to implement autotiles in my map editor and I'm stuck in the part where autotiles ID have to change when you add another autotile next to the previous one. I know that autotiles have 48 patterns, I have a debug project that renders the Tile ID and Autotile ID over autotiles on the map.
This helps finding which pattern should go where depending on surrounding tiles but I'm still having problem to understand it.
So basically, I'm trying to figure out the algorithm that rules autotiles ID on the map.
Does anybody know anything about that?
EDIT: I just found something that could help (http://www.codeproject.com/KB/game/Auto ... y=PrintAll) but I still need some input about this.
Thanks in advance,
- Dargor
I'm trying to implement autotiles in my map editor and I'm stuck in the part where autotiles ID have to change when you add another autotile next to the previous one. I know that autotiles have 48 patterns, I have a debug project that renders the Tile ID and Autotile ID over autotiles on the map.
This helps finding which pattern should go where depending on surrounding tiles but I'm still having problem to understand it.
So basically, I'm trying to figure out the algorithm that rules autotiles ID on the map.
Does anybody know anything about that?
EDIT: I just found something that could help (http://www.codeproject.com/KB/game/Auto ... y=PrintAll) but I still need some input about this.
Thanks in advance,
- Dargor