<?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 3 &#8211; SpriteSheet Class</title>
	<atom:link href="http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/</link>
	<description>iPhone Game Development - Web Development</description>
	<lastBuildDate>Sat, 13 Mar 2010 08:32:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Simon</title>
		<link>http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/comment-page-6/#comment-2767</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Thu, 25 Feb 2010 09:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=319#comment-2767</guid>
		<description>Under &quot;Groups &amp; Files&quot; on the left hand side, go down to the &quot;Targets&quot; item in your project (it should look like a round red target) right click and select get info.

Then in the new window opesn, select the &quot;Build&quot; tab and then under &quot;Architecture&quot; go to the item named &quot;Base SDK&quot;. On the right of the &quot;Base SDK&quot; item you should see the base SDK that you&#039;re using. Click on it and you should have the option to set it to SDK 2.2.x.

Mikes project should now run!</description>
		<content:encoded><![CDATA[<p>Under &#8220;Groups &amp; Files&#8221; on the left hand side, go down to the &#8220;Targets&#8221; item in your project (it should look like a round red target) right click and select get info.</p>
<p>Then in the new window opesn, select the &#8220;Build&#8221; tab and then under &#8220;Architecture&#8221; go to the item named &#8220;Base SDK&#8221;. On the right of the &#8220;Base SDK&#8221; item you should see the base SDK that you&#8217;re using. Click on it and you should have the option to set it to SDK 2.2.x.</p>
<p>Mikes project should now run!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/comment-page-5/#comment-2766</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Thu, 25 Feb 2010 09:23:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=319#comment-2766</guid>
		<description>Hi Zathur,

The short answer to this problem is. Open the project in Xcode and you should see a drop down list in the top left corner (assuming you have the default menu layout). Using this select one of the build options there either simulator or device. Keep trying till you get one that works.

The longer answer to this is that Mike&#039;s project is set to build on the base SDK 2.2.x. To set the prject to run on the base SDK you will need to. Open the projet.</description>
		<content:encoded><![CDATA[<p>Hi Zathur,</p>
<p>The short answer to this problem is. Open the project in Xcode and you should see a drop down list in the top left corner (assuming you have the default menu layout). Using this select one of the build options there either simulator or device. Keep trying till you get one that works.</p>
<p>The longer answer to this is that Mike&#8217;s project is set to build on the base SDK 2.2.x. To set the prject to run on the base SDK you will need to. Open the projet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zahur</title>
		<link>http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/comment-page-5/#comment-2763</link>
		<dc:creator>zahur</dc:creator>
		<pubDate>Thu, 25 Feb 2010 05:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=319#comment-2763</guid>
		<description>hi, well i tried to run this project but my Xcode fires me an error :
Their is no SDK with name or path iphoneos 2.2.
Please guide me for the same</description>
		<content:encoded><![CDATA[<p>hi, well i tried to run this project but my Xcode fires me an error :<br />
Their is no SDK with name or path iphoneos 2.2.<br />
Please guide me for the same</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/comment-page-5/#comment-2702</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 16 Feb 2010 22:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=319#comment-2702</guid>
		<description>Thanks Mike, I will take a look at that tool.

Lol when is the book coming out? :-)

Best,

Josh</description>
		<content:encoded><![CDATA[<p>Thanks Mike, I will take a look at that tool.</p>
<p>Lol when is the book coming out? :-)</p>
<p>Best,</p>
<p>Josh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/comment-page-5/#comment-2697</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Tue, 16 Feb 2010 18:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=319#comment-2697</guid>
		<description>Hey Josh.  Your spot on about needing to be able to mix different sized sprites onto a single sheet.  I posted about a tool that I am using for SLQ that creates exactly that type of spritesheet with a plist control file.  The blog post can be found at http://www.71squared.com/2009/11/sprite-sheet-builder-tool/

I am using this in SLQ and have created a new PackedSpriteSheet class that uses the image and control file this tool generates.  It&#039;s also included in the book I&#039;m working on.

Thanks for the feedback :o)

Mike</description>
		<content:encoded><![CDATA[<p>Hey Josh.  Your spot on about needing to be able to mix different sized sprites onto a single sheet.  I posted about a tool that I am using for SLQ that creates exactly that type of spritesheet with a plist control file.  The blog post can be found at <a href="http://www.71squared.com/2009/11/sprite-sheet-builder-tool/" rel="nofollow">http://www.71squared.com/2009/.....lder-tool/</a></p>
<p>I am using this in SLQ and have created a new PackedSpriteSheet class that uses the image and control file this tool generates.  It&#8217;s also included in the book I&#8217;m working on.</p>
<p>Thanks for the feedback :o)</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/comment-page-5/#comment-2694</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 16 Feb 2010 18:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=319#comment-2694</guid>
		<description>Hey Mike,

Have you ever thought about extending this to allow for sprite sheets that aren&#039;t uniform?

If you are trying to pack all your sprites for a given level/area into one texture I would think it would be quite rare for *every* one to have the same width and height.

Any thoughts or pointer?

Great job on the tutorials!

Best,

Josh</description>
		<content:encoded><![CDATA[<p>Hey Mike,</p>
<p>Have you ever thought about extending this to allow for sprite sheets that aren&#8217;t uniform?</p>
<p>If you are trying to pack all your sprites for a given level/area into one texture I would think it would be quite rare for *every* one to have the same width and height.</p>
<p>Any thoughts or pointer?</p>
<p>Great job on the tutorials!</p>
<p>Best,</p>
<p>Josh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juli</title>
		<link>http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/comment-page-5/#comment-2655</link>
		<dc:creator>Juli</dc:creator>
		<pubDate>Sat, 13 Feb 2010 23:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=319#comment-2655</guid>
		<description>Mike, thank you for the great tutorials.</description>
		<content:encoded><![CDATA[<p>Mike, thank you for the great tutorials.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/comment-page-5/#comment-2524</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Tue, 26 Jan 2010 21:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=319#comment-2524</guid>
		<description>Hi Mike,

i fixed this problem (not 100% sure how) but i was not getting intialised properly on implementation. Played around with it for hours and it appears to be working.

However I have a different issue now and it&#039;s very much to do with the tileMap so I&#039;ll post it on the section.

Thanks

Simon</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>i fixed this problem (not 100% sure how) but i was not getting intialised properly on implementation. Played around with it for hours and it appears to be working.</p>
<p>However I have a different issue now and it&#8217;s very much to do with the tileMap so I&#8217;ll post it on the section.</p>
<p>Thanks</p>
<p>Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/comment-page-5/#comment-2523</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Mon, 25 Jan 2010 17:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=319#comment-2523</guid>
		<description>Hi Simon

I had some problems with the SpriteSheet class myself when I was rewriting it in this area.  Can you identify which sprites it cannot find i.e. are they always sprites on the far right or bottom row of sprites in the sprite sheet.

It could be a problem with the calculation that is performed to calculate array index from the x and y position passed in for a sprite.  

I was fixed support for spacing and borders within sprite sheets when I had the problem.

If you can&#039;t get to the bottom of it I&#039;m happy to take a look at the code if that would help.

Mike</description>
		<content:encoded><![CDATA[<p>Hi Simon</p>
<p>I had some problems with the SpriteSheet class myself when I was rewriting it in this area.  Can you identify which sprites it cannot find i.e. are they always sprites on the far right or bottom row of sprites in the sprite sheet.</p>
<p>It could be a problem with the calculation that is performed to calculate array index from the x and y position passed in for a sprite.  </p>
<p>I was fixed support for spacing and borders within sprite sheets when I had the problem.</p>
<p>If you can&#8217;t get to the bottom of it I&#8217;m happy to take a look at the code if that would help.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.71squared.com/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/comment-page-5/#comment-2522</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 25 Jan 2010 16:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.co.uk/?p=319#comment-2522</guid>
		<description>Hi Mike, 

Not sure if I should post this question hear or on the Tiledmap tutorial. As it the spritesheet that&#039;s throwing an error 

ERROR - SpriteSheet: texture location out of range.

But it&#039;s only when I try and use it with the tiledmap class to create the texture for the tiles. 

have you any idea what i might be doing wrong here</description>
		<content:encoded><![CDATA[<p>Hi Mike, </p>
<p>Not sure if I should post this question hear or on the Tiledmap tutorial. As it the spritesheet that&#8217;s throwing an error </p>
<p>ERROR &#8211; SpriteSheet: texture location out of range.</p>
<p>But it&#8217;s only when I try and use it with the tiledmap class to create the texture for the tiles. </p>
<p>have you any idea what i might be doing wrong here</p>
]]></content:encoded>
	</item>
</channel>
</rss>
