| Line of Sight (LoS) Engine 
  
    | 
    	| Author: | Sketchy | Submitted: | 8th January, 2009 | Favourites: | 0 |  | Genre: | Engine | Downloads: | 495 |  
        | Rated: |  |  |  
    | 
 Based on this article by Destroyer (Crobasoft):
 http://www.create-games.com/article.asp?id=1761
 
 Big thanks to jneumann1 for his help and encouragement.
 
 ------------------------------------------------------------
 
 
 This is a system to calculate whether a clear line of sight exists between objects.
 
 It is designed primarily for use in stealth-based games, where the player must avoid detection by multiple enemy units.
 
 I have included "cone-of-vision" objects. These are not part of the engine itself - they are merely there to demonstrate that it works as it should. This engine does not use any kind of "detector" objects.
 
 It can handle a large number of objects with minimal slowdown - on my 700mhz pc, using HWA, it runs at a steady 50fps with about 275 enemy objects on screen (with the cone-of-vision objects removed).
 
 The engine is easily customizeable, and all lines are commented.
 
 Requires Advanced Direction extension.
 
 
  Review This Download 
 
 
 
   
 
  http://cid-b1e7ee094271bbda.skydrive.live.com/self.aspx/Public/myLoS.mfa  (50.11 kb  )
 
 
 
 |  
 
 
 
 
 | 
 Is this worth a look? Let others know!  Favourite
 
 
 
 |