loading tile types with collision detection