<?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: 2D Scrolling Game with Cocos2D TileMap with Zoom!</title>
	<atom:link href="http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/</link>
	<description>Programming projects and sample code</description>
	<lastBuildDate>Sat, 24 Jul 2010 10:37:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Eric</title>
		<link>http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/comment-page-1/#comment-2654</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 17 Jun 2010 21:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://johnehartzog.com/?p=391#comment-2654</guid>
		<description>There is certainly a way to do this, but I don&#039;t have an answer as there are many different ways to approach this. Just apply forces to approach a pre-set list of points.</description>
		<content:encoded><![CDATA[<p>There is certainly a way to do this, but I don&#8217;t have an answer as there are many different ways to approach this. Just apply forces to approach a pre-set list of points.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: umer sufyan</title>
		<link>http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/comment-page-1/#comment-2620</link>
		<dc:creator>umer sufyan</dc:creator>
		<pubDate>Mon, 24 May 2010 17:38:59 +0000</pubDate>
		<guid isPermaLink="false">http://johnehartzog.com/?p=391#comment-2620</guid>
		<description>Thanks for this interesting information actually i m working on a game and i want to know whether there is a way to give a pre specified path to a moving body in box2d so that the obstacle (ball) should move only in that way any sample code or hints how it can be achieved.</description>
		<content:encoded><![CDATA[<p>Thanks for this interesting information actually i m working on a game and i want to know whether there is a way to give a pre specified path to a moving body in box2d so that the obstacle (ball) should move only in that way any sample code or hints how it can be achieved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/comment-page-1/#comment-2606</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 26 Apr 2010 19:46:50 +0000</pubDate>
		<guid isPermaLink="false">http://johnehartzog.com/?p=391#comment-2606</guid>
		<description>Thanks, I&#039;m glad this stuff helped you out some.

If I was going to make an RPG, it depends on how the game is structured. If the different locations in the game have different interactions (castle vs forest) that require different behavior code, then split up the Layers. If all that is changed is the visuals, then use the same Layer and load up different images based on the location.

Sorry for the delay in getting back to you, if you post again I&#039;ll be on it quicker.</description>
		<content:encoded><![CDATA[<p>Thanks, I&#8217;m glad this stuff helped you out some.</p>
<p>If I was going to make an RPG, it depends on how the game is structured. If the different locations in the game have different interactions (castle vs forest) that require different behavior code, then split up the Layers. If all that is changed is the visuals, then use the same Layer and load up different images based on the location.</p>
<p>Sorry for the delay in getting back to you, if you post again I&#8217;ll be on it quicker.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/comment-page-1/#comment-2601</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 17 Apr 2010 14:25:45 +0000</pubDate>
		<guid isPermaLink="false">http://johnehartzog.com/?p=391#comment-2601</guid>
		<description>Eric - Regardless of the changes to the api, your explanations have been extremely helpful in my effort to get off the ground with cocos2d - thanks. I have a really basic noob-level question... if you were to construct an RPG using the premises outlined in your code, would you create one single game layer, regardless of how many scenes are in the game and just remove/add child objects to the layer when the scene changes? Or would you create a game layer specific to each scene (e.g. GameLayer_Castle, GameLayer_Forest, etc)? I&#039;m assuming it&#039;s the former, but I want to make sure I understand correctly. Thanks again for your helpful examples and explanations.</description>
		<content:encoded><![CDATA[<p>Eric &#8211; Regardless of the changes to the api, your explanations have been extremely helpful in my effort to get off the ground with cocos2d &#8211; thanks. I have a really basic noob-level question&#8230; if you were to construct an RPG using the premises outlined in your code, would you create one single game layer, regardless of how many scenes are in the game and just remove/add child objects to the layer when the scene changes? Or would you create a game layer specific to each scene (e.g. GameLayer_Castle, GameLayer_Forest, etc)? I&#8217;m assuming it&#8217;s the former, but I want to make sure I understand correctly. Thanks again for your helpful examples and explanations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/comment-page-1/#comment-2577</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Wed, 07 Apr 2010 22:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://johnehartzog.com/?p=391#comment-2577</guid>
		<description>Sorry I realized this is old code before cocos2d made a lot of changes (like adding CC prefix). I don&#039;t have a zip for this, but I will eventually put together some tutorials using cocos2d 1.0 that people will be able to download.</description>
		<content:encoded><![CDATA[<p>Sorry I realized this is old code before cocos2d made a lot of changes (like adding CC prefix). I don&#8217;t have a zip for this, but I will eventually put together some tutorials using cocos2d 1.0 that people will be able to download.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: apaella</title>
		<link>http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/comment-page-1/#comment-2573</link>
		<dc:creator>apaella</dc:creator>
		<pubDate>Tue, 06 Apr 2010 13:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://johnehartzog.com/?p=391#comment-2573</guid>
		<description>It is possibile to have a zip of this example? I&#039;m having troubles setting up a simple working project with cocos2d.

Tkz a lot!</description>
		<content:encoded><![CDATA[<p>It is possibile to have a zip of this example? I&#8217;m having troubles setting up a simple working project with cocos2d.</p>
<p>Tkz a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/comment-page-1/#comment-2507</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 15 Mar 2010 21:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://johnehartzog.com/?p=391#comment-2507</guid>
		<description>This works in landscape, that is actually the same as the game that was running this code.

centerPoint refers to the center of the iPhone screen (240, 180). If you wanted it portrait you&#039;d do (180, 240). Easy!</description>
		<content:encoded><![CDATA[<p>This works in landscape, that is actually the same as the game that was running this code.</p>
<p>centerPoint refers to the center of the iPhone screen (240, 180). If you wanted it portrait you&#8217;d do (180, 240). Easy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/comment-page-1/#comment-2506</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 15 Mar 2010 16:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://johnehartzog.com/?p=391#comment-2506</guid>
		<description>Hi Eric,

Some quick questions for you, does the &#039;centerPoint&#039; variable refer to the centre of the iphone screen or the centre tile of the map itself?

I&#039;m running my game in Landscape mode, does that also affect things?</description>
		<content:encoded><![CDATA[<p>Hi Eric,</p>
<p>Some quick questions for you, does the &#8216;centerPoint&#8217; variable refer to the centre of the iphone screen or the centre tile of the map itself?</p>
<p>I&#8217;m running my game in Landscape mode, does that also affect things?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/comment-page-1/#comment-2505</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sun, 07 Mar 2010 21:37:46 +0000</pubDate>
		<guid isPermaLink="false">http://johnehartzog.com/?p=391#comment-2505</guid>
		<description>Thanks so much for the quick reply :)
That did the trick.</description>
		<content:encoded><![CDATA[<p>Thanks so much for the quick reply <img src='http://johnehartzog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
That did the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://johnehartzog.com/2009/10/2d-scrolling-game-with-cocos2d-tilemap-with-zoom/comment-page-1/#comment-2504</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Sun, 07 Mar 2010 20:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://johnehartzog.com/?p=391#comment-2504</guid>
		<description>In your singleton class header file, instead of importing &quot;GameLayer.h&quot; use the @class GameLayer so you can store a pointer to it, and then in your single class .m file go ahead and import &quot;GameLayer.h&quot;.

That will fix the errors. In case that isn&#039;t clear, just google how to use the @class statement.</description>
		<content:encoded><![CDATA[<p>In your singleton class header file, instead of importing &#8220;GameLayer.h&#8221; use the @class GameLayer so you can store a pointer to it, and then in your single class .m file go ahead and import &#8220;GameLayer.h&#8221;.</p>
<p>That will fix the errors. In case that isn&#8217;t clear, just google how to use the @class statement.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
