<?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 for Uchidacoonga</title>
	<atom:link href="http://www.uchidacoonga.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uchidacoonga.com</link>
	<description>&#34;Do it until it becomes boring, then keep doing it until it becomes beautiful.&#34;</description>
	<lastBuildDate>Sun, 05 Feb 2012 09:30:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>Comment on Improve Performance and Reduce Memory with PVRTC Textures and Cocos2d by Dalia Mcintire</title>
		<link>http://www.uchidacoonga.com/2011/07/pvrtc-textures-and-cocos2d/#comment-8480</link>
		<dc:creator>Dalia Mcintire</dc:creator>
		<pubDate>Sun, 05 Feb 2012 09:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchidacoonga.com/?p=1130#comment-8480</guid>
		<description>I really liked your article.Thanks Again. Really Cool.</description>
		<content:encoded><![CDATA[<p>I really liked your article.Thanks Again. Really Cool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Platformer Using Cocos2d and Box2d with Collision Detection by List of Open Source Cocos2d Projects, Extensions and Code Snippets &#171; AVATAR.Dev - iOS Developer Tips, Tricks and Tutorials.</title>
		<link>http://www.uchidacoonga.com/2011/03/simple-platformer-using-cocos2d-and-box2d-with-collision-detection/#comment-8479</link>
		<dc:creator>List of Open Source Cocos2d Projects, Extensions and Code Snippets &#171; AVATAR.Dev - iOS Developer Tips, Tricks and Tutorials.</dc:creator>
		<pubDate>Thu, 12 Jan 2012 00:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchidacoonga.com/?p=1056#comment-8479</guid>
		<description>[...] Simple platforme game using cocos2d and box2d with collision detection: LINK [...]</description>
		<content:encoded><![CDATA[<p>[...] Simple platforme game using cocos2d and box2d with collision detection: LINK [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Platformer Using Cocos2d and Box2d with Collision Detection by List of Open Source Cocos2d Projects and Code Snippets &#124; iUridium</title>
		<link>http://www.uchidacoonga.com/2011/03/simple-platformer-using-cocos2d-and-box2d-with-collision-detection/#comment-8478</link>
		<dc:creator>List of Open Source Cocos2d Projects and Code Snippets &#124; iUridium</dc:creator>
		<pubDate>Fri, 06 Jan 2012 11:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchidacoonga.com/?p=1056#comment-8478</guid>
		<description>[...] Simple platforme game using cocos2d and box2d with collision detection: LINK [...]</description>
		<content:encoded><![CDATA[<p>[...] Simple platforme game using cocos2d and box2d with collision detection: LINK [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CCSprite addAnimation is deprecated in Cocos2D 0.99.5 by Ryebo</title>
		<link>http://www.uchidacoonga.com/2010/12/ccsprite-addanimation-is-deprecated-in-cocos2d-0-99-5/#comment-8468</link>
		<dc:creator>Ryebo</dc:creator>
		<pubDate>Sat, 12 Nov 2011 01:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchidacoonga.com/?p=666#comment-8468</guid>
		<description>Thank you.  This was short &amp; sweet and all that I needed.</description>
		<content:encoded><![CDATA[<p>Thank you.  This was short &amp; sweet and all that I needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Platformer Using Cocos2d and Box2d with Collision Detection by Michael Hill</title>
		<link>http://www.uchidacoonga.com/2011/03/simple-platformer-using-cocos2d-and-box2d-with-collision-detection/#comment-8466</link>
		<dc:creator>Michael Hill</dc:creator>
		<pubDate>Sat, 15 Oct 2011 22:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchidacoonga.com/?p=1056#comment-8466</guid>
		<description>Excellent. Working perfectly thanks for your help Min.

if anyone else wants to know i used the following code in my level dealloc method




for (b2Body* b = world-&gt;GetBodyList(); b; b = b-&gt;GetNext())
	{
		
		if ([b-&gt;GetUserData()  isKindOfClass:[Platform class]]) {
			//Synchronize the AtlasSprites position and rotation with the corresponding body
			world -&gt; DestroyBody(b);
		}	
	}

So now i just load a subclass of CClayer to load my platform objects with reference to the main world then to load a new one i simply remove the child then re ad with reference to a new tiled map. This tute has made it easy stuff</description>
		<content:encoded><![CDATA[<p>Excellent. Working perfectly thanks for your help Min.</p>
<p>if anyone else wants to know i used the following code in my level dealloc method</p>
<p>for (b2Body* b = world-&gt;GetBodyList(); b; b = b-&gt;GetNext())<br />
	{</p>
<p>		if ([b-&gt;GetUserData()  isKindOfClass:[Platform class]]) {<br />
			//Synchronize the AtlasSprites position and rotation with the corresponding body<br />
			world -&gt; DestroyBody(b);<br />
		}<br />
	}</p>
<p>So now i just load a subclass of CClayer to load my platform objects with reference to the main world then to load a new one i simply remove the child then re ad with reference to a new tiled map. This tute has made it easy stuff</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Platformer Using Cocos2d and Box2d with Collision Detection by Min</title>
		<link>http://www.uchidacoonga.com/2011/03/simple-platformer-using-cocos2d-and-box2d-with-collision-detection/#comment-8465</link>
		<dc:creator>Min</dc:creator>
		<pubDate>Sat, 15 Oct 2011 15:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchidacoonga.com/?p=1056#comment-8465</guid>
		<description>I see.  The problem is probably the line where you do if (b-&gt;GetUserData() == platform).

Try checking the class type. Example: [myObject isKindOfClass:[Platform class]]</description>
		<content:encoded><![CDATA[<p>I see.  The problem is probably the line where you do if (b-&gt;GetUserData() == platform).</p>
<p>Try checking the class type. Example: [myObject isKindOfClass:[Platform class]]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Platformer Using Cocos2d and Box2d with Collision Detection by Anonymous</title>
		<link>http://www.uchidacoonga.com/2011/03/simple-platformer-using-cocos2d-and-box2d-with-collision-detection/#comment-8464</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 15 Oct 2011 11:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchidacoonga.com/?p=1056#comment-8464</guid>
		<description>Yup my issue is how to call all of them to remove them. im trying to cycle through all bodies and remove the ones with user data as platform? but only the one is being removed. what is the correcct way to call all of them and remove them?</description>
		<content:encoded><![CDATA[<p>Yup my issue is how to call all of them to remove them. im trying to cycle through all bodies and remove the ones with user data as platform? but only the one is being removed. what is the correcct way to call all of them and remove them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Platformer Using Cocos2d and Box2d with Collision Detection by Min</title>
		<link>http://www.uchidacoonga.com/2011/03/simple-platformer-using-cocos2d-and-box2d-with-collision-detection/#comment-8463</link>
		<dc:creator>Min</dc:creator>
		<pubDate>Fri, 14 Oct 2011 23:21:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchidacoonga.com/?p=1056#comment-8463</guid>
		<description>Hi Michael,

I&#039;m confused.  You said that &quot;...but all the others except the one it removed are still there&quot;.  They are there because you didn&#039;t remove it (which you said above).  You need to remove them all if you want to clear out the whole thing.</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>I&#8217;m confused.  You said that &#8220;&#8230;but all the others except the one it removed are still there&#8221;.  They are there because you didn&#8217;t remove it (which you said above).  You need to remove them all if you want to clear out the whole thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Platformer Using Cocos2d and Box2d with Collision Detection by Michael Hill</title>
		<link>http://www.uchidacoonga.com/2011/03/simple-platformer-using-cocos2d-and-box2d-with-collision-detection/#comment-8462</link>
		<dc:creator>Michael Hill</dc:creator>
		<pubDate>Fri, 14 Oct 2011 22:49:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchidacoonga.com/?p=1056#comment-8462</guid>
		<description>Do you have any code for this?
I have been trying to use 

for (b2Body* b = world-&gt;GetBodyList(); b; b = b-&gt;GetNext())
	{
		if (b-&gt;GetUserData() == platform) {
			//Synchronize the AtlasSprites position and rotation with the corresponding body
			world -&gt; DestroyBody(b);
		}	
	}

Which successfully removes a single platform and then i load my next platforms but all the others except the one it removed are still there as Box2d Bodys.

Im sure it is something i am not getting with how to call box2d bodys but im not sure.

Thanks for your help.</description>
		<content:encoded><![CDATA[<p>Do you have any code for this?<br />
I have been trying to use </p>
<p>for (b2Body* b = world-&gt;GetBodyList(); b; b = b-&gt;GetNext())<br />
	{<br />
		if (b-&gt;GetUserData() == platform) {<br />
			//Synchronize the AtlasSprites position and rotation with the corresponding body<br />
			world -&gt; DestroyBody(b);<br />
		}<br />
	}</p>
<p>Which successfully removes a single platform and then i load my next platforms but all the others except the one it removed are still there as Box2d Bodys.</p>
<p>Im sure it is something i am not getting with how to call box2d bodys but im not sure.</p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Platformer Using Cocos2d and Box2d with Collision Detection by min</title>
		<link>http://www.uchidacoonga.com/2011/03/simple-platformer-using-cocos2d-and-box2d-with-collision-detection/#comment-8461</link>
		<dc:creator>min</dc:creator>
		<pubDate>Fri, 14 Oct 2011 16:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchidacoonga.com/?p=1056#comment-8461</guid>
		<description>Michael, you should be able to just destroy the box2d objects and recreate them.</description>
		<content:encoded><![CDATA[<p>Michael, you should be able to just destroy the box2d objects and recreate them.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

