add support for flipped and rotated tiles
v0.2.0