<?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: Animated Textures</title>
	<atom:link href="http://www.nazspace.com/wp/2007/12/10/animated-textures/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nazspace.com/wp/2007/12/10/animated-textures/</link>
	<description>Game Development Demystified!</description>
	<lastBuildDate>Thu, 11 Mar 2010 13:59:00 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Harris</title>
		<link>http://www.nazspace.com/wp/2007/12/10/animated-textures/comment-page-1/#comment-637</link>
		<dc:creator>Harris</dc:creator>
		<pubDate>Mon, 08 Mar 2010 01:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2007/12/10/animated-textures/#comment-637</guid>
		<description>nvm figured it out, also nice tutorials, thanks for making them they really help :)</description>
		<content:encoded><![CDATA[<p>nvm figured it out, also nice tutorials, thanks for making them they really help :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harris</title>
		<link>http://www.nazspace.com/wp/2007/12/10/animated-textures/comment-page-1/#comment-636</link>
		<dc:creator>Harris</dc:creator>
		<pubDate>Mon, 08 Mar 2010 01:25:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2007/12/10/animated-textures/#comment-636</guid>
		<description>Actually it&#039;s in the public class Game1, not LoadContent.</description>
		<content:encoded><![CDATA[<p>Actually it&#8217;s in the public class Game1, not LoadContent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harris</title>
		<link>http://www.nazspace.com/wp/2007/12/10/animated-textures/comment-page-1/#comment-635</link>
		<dc:creator>Harris</dc:creator>
		<pubDate>Mon, 08 Mar 2010 01:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2007/12/10/animated-textures/#comment-635</guid>
		<description>I get an error when typing in &quot;AnimatedTexture&quot; in the LoadContent place. 

Error	1	The type or namespace name &#039;AnimatedTexture&#039; could not be found (are you missing a using directive or an assembly reference?)

please help.</description>
		<content:encoded><![CDATA[<p>I get an error when typing in &#8220;AnimatedTexture&#8221; in the LoadContent place. </p>
<p>Error	1	The type or namespace name &#8216;AnimatedTexture&#8217; could not be found (are you missing a using directive or an assembly reference?)</p>
<p>please help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jmizzle</title>
		<link>http://www.nazspace.com/wp/2007/12/10/animated-textures/comment-page-1/#comment-608</link>
		<dc:creator>Jmizzle</dc:creator>
		<pubDate>Sun, 07 Feb 2010 22:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2007/12/10/animated-textures/#comment-608</guid>
		<description>I added mine in the &#039;public class game1&#039; and it works fine</description>
		<content:encoded><![CDATA[<p>I added mine in the &#8216;public class game1&#8242; and it works fine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hopp &#171; En projektdagbok</title>
		<link>http://www.nazspace.com/wp/2007/12/10/animated-textures/comment-page-1/#comment-602</link>
		<dc:creator>Hopp &#171; En projektdagbok</dc:creator>
		<pubDate>Tue, 02 Feb 2010 01:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2007/12/10/animated-textures/#comment-602</guid>
		<description>[...] http://www.nazspace.com/wp/2007/12/10/animated-textures [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.nazspace.com/wp/2007/12/10/animated-textures" rel="nofollow">http://www.nazspace.com/wp/2007/12/10/animated-textures</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: serious newb</title>
		<link>http://www.nazspace.com/wp/2007/12/10/animated-textures/comment-page-1/#comment-547</link>
		<dc:creator>serious newb</dc:creator>
		<pubDate>Wed, 11 Nov 2009 03:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2007/12/10/animated-textures/#comment-547</guid>
		<description>if I were to make a new class like the animated texture or others, where do I put it, and how do I include it into the project?</description>
		<content:encoded><![CDATA[<p>if I were to make a new class like the animated texture or others, where do I put it, and how do I include it into the project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nazeeh</title>
		<link>http://www.nazspace.com/wp/2007/12/10/animated-textures/comment-page-1/#comment-415</link>
		<dc:creator>nazeeh</dc:creator>
		<pubDate>Mon, 08 Dec 2008 00:05:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2007/12/10/animated-textures/#comment-415</guid>
		<description>I usually recreate them myself. It&#039;s a bit of a pain but works. I start with a clean strip of the size I want (number of frames x frame width) and then copy/paste frames to it.</description>
		<content:encoded><![CDATA[<p>I usually recreate them myself. It&#8217;s a bit of a pain but works. I start with a clean strip of the size I want (number of frames x frame width) and then copy/paste frames to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DragonLord</title>
		<link>http://www.nazspace.com/wp/2007/12/10/animated-textures/comment-page-1/#comment-414</link>
		<dc:creator>DragonLord</dc:creator>
		<pubDate>Sun, 07 Dec 2008 19:29:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2007/12/10/animated-textures/#comment-414</guid>
		<description>Hey,

First I want to say thanks for these tutorials they&#039;re great.  I&#039;ve tried to take sprite sheets from the web to use but I keep running into the problem of the images not being evenly spread out or spaced correctly.  How would you deal with this issue.</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>First I want to say thanks for these tutorials they&#8217;re great.  I&#8217;ve tried to take sprite sheets from the web to use but I keep running into the problem of the images not being evenly spread out or spaced correctly.  How would you deal with this issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamal</title>
		<link>http://www.nazspace.com/wp/2007/12/10/animated-textures/comment-page-1/#comment-359</link>
		<dc:creator>Kamal</dc:creator>
		<pubDate>Mon, 25 Aug 2008 22:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2007/12/10/animated-textures/#comment-359</guid>
		<description>Hi Nazeeh, thanks for the clarification, I got it working with the adding the frame width to the counter but I realize that can be confusing. Your way is definitely better.</description>
		<content:encoded><![CDATA[<p>Hi Nazeeh, thanks for the clarification, I got it working with the adding the frame width to the counter but I realize that can be confusing. Your way is definitely better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nazeeh</title>
		<link>http://www.nazspace.com/wp/2007/12/10/animated-textures/comment-page-1/#comment-358</link>
		<dc:creator>nazeeh</dc:creator>
		<pubDate>Mon, 25 Aug 2008 22:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2007/12/10/animated-textures/#comment-358</guid>
		<description>Hey Kamal :)

Sorry for the late reply.

Nah...the code is correct. Here&#039;s how it works:

You have a long horizontal image that has all the frames of the animation, right? Each frame is X pixels in width, so the entire image is X * Frames in pixels. So to be able to tell at which pixel a frame starts, we multiply the number of the frame by the width of the pixels. For instance, if my frames are each 10 pixels long and I have 5 of them, the image is 5 * 10 = 50 pixels wide. Frame 1 (which would be index 0 since we start from 0 all the way to 4) would be:

Frame #0 * 10 = 0

First frame starts at pixel 0! Correct!

Frame #1 (which is second frame) starts at 1 * 10 = 10

Second frame starts at pixel 10! 

see how it works? That is why we multiply. 

Hope that helps! Enjoy XNA!!</description>
		<content:encoded><![CDATA[<p>Hey Kamal :)</p>
<p>Sorry for the late reply.</p>
<p>Nah&#8230;the code is correct. Here&#8217;s how it works:</p>
<p>You have a long horizontal image that has all the frames of the animation, right? Each frame is X pixels in width, so the entire image is X * Frames in pixels. So to be able to tell at which pixel a frame starts, we multiply the number of the frame by the width of the pixels. For instance, if my frames are each 10 pixels long and I have 5 of them, the image is 5 * 10 = 50 pixels wide. Frame 1 (which would be index 0 since we start from 0 all the way to 4) would be:</p>
<p>Frame #0 * 10 = 0</p>
<p>First frame starts at pixel 0! Correct!</p>
<p>Frame #1 (which is second frame) starts at 1 * 10 = 10</p>
<p>Second frame starts at pixel 10! </p>
<p>see how it works? That is why we multiply. </p>
<p>Hope that helps! Enjoy XNA!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
