<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Collision Detection and Bounce Calculation using Colour Maps (part 1)</title>
	<atom:link href="http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/</link>
	<description>Swingpant&#039;s Code Nurdlings</description>
	<lastBuildDate>Mon, 26 Dec 2011 11:37:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Drew</title>
		<link>http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/#comment-108</link>
		<dc:creator><![CDATA[Drew]]></dc:creator>
		<pubDate>Thu, 07 Jan 2010 17:41:14 +0000</pubDate>
		<guid isPermaLink="false">http://flashlabs.wordpress.com/?p=95#comment-108</guid>
		<description><![CDATA[Thanks for the status update. Still eagerly (but patiently) waiting for part two!]]></description>
		<content:encoded><![CDATA[<p>Thanks for the status update. Still eagerly (but patiently) waiting for part two!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swingpants</title>
		<link>http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/#comment-107</link>
		<dc:creator><![CDATA[swingpants]]></dc:creator>
		<pubDate>Thu, 07 Jan 2010 17:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://flashlabs.wordpress.com/?p=95#comment-107</guid>
		<description><![CDATA[Yes, the method is excellent for detecting collisions with pixel perfect accuracy. In terms of applying &#039;bounce&#039; impulses: when it comes to cars you&#039;d need to think about crumpling - will the car dent or break up causing the bounce impulse to be deflected somewhat. This method does give you an initial impulse - which is a starting point for you to then implement some bespoke bounce method.

Apologies to everyone - I promised a part 2 months ago and have yet to get around to it. Work commitments have kept me tied up. I do intend to do some more work on this in the very near future though.]]></description>
		<content:encoded><![CDATA[<p>Yes, the method is excellent for detecting collisions with pixel perfect accuracy. In terms of applying &#8216;bounce&#8217; impulses: when it comes to cars you&#8217;d need to think about crumpling &#8211; will the car dent or break up causing the bounce impulse to be deflected somewhat. This method does give you an initial impulse &#8211; which is a starting point for you to then implement some bespoke bounce method.</p>
<p>Apologies to everyone &#8211; I promised a part 2 months ago and have yet to get around to it. Work commitments have kept me tied up. I do intend to do some more work on this in the very near future though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/#comment-106</link>
		<dc:creator><![CDATA[Dave]]></dc:creator>
		<pubDate>Wed, 06 Jan 2010 20:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://flashlabs.wordpress.com/?p=95#comment-106</guid>
		<description><![CDATA[thanks great tutorial, looking forward to part2 to see how you implemented this! would this method work for other objects other than a circle? say a car represented by a rectangle? cheers.]]></description>
		<content:encoded><![CDATA[<p>thanks great tutorial, looking forward to part2 to see how you implemented this! would this method work for other objects other than a circle? say a car represented by a rectangle? cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/#comment-71</link>
		<dc:creator><![CDATA[Neil]]></dc:creator>
		<pubDate>Thu, 24 Sep 2009 13:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://flashlabs.wordpress.com/?p=95#comment-71</guid>
		<description><![CDATA[Really nice, hope you do get around to part 2 one day, maybe even a few method snippets to help others achieve this would be good.

Thanks for sharing.]]></description>
		<content:encoded><![CDATA[<p>Really nice, hope you do get around to part 2 one day, maybe even a few method snippets to help others achieve this would be good.</p>
<p>Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swingpants</title>
		<link>http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/#comment-67</link>
		<dc:creator><![CDATA[swingpants]]></dc:creator>
		<pubDate>Mon, 03 Aug 2009 13:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://flashlabs.wordpress.com/?p=95#comment-67</guid>
		<description><![CDATA[I did some webcam apps a couple of years ago, and as flood fill is an efficient way of finding movement, it lends it self to colour map collision detection. I did the classic balls landing on head experiment, and rolling off when moved - worked brilliantly.

Apologies for not getting part 2 of the colour map article up yet. I got 1/2 way through it back in May but have been up against it workwise since then. I will finish and post asap - hopefully in the next few weeks.]]></description>
		<content:encoded><![CDATA[<p>I did some webcam apps a couple of years ago, and as flood fill is an efficient way of finding movement, it lends it self to colour map collision detection. I did the classic balls landing on head experiment, and rolling off when moved &#8211; worked brilliantly.</p>
<p>Apologies for not getting part 2 of the colour map article up yet. I got 1/2 way through it back in May but have been up against it workwise since then. I will finish and post asap &#8211; hopefully in the next few weeks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Og2t</title>
		<link>http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/#comment-66</link>
		<dc:creator><![CDATA[Og2t]]></dc:creator>
		<pubDate>Mon, 03 Aug 2009 10:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://flashlabs.wordpress.com/?p=95#comment-66</guid>
		<description><![CDATA[Thanks for sharing, I will try it to detect collisions against the viewer&#039;s head (using webcam).]]></description>
		<content:encoded><![CDATA[<p>Thanks for sharing, I will try it to detect collisions against the viewer&#8217;s head (using webcam).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swingpants</title>
		<link>http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/#comment-65</link>
		<dc:creator><![CDATA[swingpants]]></dc:creator>
		<pubDate>Thu, 30 Jul 2009 15:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://flashlabs.wordpress.com/?p=95#comment-65</guid>
		<description><![CDATA[Apologies for delay in reply. Been totally rushed off my code feet for what seems like months now.

Yes, the yellow pixels should be exactly 0xFFFFFF00. The blend modes are exact so if 0xFF0000 overlaps with 0x00FF00 the result is 0xFFFF00. Any gradiation can only be as a result of the map colours not being exact - or any anti-aliasing that may have occurred (if you are drawing your colour map in Photoshop - if this is the case output the colour map from PS as a GIF and reduce the colours to just the ones you need)]]></description>
		<content:encoded><![CDATA[<p>Apologies for delay in reply. Been totally rushed off my code feet for what seems like months now.</p>
<p>Yes, the yellow pixels should be exactly 0xFFFFFF00. The blend modes are exact so if 0xFF0000 overlaps with 0x00FF00 the result is 0xFFFF00. Any gradiation can only be as a result of the map colours not being exact &#8211; or any anti-aliasing that may have occurred (if you are drawing your colour map in Photoshop &#8211; if this is the case output the colour map from PS as a GIF and reduce the colours to just the ones you need)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorenz</title>
		<link>http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/#comment-63</link>
		<dc:creator><![CDATA[Lorenz]]></dc:creator>
		<pubDate>Wed, 22 Jul 2009 12:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://flashlabs.wordpress.com/?p=95#comment-63</guid>
		<description><![CDATA[Hi, great tutorial.
there is a problem when finding the rectangle with getColorBoundsRect( 0xFFFFFFFF, 0xFFFFFF00);
becouse drawing on a bitmap it will create yellow pixels fading to white and they are not exactly 0xFFFFFF00 so as3 doesnt see them
how did you fix it?]]></description>
		<content:encoded><![CDATA[<p>Hi, great tutorial.<br />
there is a problem when finding the rectangle with getColorBoundsRect( 0xFFFFFFFF, 0xFFFFFF00);<br />
becouse drawing on a bitmap it will create yellow pixels fading to white and they are not exactly 0xFFFFFF00 so as3 doesnt see them<br />
how did you fix it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boris</title>
		<link>http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/#comment-32</link>
		<dc:creator><![CDATA[Boris]]></dc:creator>
		<pubDate>Tue, 12 May 2009 16:06:10 +0000</pubDate>
		<guid isPermaLink="false">http://flashlabs.wordpress.com/?p=95#comment-32</guid>
		<description><![CDATA[Great one - can`t wait for part 2 !!!!!!!!!!!]]></description>
		<content:encoded><![CDATA[<p>Great one &#8211; can`t wait for part 2 !!!!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swingpants Collision Detection &#171; Robert W. Stewart&#8217;s Blogolicious</title>
		<link>http://swingpants.com/2009/03/16/collision-detection-and-bounce-calculation-using-colour-maps-part-1/#comment-6</link>
		<dc:creator><![CDATA[Swingpants Collision Detection &#171; Robert W. Stewart&#8217;s Blogolicious]]></dc:creator>
		<pubDate>Wed, 22 Apr 2009 21:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://flashlabs.wordpress.com/?p=95#comment-6</guid>
		<description><![CDATA[[...] some AS3 Colour Map collision code at a blogger that goes by the name of &#8216;Swingpants&#8217; here. Swingpants found a very simple way to reflect objects off any shape. I couldn&#8217;t wait for [...]]]></description>
		<content:encoded><![CDATA[<p>[...] some AS3 Colour Map collision code at a blogger that goes by the name of &#8216;Swingpants&#8217; here. Swingpants found a very simple way to reflect objects off any shape. I couldn&#8217;t wait for [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

