title: line of sight 2d
body: <p>Can anyone explain how the line of sight works in 2d? Which will be really help full for my 2d experiments. The experiment am working is a simple 2d simulation. Player move in the world from one place to other , <a href="http://bit.ly/gM7uRM" rel="nofollow noreferrer">my world exactly looks like this</a>. I did the character movement successfully from one way point to other (A to G) , my goal is - when the character passes each point it has to perform some search in that area before it leaves to next point.  To achieve I felt way point is better solution , can anyone help me on this.Thanks!</p>
  
  <p>Edit : 
  As soon as the player enters a room/checkpoint  I will take user to next scene <a href="http://3dmented.typepad.com/photos/uncategorized/flow1.jpg" rel="nofollow noreferrer">like this</a><br>
  <img src="https://i.stack.imgur.com/0dBof.jpg" alt="enter image description here"></p>
  
  <p>where the pickups are place some where on the canvas and my player have to collect them all and leave the area - Back to Map scene.</p>