<?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 Edge of the Universe</title>
	<atom:link href="http://blog.xyris.ca/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.xyris.ca</link>
	<description>Life experience and coding blog</description>
	<lastBuildDate>Thu, 28 Jan 2010 09:36:32 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Check the Filter by XyrisKenn</title>
		<link>http://blog.xyris.ca/?p=110&#038;cpage=1#comment-409</link>
		<dc:creator>XyrisKenn</dc:creator>
		<pubDate>Thu, 28 Jan 2010 09:36:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xyris.ca/?p=110#comment-409</guid>
		<description>Hi f, thank you for writing. I don&#039;t have a Ball.mm class, as the tutorial and Cocos forum notes were distilled from my game code which has gotten complex. 
But I can say that the trick is just to make sure your Game class and Ball (or game piece class) can talk to each other.

A variable like: Game *gamescene, @property (nonatomic, readonly, retain) gamescene gets added to Ball.mm. This lets the Ball external class find out about the Box2D world.

In Game.mm, add a @class Ball note and of course Ball *myBall, @property (nonatomic, readonly, retain) myBall. This lets the main Game class communicate with the Ball class.

Then in Ball.mm, refer to the game as [[self gamescene] world]-&gt;GetJointList() for example.

If you have methods in both Ball.mm and Game.mm to call and set each other&#039;s details and variables, it becomes easier.
For example, I add the Ball&#039;s texture from Game.mm by calling a method in Ball.mm, &#039;addSprite&#039;: [myBall addSprite];

I hope this helps.

Cheers, 
Kenn.</description>
		<content:encoded><![CDATA[<p>Hi f, thank you for writing. I don&#8217;t have a Ball.mm class, as the tutorial and Cocos forum notes were distilled from my game code which has gotten complex.<br />
But I can say that the trick is just to make sure your Game class and Ball (or game piece class) can talk to each other.</p>
<p>A variable like: Game *gamescene, @property (nonatomic, readonly, retain) gamescene gets added to Ball.mm. This lets the Ball external class find out about the Box2D world.</p>
<p>In Game.mm, add a @class Ball note and of course Ball *myBall, @property (nonatomic, readonly, retain) myBall. This lets the main Game class communicate with the Ball class.</p>
<p>Then in Ball.mm, refer to the game as [[self gamescene] world]-&gt;GetJointList() for example.</p>
<p>If you have methods in both Ball.mm and Game.mm to call and set each other&#8217;s details and variables, it becomes easier.<br />
For example, I add the Ball&#8217;s texture from Game.mm by calling a method in Ball.mm, &#8216;addSprite&#8217;: [myBall addSprite];</p>
<p>I hope this helps.</p>
<p>Cheers,<br />
Kenn.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check the Filter by f</title>
		<link>http://blog.xyris.ca/?p=110&#038;cpage=1#comment-408</link>
		<dc:creator>f</dc:creator>
		<pubDate>Tue, 19 Jan 2010 12:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xyris.ca/?p=110#comment-408</guid>
		<description>Thanks for this, I am just starting to play with BOX2d.

I am having some troubles grasping how to integrate box2d on external classes, like you have on Ball.mm

Can you post a link to your complete class?</description>
		<content:encoded><![CDATA[<p>Thanks for this, I am just starting to play with BOX2d.</p>
<p>I am having some troubles grasping how to integrate box2d on external classes, like you have on Ball.mm</p>
<p>Can you post a link to your complete class?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Manifold Ways to Listen by XyrisKenn</title>
		<link>http://blog.xyris.ca/?p=40&#038;cpage=1#comment-350</link>
		<dc:creator>XyrisKenn</dc:creator>
		<pubDate>Mon, 30 Nov 2009 22:28:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xyris.ca/?p=40#comment-350</guid>
		<description>Thanks Eric, I appreciate your words. Good idea on downloadable code.</description>
		<content:encoded><![CDATA[<p>Thanks Eric, I appreciate your words. Good idea on downloadable code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Manifold Ways to Listen by Eric</title>
		<link>http://blog.xyris.ca/?p=40&#038;cpage=1#comment-349</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 30 Nov 2009 21:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xyris.ca/?p=40#comment-349</guid>
		<description>Great tutorial, very helpful and informative.  

My only suggestion for making this better is to have a downloadable xcode example so that it could be easily walked thru and modified to aid in learning.  

Great job though, please keep these tutorials coming!</description>
		<content:encoded><![CDATA[<p>Great tutorial, very helpful and informative.  </p>
<p>My only suggestion for making this better is to have a downloadable xcode example so that it could be easily walked thru and modified to aid in learning.  </p>
<p>Great job though, please keep these tutorials coming!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Manifold Ways to Listen by XyrisKenn</title>
		<link>http://blog.xyris.ca/?p=40&#038;cpage=1#comment-14</link>
		<dc:creator>XyrisKenn</dc:creator>
		<pubDate>Tue, 03 Nov 2009 00:39:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xyris.ca/?p=40#comment-14</guid>
		<description>Thank you Joe, I appreciate your compliment, and am glad this was helpful to you :)</description>
		<content:encoded><![CDATA[<p>Thank you Joe, I appreciate your compliment, and am glad this was helpful to you <img src='http://blog.xyris.ca/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Manifold Ways to Listen by Joe</title>
		<link>http://blog.xyris.ca/?p=40&#038;cpage=1#comment-13</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 02 Nov 2009 19:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xyris.ca/?p=40#comment-13</guid>
		<description>Great tutorial! I was really confused with all sorts of documentation out there for Box2D (different versions, out of date examples/tutorials), that it really discouraged me. I was looking for a good tutorial on Box2D ContactListeners, and this blog post nailed it! Thanks!</description>
		<content:encoded><![CDATA[<p>Great tutorial! I was really confused with all sorts of documentation out there for Box2D (different versions, out of date examples/tutorials), that it really discouraged me. I was looking for a good tutorial on Box2D ContactListeners, and this blog post nailed it! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sparks are flying! by XyrisKenn</title>
		<link>http://blog.xyris.ca/?p=32&#038;cpage=1#comment-3</link>
		<dc:creator>XyrisKenn</dc:creator>
		<pubDate>Mon, 05 Oct 2009 08:51:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xyris.ca/?p=32#comment-3</guid>
		<description>Thanks! A little bit of progress, but lots of work to do still.</description>
		<content:encoded><![CDATA[<p>Thanks! A little bit of progress, but lots of work to do still.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sparks are flying! by Anonymous from Podebrady</title>
		<link>http://blog.xyris.ca/?p=32&#038;cpage=1#comment-2</link>
		<dc:creator>Anonymous from Podebrady</dc:creator>
		<pubDate>Mon, 05 Oct 2009 08:27:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xyris.ca/?p=32#comment-2</guid>
		<description>Sounds like you&#039;ve made a lot of progress. Looking forward to seeing it!</description>
		<content:encoded><![CDATA[<p>Sounds like you&#8217;ve made a lot of progress. Looking forward to seeing it!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
