<?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 Game Programming &#8211; Tutorial 5 &#8211; Animation Class</title>
	<atom:link href="http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/</link>
	<description>iPhone Game Development - Web Development</description>
	<lastBuildDate>Sat, 04 Feb 2012 20:13:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: IlyaK</title>
		<link>http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/comment-page-9/#comment-7088</link>
		<dc:creator>IlyaK</dc:creator>
		<pubDate>Fri, 20 May 2011 17:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=395#comment-7088</guid>
		<description>Hi Mike,

Once again, never mind, problem solved.

I just had to copy some of the code in RenderAt in Image to the render method in AngelCodeFont (and add the appDelegate to the class, etc).

You rule.

Thank you,
Ilya</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>Once again, never mind, problem solved.</p>
<p>I just had to copy some of the code in RenderAt in Image to the render method in AngelCodeFont (and add the appDelegate to the class, etc).</p>
<p>You rule.</p>
<p>Thank you,<br />
Ilya</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IlyaK</title>
		<link>http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/comment-page-9/#comment-7087</link>
		<dc:creator>IlyaK</dc:creator>
		<pubDate>Fri, 20 May 2011 17:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=395#comment-7087</guid>
		<description>Hi Mike,

I&#039;m having the same problem as the people you responded to about a year ago:

&quot;mike  on March 9th, 2010

Hi Jason, it sounds as though the font texture once bound is still being used for the animation, rather than the animation binding its own texture. Have you checked to make sure that the Animation code actually binds to the right texture?

Are you caching the texture number and checking to see if its changed maybe before changing it. It certainly sounds like a texture binding issue.

Let me know what you find. If you can’t see the problem and can send the project I’ll try to take a look.

Mike&quot;

Did you guys ever figure out what the problem was? I&#039;ve been scanning my code and I can&#039;t seem to figure out why this is happening.

Thank you,
Ilya</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>I&#8217;m having the same problem as the people you responded to about a year ago:</p>
<p>&#8220;mike  on March 9th, 2010</p>
<p>Hi Jason, it sounds as though the font texture once bound is still being used for the animation, rather than the animation binding its own texture. Have you checked to make sure that the Animation code actually binds to the right texture?</p>
<p>Are you caching the texture number and checking to see if its changed maybe before changing it. It certainly sounds like a texture binding issue.</p>
<p>Let me know what you find. If you can’t see the problem and can send the project I’ll try to take a look.</p>
<p>Mike&#8221;</p>
<p>Did you guys ever figure out what the problem was? I&#8217;ve been scanning my code and I can&#8217;t seem to figure out why this is happening.</p>
<p>Thank you,<br />
Ilya</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlo</title>
		<link>http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/comment-page-9/#comment-5958</link>
		<dc:creator>Carlo</dc:creator>
		<pubDate>Mon, 28 Feb 2011 14:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=395#comment-5958</guid>
		<description>A really interesting work!
I found this tutorial really useful.
I wonder if I can use some of your code for my iPhone App...
I didn&#039;t find any copyright notice ...</description>
		<content:encoded><![CDATA[<p>A really interesting work!<br />
I found this tutorial really useful.<br />
I wonder if I can use some of your code for my iPhone App&#8230;<br />
I didn&#8217;t find any copyright notice &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jc</title>
		<link>http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/comment-page-9/#comment-4351</link>
		<dc:creator>jc</dc:creator>
		<pubDate>Wed, 03 Nov 2010 09:56:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=395#comment-4351</guid>
		<description>hey mike I&#039;ve been following your tutorials and reading the comments as well here in the forums. 

I noticed that Dan pointed out that there are memory leaks inside the image class.  When I tested it out, there was really a memory leak.  What I tried doing was having a button that changes animations. Each time a button is pressed an animation will be started and once it finishes, it is then released and a new one will be allocated.  Each time this happens there is a memory leak and I traced it back to the image class.

I tried the remedy he suggested by retaining the Image in both the frame class and the spritesheet class.  After which I release them in the dealloc method.  Also, I placed an autorelease on the subImage that is being passed on the image class.  However, once I put the autorelease on the Image class, I get an error EXC_BAD_ACCESS.

Any suggestions on what I should do?

Thanks in advance and more power! I love the way you explain things it really helps beginners like me a lot!</description>
		<content:encoded><![CDATA[<p>hey mike I&#8217;ve been following your tutorials and reading the comments as well here in the forums. </p>
<p>I noticed that Dan pointed out that there are memory leaks inside the image class.  When I tested it out, there was really a memory leak.  What I tried doing was having a button that changes animations. Each time a button is pressed an animation will be started and once it finishes, it is then released and a new one will be allocated.  Each time this happens there is a memory leak and I traced it back to the image class.</p>
<p>I tried the remedy he suggested by retaining the Image in both the frame class and the spritesheet class.  After which I release them in the dealloc method.  Also, I placed an autorelease on the subImage that is being passed on the image class.  However, once I put the autorelease on the Image class, I get an error EXC_BAD_ACCESS.</p>
<p>Any suggestions on what I should do?</p>
<p>Thanks in advance and more power! I love the way you explain things it really helps beginners like me a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhone Game Programming Tutorial 1 &#124; Hardblog Cafe</title>
		<link>http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/comment-page-8/#comment-4168</link>
		<dc:creator>iPhone Game Programming Tutorial 1 &#124; Hardblog Cafe</dc:creator>
		<pubDate>Wed, 06 Oct 2010 15:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=395#comment-4168</guid>
		<description>[...] iphone-game-programming-tutorial-4-bitmap-font-class iphone-game-programming-tutorial-5-animation-cl... iphone-game-programming-tutorial-6-tiled-map-class iphone-game-programming-tutorial-7-singleton-class iphone-game-programming-tutorial-8-particle-emitter iphone-game-programming-tutorial-9-sound-manager iphone-game-programming-tutorial-10-game-structure iphone-game-programming-tutorial-11-joypad iphone-game-programming-tutorial-12-saving-state tutorial-13-app-store-submission AKPC_IDS += &quot;1124,&quot;;Popularity: unranked [?] [...]</description>
		<content:encoded><![CDATA[<p>[...] iphone-game-programming-tutorial-4-bitmap-font-class iphone-game-programming-tutorial-5-animation-cl&#8230; iphone-game-programming-tutorial-6-tiled-map-class iphone-game-programming-tutorial-7-singleton-class iphone-game-programming-tutorial-8-particle-emitter iphone-game-programming-tutorial-9-sound-manager iphone-game-programming-tutorial-10-game-structure iphone-game-programming-tutorial-11-joypad iphone-game-programming-tutorial-12-saving-state tutorial-13-app-store-submission AKPC_IDS += &quot;1124,&quot;;Popularity: unranked [?] [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jiaren</title>
		<link>http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/comment-page-8/#comment-4140</link>
		<dc:creator>Jiaren</dc:creator>
		<pubDate>Fri, 01 Oct 2010 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=395#comment-4140</guid>
		<description>Hi Mike,

Thank you for your great job! I&#039;ve learned a lot from your tutorials!</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>Thank you for your great job! I&#8217;ve learned a lot from your tutorials!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lakshmikanth Reddy</title>
		<link>http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/comment-page-8/#comment-3974</link>
		<dc:creator>Lakshmikanth Reddy</dc:creator>
		<pubDate>Thu, 02 Sep 2010 15:39:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=395#comment-3974</guid>
		<description>Mike, 

Your tutorials are really great and gives more knowledge with very simple examples and crystal clear explanation, thats great work, keep up my frnd Mike, your are doing great job, i have started looking at all your videos and continuing it.

Thank you,

Lakshmikanth</description>
		<content:encoded><![CDATA[<p>Mike, </p>
<p>Your tutorials are really great and gives more knowledge with very simple examples and crystal clear explanation, thats great work, keep up my frnd Mike, your are doing great job, i have started looking at all your videos and continuing it.</p>
<p>Thank you,</p>
<p>Lakshmikanth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention iPhone Game Programming – Tutorial 5 – Animation Class &#124; 71² - The ramblings of two 30-something developers -- Topsy.com</title>
		<link>http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/comment-page-8/#comment-3227</link>
		<dc:creator>Tweets that mention iPhone Game Programming – Tutorial 5 – Animation Class &#124; 71² - The ramblings of two 30-something developers -- Topsy.com</dc:creator>
		<pubDate>Sun, 25 Apr 2010 00:43:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=395#comment-3227</guid>
		<description>[...] This post was mentioned on Twitter by onion_papa. onion_papa said: http://tinyurl.com/29mbqpy iPhone Game Programming – Tutorial 5 – Animation Class &#124; 71² - The ... (WWW.71SQUARED.COM) [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by onion_papa. onion_papa said: <a href="http://tinyurl.com/29mbqpy" rel="nofollow">http://tinyurl.com/29mbqpy</a> iPhone Game Programming – Tutorial 5 – Animation Class | 71² &#8211; The &#8230; (WWW.71SQUARED.COM) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/comment-page-8/#comment-3057</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Sun, 11 Apr 2010 04:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=395#comment-3057</guid>
		<description>Thanks Mike for the great tutorials! I am totally new to iPhone development and OpenGL ES and really appreciate being able to follow along and see how this works... I am doing something really simple (i think!) ... I just want to animate a figure running... 1 cycle in a continuous loop - i&#039;m thinking 60 frames - just looping through in one spot (character is not running across the screen). I got your animations to work fine (16x16px) BUT when i replace with my spritesheet character which is 320x320px the character doesn&#039;t appear at that size but rather about 4 small figures appear - they DO animate but why are they tiny and more than 1? (my scale factor is set at 1)... any ideas would be appreciated - is it to do with a texture altas file needing to be created at &quot;power of 2&quot;? ... don&#039;t quite understand that concept.

many thanks again, rob</description>
		<content:encoded><![CDATA[<p>Thanks Mike for the great tutorials! I am totally new to iPhone development and OpenGL ES and really appreciate being able to follow along and see how this works&#8230; I am doing something really simple (i think!) &#8230; I just want to animate a figure running&#8230; 1 cycle in a continuous loop &#8211; i&#8217;m thinking 60 frames &#8211; just looping through in one spot (character is not running across the screen). I got your animations to work fine (16x16px) BUT when i replace with my spritesheet character which is 320x320px the character doesn&#8217;t appear at that size but rather about 4 small figures appear &#8211; they DO animate but why are they tiny and more than 1? (my scale factor is set at 1)&#8230; any ideas would be appreciated &#8211; is it to do with a texture altas file needing to be created at &#8220;power of 2&#8243;? &#8230; don&#8217;t quite understand that concept.</p>
<p>many thanks again, rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danegraphics</title>
		<link>http://www.71squared.com/2009/04/iphone-game-programming-tutorial-5-animation-class/comment-page-8/#comment-3021</link>
		<dc:creator>Danegraphics</dc:creator>
		<pubDate>Mon, 05 Apr 2010 04:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=395#comment-3021</guid>
		<description>Nevermind. I was incorrectly using delta.</description>
		<content:encoded><![CDATA[<p>Nevermind. I was incorrectly using delta.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

