Implemented dual grid autotiling into my 2D game engine