<?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: iPhone Programming Tutorial: Animating A Game Sprite</title>
	<atom:link href="/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/feed/" rel="self" type="application/rss+xml" />
	<link>http://icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/</link>
	<description>iPhone Programming Tutorials</description>
	<lastBuildDate>Mon, 18 Aug 2014 06:06:00 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.2</generator>
	<item>
		<title>By: Dalee Davis</title>
		<link>http://icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/#comment-9521</link>
		<dc:creator><![CDATA[Dalee Davis]]></dc:creator>
		<pubDate>Thu, 11 Oct 2012 05:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1170#comment-9521</guid>
		<description><![CDATA[Awesome it worked!!!!



]]></description>
		<content:encoded><![CDATA[<p>Awesome it worked!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/#comment-9465</link>
		<dc:creator><![CDATA[Raj]]></dc:creator>
		<pubDate>Fri, 24 Aug 2012 06:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1170#comment-9465</guid>
		<description><![CDATA[When exactly you want your animation to be stopped ? Use ruyJump.








animationRepeatCount = 2; This will stop the animation after 2 iterations.
]]></description>
		<content:encoded><![CDATA[<p>When exactly you want your animation to be stopped ? Use ruyJump.</p>
<p>animationRepeatCount = 2; This will stop the animation after 2 iterations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derite</title>
		<link>http://icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/#comment-9441</link>
		<dc:creator><![CDATA[Derite]]></dc:creator>
		<pubDate>Thu, 09 Aug 2012 18:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1170#comment-9441</guid>
		<description><![CDATA[Thank you. I used your code and it worked.
However, I cannot get the animation to stop. 

I put the following code in an update method (myAnimate is set initially to YES). 
I use the debugger to confirm that myAnimate is set to NO the second time the if is reached.

if(myAnimate){

                                     

              ryuJump.animationImages = imageArray;

              ryuJump.animationDuration = 1.1;

              ryuJump.contentMode = UIViewContentModeBottomLeft;                                   

              [self.view addSubview:ryuJump];

              [ryuJump startAnimating];

                                 

}

else{

      [ryuJump stopAnimating];

} 

Even though the else is executed when myAnimate is off, The animation does not stop.

Any ideas? Thank you very much!]]></description>
		<content:encoded><![CDATA[<p>Thank you. I used your code and it worked.<br />
However, I cannot get the animation to stop. </p>
<p>I put the following code in an update method (myAnimate is set initially to YES). <br />
I use the debugger to confirm that myAnimate is set to NO the second time the if is reached.</p>
<p>if(myAnimate){</p>
<p>                                     </p>
<p>              ryuJump.animationImages = imageArray;</p>
<p>              ryuJump.animationDuration = 1.1;</p>
<p>              ryuJump.contentMode = UIViewContentModeBottomLeft;                                   </p>
<p>              [self.view addSubview:ryuJump];</p>
<p>              [ryuJump startAnimating];</p>
<p>                                 </p>
<p>}</p>
<p>else{</p>
<p>      [ryuJump stopAnimating];</p>
<p>} </p>
<p>Even though the else is executed when myAnimate is off, The animation does not stop.</p>
<p>Any ideas? Thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Nichols</title>
		<link>http://icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/#comment-9408</link>
		<dc:creator><![CDATA[Jonathan Nichols]]></dc:creator>
		<pubDate>Sun, 13 May 2012 05:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1170#comment-9408</guid>
		<description><![CDATA[I like the sprites - where did you get them?]]></description>
		<content:encoded><![CDATA[<p>I like the sprites &#8211; where did you get them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/#comment-9407</link>
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Thu, 10 May 2012 19:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1170#comment-9407</guid>
		<description><![CDATA[&quot; I am doing it like this, so it is obvious what is going on&quot; well done for identifying where a lot of &#039;Nerdy&#039; teachers go wrong. They tend to obfuscate what they are trying to teach by using &#039;clever&#039; but less readable code that&#039;s not as easy to visualise for a beginner.]]></description>
		<content:encoded><![CDATA[<p>&#8221; I am doing it like this, so it is obvious what is going on&#8221; well done for identifying where a lot of &#8216;Nerdy&#8217; teachers go wrong. They tend to obfuscate what they are trying to teach by using &#8216;clever&#8217; but less readable code that&#8217;s not as easy to visualise for a beginner.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalpesh</title>
		<link>http://icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/#comment-9240</link>
		<dc:creator><![CDATA[Kalpesh]]></dc:creator>
		<pubDate>Wed, 22 Feb 2012 06:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1170#comment-9240</guid>
		<description><![CDATA[Thanks.........
Kalpesh]]></description>
		<content:encoded><![CDATA[<p>Thanks&#8230;&#8230;&#8230;<br />
Kalpesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alijames53</title>
		<link>http://icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/#comment-9182</link>
		<dc:creator><![CDATA[Alijames53]]></dc:creator>
		<pubDate>Fri, 03 Feb 2012 14:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1170#comment-9182</guid>
		<description><![CDATA[Thanks

Jamshed ]]></description>
		<content:encoded><![CDATA[<p>Thanks</p>
<p>Jamshed </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ÐÐ»Ð¼Ð°Ñ ÐÐ´Ð¸Ð»ÑŒÐ±ÐµÐº</title>
		<link>http://icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/#comment-8801</link>
		<dc:creator><![CDATA[ÐÐ»Ð¼Ð°Ñ ÐÐ´Ð¸Ð»ÑŒÐ±ÐµÐº]]></dc:creator>
		<pubDate>Thu, 17 Nov 2011 10:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1170#comment-8801</guid>
		<description><![CDATA[Hi, it is great! I have question, how to implement image animation with velocity, according to the speed of swipe event (swipe left will animate images in reverse order, swipe right will animate in right order)? Can you suggest me technic. Thanks :)]]></description>
		<content:encoded><![CDATA[<p>Hi, it is great! I have question, how to implement image animation with velocity, according to the speed of swipe event (swipe left will animate images in reverse order, swipe right will animate in right order)? Can you suggest me technic. Thanks <img src="/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/#comment-7922</link>
		<dc:creator><![CDATA[Richard]]></dc:creator>
		<pubDate>Fri, 26 Aug 2011 10:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1170#comment-7922</guid>
		<description><![CDATA[Good stuff! I am looking for a way to do the same thing for the a Mac OS X App. Does not seem to be that easy though... Any ideas?]]></description>
		<content:encoded><![CDATA[<p>Good stuff! I am looking for a way to do the same thing for the a Mac OS X App. Does not seem to be that easy though&#8230; Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum_holland</title>
		<link>http://icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/#comment-7103</link>
		<dc:creator><![CDATA[Callum_holland]]></dc:creator>
		<pubDate>Tue, 12 Jul 2011 04:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1170#comment-7103</guid>
		<description><![CDATA[Well done! Just what I was looking for, don&#039;t normally comment on vids but this was well worth it, keep up the good work]]></description>
		<content:encoded><![CDATA[<p>Well done! Just what I was looking for, don&#8217;t normally comment on vids but this was well worth it, keep up the good work</p>
]]></content:encoded>
	</item>
</channel>
</rss>
