<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 2D Line of Sight?</title>
	<atom:link href="http://www.gameproducer.net/2010/04/21/2d-line-of-sight/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gameproducer.net/2010/04/21/2d-line-of-sight/</link>
	<description>I bake games. Indie style.</description>
	<lastBuildDate>Thu, 16 May 2013 13:23:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Juuso</title>
		<link>http://www.gameproducer.net/2010/04/21/2d-line-of-sight/comment-page-1/#comment-140117</link>
		<dc:creator>Juuso</dc:creator>
		<pubDate>Sun, 25 Apr 2010 14:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=4481#comment-140117</guid>
		<description>@Joonas: That&#039;s one cool avatar. O:)

...and, I might look something simpler - such as vision check. I think it&#039;ll work just fine for me. Thanks.</description>
		<content:encoded><![CDATA[<p>@Joonas: That&#8217;s one cool avatar. O:)</p>
<p>&#8230;and, I might look something simpler &#8211; such as vision check. I think it&#8217;ll work just fine for me. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joonas</title>
		<link>http://www.gameproducer.net/2010/04/21/2d-line-of-sight/comment-page-1/#comment-140111</link>
		<dc:creator>Joonas</dc:creator>
		<pubDate>Sun, 25 Apr 2010 07:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=4481#comment-140111</guid>
		<description>You can likely use the A* algorithm. http://en.wikipedia.org/wiki/A*_search_algorithm

I wrestled with this some years ago when trying to put together a tile-based stealth title on BlitzBasic. What I came up with after brushing up my math skills for days was basically the A* algorithm. It worked for me, but I wasn&#039;t using it in realtime.</description>
		<content:encoded><![CDATA[<p>You can likely use the A* algorithm. <a href="http://en.wikipedia.org/wiki/A*_search_algorithm" rel="nofollow">http://en.wikipedia.org/wiki/A*_search_algorithm</a></p>
<p>I wrestled with this some years ago when trying to put together a tile-based stealth title on BlitzBasic. What I came up with after brushing up my math skills for days was basically the A* algorithm. It worked for me, but I wasn&#8217;t using it in realtime.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juuso</title>
		<link>http://www.gameproducer.net/2010/04/21/2d-line-of-sight/comment-page-1/#comment-140083</link>
		<dc:creator>Juuso</dc:creator>
		<pubDate>Fri, 23 Apr 2010 17:55:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=4481#comment-140083</guid>
		<description>@Andreas: yeh, thanks. Like Jake said... it was not in my line of sight. I was thinking something way too complex ^_^

@shagwana: I checked that one, thanks.

@tonic: eh, I&#039;d rather keep it so that somebody else tackles this for me :P</description>
		<content:encoded><![CDATA[<p>@Andreas: yeh, thanks. Like Jake said&#8230; it was not in my line of sight. I was thinking something way too complex ^_^</p>
<p>@shagwana: I checked that one, thanks.</p>
<p>@tonic: eh, I&#8217;d rather keep it so that somebody else tackles this for me :P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake Birkett</title>
		<link>http://www.gameproducer.net/2010/04/21/2d-line-of-sight/comment-page-1/#comment-140069</link>
		<dc:creator>Jake Birkett</dc:creator>
		<pubDate>Fri, 23 Apr 2010 01:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=4481#comment-140069</guid>
		<description>The solution was not in your line of sight.</description>
		<content:encoded><![CDATA[<p>The solution was not in your line of sight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tonic</title>
		<link>http://www.gameproducer.net/2010/04/21/2d-line-of-sight/comment-page-1/#comment-140063</link>
		<dc:creator>tonic</dc:creator>
		<pubDate>Thu, 22 Apr 2010 19:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=4481#comment-140063</guid>
		<description>Do yourself a favor and buy &quot;Real-Time Collision Detection&quot; by Christer Ericson, you&#039;ll find lot of usable stuff there, including relevant stuff for problems like this (e.g. tile traversal). Every game programmer should own it. :)
http://bit.ly/RTCDbook</description>
		<content:encoded><![CDATA[<p>Do yourself a favor and buy &#8220;Real-Time Collision Detection&#8221; by Christer Ericson, you&#8217;ll find lot of usable stuff there, including relevant stuff for problems like this (e.g. tile traversal). Every game programmer should own it. :)<br />
<a href="http://bit.ly/RTCDbook" rel="nofollow">http://bit.ly/RTCDbook</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shagwana</title>
		<link>http://www.gameproducer.net/2010/04/21/2d-line-of-sight/comment-page-1/#comment-140059</link>
		<dc:creator>shagwana</dc:creator>
		<pubDate>Thu, 22 Apr 2010 16:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=4481#comment-140059</guid>
		<description>http://www.blitzbasic.com/codearcs/codearcs.php?code=148

This is a code snippet I posted for blitz 3d a long time ago, using a Bresenham line algo. Should&#039;t be to much work to get it working in max, it lets you trace the line in controlled steps rather then doing it all at once.</description>
		<content:encoded><![CDATA[<p><a href="http://www.blitzbasic.com/codearcs/codearcs.php?code=148" rel="nofollow">http://www.blitzbasic.com/codearcs/codearcs.php?code=148</a></p>
<p>This is a code snippet I posted for blitz 3d a long time ago, using a Bresenham line algo. Should&#8217;t be to much work to get it working in max, it lets you trace the line in controlled steps rather then doing it all at once.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://www.gameproducer.net/2010/04/21/2d-line-of-sight/comment-page-1/#comment-140053</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Thu, 22 Apr 2010 07:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=4481#comment-140053</guid>
		<description>:) glad I could help. Sometimes you get blind to the simple solution.</description>
		<content:encoded><![CDATA[<p>:) glad I could help. Sometimes you get blind to the simple solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juuso</title>
		<link>http://www.gameproducer.net/2010/04/21/2d-line-of-sight/comment-page-1/#comment-140052</link>
		<dc:creator>Juuso</dc:creator>
		<pubDate>Thu, 22 Apr 2010 06:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=4481#comment-140052</guid>
		<description>That is bloody genius. How come I didn&#039;t think of that.

Maybe I should do (1) less 2d math research when tired and (2) spend more time listening to people who know. :)</description>
		<content:encoded><![CDATA[<p>That is bloody genius. How come I didn&#8217;t think of that.</p>
<p>Maybe I should do (1) less 2d math research when tired and (2) spend more time listening to people who know. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://www.gameproducer.net/2010/04/21/2d-line-of-sight/comment-page-1/#comment-140050</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Thu, 22 Apr 2010 05:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=4481#comment-140050</guid>
		<description>He he ok, well have a line for the guards line of sight, check that line against all gameobjects bounding box. If the ninja is the closest one it´s visible.</description>
		<content:encoded><![CDATA[<p>He he ok, well have a line for the guards line of sight, check that line against all gameobjects bounding box. If the ninja is the closest one it´s visible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juuso</title>
		<link>http://www.gameproducer.net/2010/04/21/2d-line-of-sight/comment-page-1/#comment-140044</link>
		<dc:creator>Juuso</dc:creator>
		<pubDate>Thu, 22 Apr 2010 04:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=4481#comment-140044</guid>
		<description>yeh, but besides direction there could be wall/objects between them which makes ninjaInSight = false :)</description>
		<content:encoded><![CDATA[<p>yeh, but besides direction there could be wall/objects between them which makes ninjaInSight = false :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
