You have to separate it into different tiles, and you a system for the player to only collide with some tiles.