<?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 for etftw</title>
	<atom:link href="http://www.etftw.co.uk/blog/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.etftw.co.uk/blog</link>
	<description>Blog and home page of etftw</description>
	<lastBuildDate>Thu, 10 May 2012 15:43:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Final Fantasy XIII: How to Beat Odin by JD Swagger</title>
		<link>http://www.etftw.co.uk/blog/posts/183/comment-page-1#comment-19816</link>
		<dc:creator>JD Swagger</dc:creator>
		<pubDate>Thu, 10 May 2012 15:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.etftw.co.uk/?p=183#comment-19816</guid>
		<description>I&#039;m going to try this</description>
		<content:encoded><![CDATA[<p>I&#8217;m going to try this</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Registry Hack for Apple Keyboard by image</title>
		<link>http://www.etftw.co.uk/blog/posts/81/comment-page-1#comment-19772</link>
		<dc:creator>image</dc:creator>
		<pubDate>Tue, 08 May 2012 10:43:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelsandlife.co.uk/wordpress/?p=81#comment-19772</guid>
		<description>Observed your short article pretty appealing in truth. I definitely appreciated browsing it and you simply make quite some great factors. I will bookmark this web site for your upcoming! Relly wonderful write-up.</description>
		<content:encoded><![CDATA[<p>Observed your short article pretty appealing in truth. I definitely appreciated browsing it and you simply make quite some great factors. I will bookmark this web site for your upcoming! Relly wonderful write-up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Fix Steam Overlay in Aion by Rachell Kahn</title>
		<link>http://www.etftw.co.uk/blog/posts/72/comment-page-1#comment-19741</link>
		<dc:creator>Rachell Kahn</dc:creator>
		<pubDate>Mon, 07 May 2012 02:01:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelsandlife.co.uk/wordpress/?p=72#comment-19741</guid>
		<description>1. I do agree with all the ideas you have presented in your post. They&#039;re very convincing and will definitely work. Still, the posts are too short for novices. Could you please extend them a little from next time? Thanks for the post.</description>
		<content:encoded><![CDATA[<p>1. I do agree with all the ideas you have presented in your post. They&#8217;re very convincing and will definitely work. Still, the posts are too short for novices. Could you please extend them a little from next time? Thanks for the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# XNA &#8211; Per Pixel Collision Detection on Rotated Objects by Rob</title>
		<link>http://www.etftw.co.uk/blog/posts/578/comment-page-1#comment-19379</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sat, 21 Apr 2012 10:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.etftw.co.uk/blog/?p=578#comment-19379</guid>
		<description>Hey Rusty,

Sorry for the late reply! There isn&#039;t anything standing out to me that would slow the code down, other than I&#039;m not sure why you are making a second copy of the texture object?

The only thing I&#039;d say you should bare in mind is that pixel by pixel collision detection is quite an expensive operation in itself, but until such time as you are beginning to experience performance issues try not to get too wrapped up in optimisation.

There are many conflicting opinions on this matter, but I&#039;d personally say don&#039;t get too hung up in optimisation before hand as otherwise you can be spending significant amounts of time and in some cases making code unreadable for the sake of getting rid of performance problems that wouldn&#039;t actually occur.

Glad the code was of use to you :)</description>
		<content:encoded><![CDATA[<p>Hey Rusty,</p>
<p>Sorry for the late reply! There isn&#8217;t anything standing out to me that would slow the code down, other than I&#8217;m not sure why you are making a second copy of the texture object?</p>
<p>The only thing I&#8217;d say you should bare in mind is that pixel by pixel collision detection is quite an expensive operation in itself, but until such time as you are beginning to experience performance issues try not to get too wrapped up in optimisation.</p>
<p>There are many conflicting opinions on this matter, but I&#8217;d personally say don&#8217;t get too hung up in optimisation before hand as otherwise you can be spending significant amounts of time and in some cases making code unreadable for the sake of getting rid of performance problems that wouldn&#8217;t actually occur.</p>
<p>Glad the code was of use to you <img src='http://www.etftw.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# XNA &#8211; Per Pixel Collision Detection on Rotated Objects by Rusty</title>
		<link>http://www.etftw.co.uk/blog/posts/578/comment-page-1#comment-18902</link>
		<dc:creator>Rusty</dc:creator>
		<pubDate>Sun, 08 Apr 2012 14:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.etftw.co.uk/blog/?p=578#comment-18902</guid>
		<description>First of all, great hit detection i tried some others and this was the most useful/ easy to use. It took me forever but i finnaly got it to work with a sprite sheet. I am still quite a newbie when it comes to working with graphics, much less xna and i learned quite a bit trying to modify this. Through trail and error i came up with this solution and was wondering if you could tell me if it is a good/fast way to accomplish what i needed.

added 2 new fields to the class called frames (default=1) and currentframe (default=0), changed the rect fuction to return (0,0,width/frames,height)

and added these lines to the IsColliding
&lt;code&gt;
 Texture2D temptex = texture;
            Color[] temtextureData = new Color[temptex.Width * temptex.Height];
            temptex.GetData(0, new Rectangle(currentFrame * (texture.Width / frames), 0, texture.Width / frames, texture.Height), temtextureData, 0, (texture.Width / frames * texture.Height));
&lt;/code&gt;

then replaced 
&lt;code&gt;
 //  if (IntersectPixels(this.Transform, this.Texture.Width, this.Texture.Height, this.TextureData, collidable.Transform, collidable.Texture.Width, collidable.Texture.Height, collidable.TextureData))

with

                if (IntersectPixels(this.Transform, temptex.Width/frames, temptex.Height, temtextureData, collidable.Transform, collidable.Texture.Width, collidable.Texture.Height, collidable.TextureData))

&lt;/code&gt;

sorry if the code formatting is all messed up im not sure how to make it look right. i hardly ever post anything and could not get the code formatting thing you used above to work right (there was no link to paste where it said to paste &quot;following HTML script tag:&quot;

Thank you for your time. sorry about any spelling/grammer errors</description>
		<content:encoded><![CDATA[<p>First of all, great hit detection i tried some others and this was the most useful/ easy to use. It took me forever but i finnaly got it to work with a sprite sheet. I am still quite a newbie when it comes to working with graphics, much less xna and i learned quite a bit trying to modify this. Through trail and error i came up with this solution and was wondering if you could tell me if it is a good/fast way to accomplish what i needed.</p>
<p>added 2 new fields to the class called frames (default=1) and currentframe (default=0), changed the rect fuction to return (0,0,width/frames,height)</p>
<p>and added these lines to the IsColliding<br />
<code><br />
 Texture2D temptex = texture;<br />
            Color[] temtextureData = new Color[temptex.Width * temptex.Height];<br />
            temptex.GetData(0, new Rectangle(currentFrame * (texture.Width / frames), 0, texture.Width / frames, texture.Height), temtextureData, 0, (texture.Width / frames * texture.Height));<br />
</code></p>
<p>then replaced<br />
<code><br />
 //  if (IntersectPixels(this.Transform, this.Texture.Width, this.Texture.Height, this.TextureData, collidable.Transform, collidable.Texture.Width, collidable.Texture.Height, collidable.TextureData))</p>
<p>with</p>
<p>                if (IntersectPixels(this.Transform, temptex.Width/frames, temptex.Height, temtextureData, collidable.Transform, collidable.Texture.Width, collidable.Texture.Height, collidable.TextureData))</p>
<p></code></p>
<p>sorry if the code formatting is all messed up im not sure how to make it look right. i hardly ever post anything and could not get the code formatting thing you used above to work right (there was no link to paste where it said to paste &#8220;following HTML script tag:&#8221;</p>
<p>Thank you for your time. sorry about any spelling/grammer errors</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# XNA &#8211; Per Pixel Collision Detection on Rotated Objects by Rob</title>
		<link>http://www.etftw.co.uk/blog/posts/578/comment-page-1#comment-18028</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 14 Mar 2012 17:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.etftw.co.uk/blog/?p=578#comment-18028</guid>
		<description>You&#039;re welcome xfxian, glad it&#039;s been of use :)</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome xfxian, glad it&#8217;s been of use <img src='http://www.etftw.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# XNA &#8211; Per Pixel Collision Detection on Rotated Objects by xfxian</title>
		<link>http://www.etftw.co.uk/blog/posts/578/comment-page-1#comment-17988</link>
		<dc:creator>xfxian</dc:creator>
		<pubDate>Tue, 13 Mar 2012 19:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.etftw.co.uk/blog/?p=578#comment-17988</guid>
		<description>Thank you very much, this has been very useful to me! Parts of it almost instantly integrated into my Entity-class because our class properties are so similar :)</description>
		<content:encoded><![CDATA[<p>Thank you very much, this has been very useful to me! Parts of it almost instantly integrated into my Entity-class because our class properties are so similar <img src='http://www.etftw.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Registry Hack for Apple Keyboard by Test123</title>
		<link>http://www.etftw.co.uk/blog/posts/81/comment-page-1#comment-17805</link>
		<dc:creator>Test123</dc:creator>
		<pubDate>Fri, 09 Mar 2012 04:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelsandlife.co.uk/wordpress/?p=81#comment-17805</guid>
		<description>This seems a very active site. How on earth do you manage to keep up with looking at all the comments?</description>
		<content:encoded><![CDATA[<p>This seems a very active site. How on earth do you manage to keep up with looking at all the comments?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Registry Hack for Apple Keyboard by best retinol product</title>
		<link>http://www.etftw.co.uk/blog/posts/81/comment-page-1#comment-17263</link>
		<dc:creator>best retinol product</dc:creator>
		<pubDate>Sun, 19 Feb 2012 06:31:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelsandlife.co.uk/wordpress/?p=81#comment-17263</guid>
		<description>I found your site in google. And I&#039;ll be back in the future, thanks.</description>
		<content:encoded><![CDATA[<p>I found your site in google. And I&#8217;ll be back in the future, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Netgear ReadyNAS RND2110 by Kaila Bobo</title>
		<link>http://www.etftw.co.uk/blog/posts/365/comment-page-1#comment-16940</link>
		<dc:creator>Kaila Bobo</dc:creator>
		<pubDate>Fri, 10 Feb 2012 12:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.etftw.co.uk/?p=365#comment-16940</guid>
		<description>nice post i was wondering if you could get in contact with me a few things about your site it is really well done and i would like to know how to make the top section the way you did</description>
		<content:encoded><![CDATA[<p>nice post i was wondering if you could get in contact with me a few things about your site it is really well done and i would like to know how to make the top section the way you did</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
