title: Collision detection in 2D game without tiles XNA
body: <p>I'm working on a XNA platform game and would need some help with the collision. The game takes place in a cave and the problem is that the art style will be sketchy and therefore the terrain( the caves) will differ a LOT, so I can't use tiles. But I need to check pixel perfect collision on the character and the cave but I can't figure out how to do so when I can't place rectangles around every tiles since there are none. </p>
  
  <p>I have thought about it a lot came up with some ideas:</p>
  
  <p>-One big rectangle around the whole level and one around the character and use pixel perfect collision. But I don't think that will work since the rectangle will include the background as well.</p>
  
  <p>-Place out rectangles manually. Very ugly code and may cause a lot of bugs and errors.</p>
  
  <p>-Use tiles anyway and have hundreds of tile types. Again, very ugly code and it just seems wrong.</p>
  
  <p>-Use a collision engine. I would preferably make the game from scratch.</p>
  
  <p>I'm sorry if I've explained badly, but it's a rather complicated problem(for me at least) and I can't find any solution around the net. Would be very glad for any ideas, thank you.</p>