<?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: Sprite Sheets in XNA: Keyboard Movement</title>
	<atom:link href="http://www.berecursive.com/2008/c/sprite-sheets-in-xna-keyboard-movement/feed" rel="self" type="application/rss+xml" />
	<link>http://www.berecursive.com/2008/c/sprite-sheets-in-xna-keyboard-movement</link>
	<description>Call Yourself.</description>
	<lastBuildDate>Fri, 09 Dec 2011 02:29:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Hazard</title>
		<link>http://www.berecursive.com/2008/c/sprite-sheets-in-xna-keyboard-movement/comment-page-1#comment-42</link>
		<dc:creator>Hazard</dc:creator>
		<pubDate>Thu, 22 Apr 2010 14:44:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.berecursive.com/blog/?p=50#comment-42</guid>
		<description>I&#039;d like to personally thank you for making tutorials that are actual good. It&#039;s way harder than it should be to find a tutorial on the internet simple enough for a beginner like me to follow, and one that explains everything clearly.</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to personally thank you for making tutorials that are actual good. It&#8217;s way harder than it should be to find a tutorial on the internet simple enough for a beginner like me to follow, and one that explains everything clearly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Larose</title>
		<link>http://www.berecursive.com/2008/c/sprite-sheets-in-xna-keyboard-movement/comment-page-1#comment-38</link>
		<dc:creator>Derek Larose</dc:creator>
		<pubDate>Sat, 13 Feb 2010 16:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.berecursive.com/blog/?p=50#comment-38</guid>
		<description>Would love to see updated tutorials on your site...</description>
		<content:encoded><![CDATA[<p>Would love to see updated tutorials on your site&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.berecursive.com/2008/c/sprite-sheets-in-xna-keyboard-movement/comment-page-1#comment-36</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 07 Jan 2010 23:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.berecursive.com/blog/?p=50#comment-36</guid>
		<description>I did it like this:
(so far the sprite can only move up or down)
protected override void Update(GameTime gameTime)
        {
            // Allows the game to exit
            if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed)
                this.Exit();

            // TODO: Add your update logic here
            if (Keyboard.GetState(PlayerIndex.One).IsKeyDown(Keys.Down))
            {
                float y = playerPosition.Y;
                float x = playerPosition.X;
                playerPosition = new Vector2(x, y + 2);
            }

            if (Keyboard.GetState(PlayerIndex.One).IsKeyDown(Keys.Up))
            {
                float y = playerPosition.Y;
                float x = playerPosition.X;
                playerPosition = new Vector2(x, y - 2);
            }

            base.Update(gameTime);
        }</description>
		<content:encoded><![CDATA[<p>I did it like this:<br />
(so far the sprite can only move up or down)<br />
protected override void Update(GameTime gameTime)<br />
        {<br />
            // Allows the game to exit<br />
            if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed)<br />
                this.Exit();</p>
<p>            // TODO: Add your update logic here<br />
            if (Keyboard.GetState(PlayerIndex.One).IsKeyDown(Keys.Down))<br />
            {<br />
                float y = playerPosition.Y;<br />
                float x = playerPosition.X;<br />
                playerPosition = new Vector2(x, y + 2);<br />
            }</p>
<p>            if (Keyboard.GetState(PlayerIndex.One).IsKeyDown(Keys.Up))<br />
            {<br />
                float y = playerPosition.Y;<br />
                float x = playerPosition.X;<br />
                playerPosition = new Vector2(x, y &#8211; 2);<br />
            }</p>
<p>            base.Update(gameTime);<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paddy</title>
		<link>http://www.berecursive.com/2008/c/sprite-sheets-in-xna-keyboard-movement/comment-page-1#comment-32</link>
		<dc:creator>Paddy</dc:creator>
		<pubDate>Wed, 30 Dec 2009 03:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.berecursive.com/blog/?p=50#comment-32</guid>
		<description>I&#039;m not sure what you mean Damian? Email me about it!</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure what you mean Damian? Email me about it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damian</title>
		<link>http://www.berecursive.com/2008/c/sprite-sheets-in-xna-keyboard-movement/comment-page-1#comment-26</link>
		<dc:creator>Damian</dc:creator>
		<pubDate>Tue, 24 Nov 2009 21:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.berecursive.com/blog/?p=50#comment-26</guid>
		<description>how do i call on the class in my game1.cs then ? to load the sprite sheet , i have cancelled out all the coding that made the sprite loop and i had cancelled previous coding i had completed to make a sprite move around using the keyboard but not animated</description>
		<content:encoded><![CDATA[<p>how do i call on the class in my game1.cs then ? to load the sprite sheet , i have cancelled out all the coding that made the sprite loop and i had cancelled previous coding i had completed to make a sprite move around using the keyboard but not animated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atrilix</title>
		<link>http://www.berecursive.com/2008/c/sprite-sheets-in-xna-keyboard-movement/comment-page-1#comment-19</link>
		<dc:creator>Atrilix</dc:creator>
		<pubDate>Tue, 23 Jun 2009 20:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.berecursive.com/blog/?p=50#comment-19</guid>
		<description>OK, this is very useful, but I&#039;m using a tutorial from xnadevelopment.com. The first tutorials are about getting a sprite to move, duck, jump and shoot fireballs. yay! except that I only need 4 possible animations to show, walk Left/Right and duck Left/Right. If it makes any difference, just like in the tutorial I mentioned above, my Wizard class inherits from my Sprite class.
any help would be much appreciated!</description>
		<content:encoded><![CDATA[<p>OK, this is very useful, but I&#8217;m using a tutorial from xnadevelopment.com. The first tutorials are about getting a sprite to move, duck, jump and shoot fireballs. yay! except that I only need 4 possible animations to show, walk Left/Right and duck Left/Right. If it makes any difference, just like in the tutorial I mentioned above, my Wizard class inherits from my Sprite class.<br />
any help would be much appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skeeta</title>
		<link>http://www.berecursive.com/2008/c/sprite-sheets-in-xna-keyboard-movement/comment-page-1#comment-14</link>
		<dc:creator>Skeeta</dc:creator>
		<pubDate>Thu, 05 Feb 2009 06:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.berecursive.com/blog/?p=50#comment-14</guid>
		<description>Hey mate i was just wandering how to get a diagonal moving sprite.</description>
		<content:encoded><![CDATA[<p>Hey mate i was just wandering how to get a diagonal moving sprite.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

