Page 1 of 1

Line of sight problem

PostPosted: Mon Nov 12, 2012 5:37 pm
by Herald of Time
Ok, so i'm using the line of sight events from the link below as a method of player-enemy platformer interaction for my game.

http://www.scirra.com/forum/c2enemy-line-of-sight_topic45095.html

However, i want to use the line of sight for more than one enemy which would react differently depending on whether they see the player or not. However, i'm having difficulty getting it to work, and im wondering if i have to make a different line of sight for each enemy or if i need to adjust the line of sight to take multiple enemy sprites into account.

Advice on this would be most appreciated.

Re: Line of sight problem

PostPosted: Fri Nov 16, 2012 2:14 am
by krish