<?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 iPhone Dev</title>
	<atom:link href="http://iphonedev.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://iphonedev.net</link>
	<description>iPhone Development, Objective C, Cocoa</description>
	<lastBuildDate>Mon, 06 Sep 2010 16:28:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on Cocos2d Example &#8211; Move Sprite by Getting started with Cocos2d &#124; iPhone Game Tutorials</title>
		<link>http://iphonedev.net/2009/05/10/cocos2d-example-move-sprite/comment-page-1/#comment-298</link>
		<dc:creator>Getting started with Cocos2d &#124; iPhone Game Tutorials</dc:creator>
		<pubDate>Mon, 06 Sep 2010 16:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://iphonedev.net/?p=6#comment-298</guid>
		<description>[...] Moving a Sprite:  http://iphonedev.net/2009/05/10/cocos2d-example-move-sprite/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Moving a Sprite:  <a href="http://iphonedev.net/2009/05/10/cocos2d-example-move-sprite/" rel="nofollow">http://iphonedev.net/2009/05/10/cocos2d-example-move-sprite/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone Game Kit Review by Marin Todorov</title>
		<link>http://iphonedev.net/2010/07/21/iphone-game-kit/comment-page-1/#comment-294</link>
		<dc:creator>Marin Todorov</dc:creator>
		<pubDate>Fri, 13 Aug 2010 10:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://iphonedev.net/?p=117#comment-294</guid>
		<description>@Andrew Well, good news Andrew, usually games don&#039;t support different orientations (at least I never seen one) so I won&#039;t worry about that. Furthermore the Kit is using Cocos2D (as it&#039;s written on their web site) so all the basic stuff, like accelerometer, basic UI, memory management, etc is actually handled by the Cocos2D, so these are taken care of</description>
		<content:encoded><![CDATA[<p>@Andrew Well, good news Andrew, usually games don&#8217;t support different orientations (at least I never seen one) so I won&#8217;t worry about that. Furthermore the Kit is using Cocos2D (as it&#8217;s written on their web site) so all the basic stuff, like accelerometer, basic UI, memory management, etc is actually handled by the Cocos2D, so these are taken care of</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone Game Kit Review by admin</title>
		<link>http://iphonedev.net/2010/07/21/iphone-game-kit/comment-page-1/#comment-292</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 09 Aug 2010 04:29:03 +0000</pubDate>
		<guid isPermaLink="false">http://iphonedev.net/?p=117#comment-292</guid>
		<description>&lt;a href=&quot;#comment-291&quot; rel=&quot;nofollow&quot;&gt;@Andrew &lt;/a&gt; 
Hi Andrew,
I try to answer your questions based on my understandings. 

As I said, iPhone Game Kit is just a framework for game development, which can significantly accelerate your development process because it has done a lot of things for you in the background. You don&#039;t have to write these codes yourself and worry about the underground details. The reason why this framework works effectively is because most games follow the similar modes or patterns, e.g., have characters, are level-based, have menu, save states, etc. Therefore, you can quickly apply this framework in writing different games by filling different things (e.g., different characters, stories, graphics, etc). Of course, the cost is obvious. You will lose some flexibilities. But this always happens when you are writing programs using other frameworks on different platforms. Frankly I don&#039;t think this is a serious problem. When you become familiar with this kit, you can change its behavior easily.

It is impossible for a 100 page book to cover all of things about iPhone development. But the author covers most essential things on how to use this kit to write your own games. And I think more stuff will be added into this book in the following versions.

&quot;it doesn’t mention device orientation&quot;

You can easily set the orientation in the kit. 

&quot;What happens when the phone receives a call or text?&quot;

This book doesn&#039;t cover this, as I said, this book is not a reference book. But you could find answers from Apple&#039;s documents. For this question, you will receive messages when the phone receives a call. The first message you will receive is applicationWillResignActive. Then the phone will let the user choose answer or dismiss the call. If the user chooses answer, you will receive applicationWillTerminate message, so you need to save the state of your game quickly. If the user choose dismiss, you will receive applicationDidBecomeActive message. The game will continue. This is how the system works in OS 3. I am not sure how it works in OS4, but I think they should be very similar except the OS 4 can let an app run in background. 

Hope this is helpful for you.</description>
		<content:encoded><![CDATA[<p><a href="#comment-291" rel="nofollow">@Andrew </a><br />
Hi Andrew,<br />
I try to answer your questions based on my understandings. </p>
<p>As I said, iPhone Game Kit is just a framework for game development, which can significantly accelerate your development process because it has done a lot of things for you in the background. You don&#8217;t have to write these codes yourself and worry about the underground details. The reason why this framework works effectively is because most games follow the similar modes or patterns, e.g., have characters, are level-based, have menu, save states, etc. Therefore, you can quickly apply this framework in writing different games by filling different things (e.g., different characters, stories, graphics, etc). Of course, the cost is obvious. You will lose some flexibilities. But this always happens when you are writing programs using other frameworks on different platforms. Frankly I don&#8217;t think this is a serious problem. When you become familiar with this kit, you can change its behavior easily.</p>
<p>It is impossible for a 100 page book to cover all of things about iPhone development. But the author covers most essential things on how to use this kit to write your own games. And I think more stuff will be added into this book in the following versions.</p>
<p>&#8220;it doesn’t mention device orientation&#8221;</p>
<p>You can easily set the orientation in the kit. </p>
<p>&#8220;What happens when the phone receives a call or text?&#8221;</p>
<p>This book doesn&#8217;t cover this, as I said, this book is not a reference book. But you could find answers from Apple&#8217;s documents. For this question, you will receive messages when the phone receives a call. The first message you will receive is applicationWillResignActive. Then the phone will let the user choose answer or dismiss the call. If the user chooses answer, you will receive applicationWillTerminate message, so you need to save the state of your game quickly. If the user choose dismiss, you will receive applicationDidBecomeActive message. The game will continue. This is how the system works in OS 3. I am not sure how it works in OS4, but I think they should be very similar except the OS 4 can let an app run in background. </p>
<p>Hope this is helpful for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone Game Kit Review by Andrew</title>
		<link>http://iphonedev.net/2010/07/21/iphone-game-kit/comment-page-1/#comment-291</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sun, 08 Aug 2010 10:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://iphonedev.net/?p=117#comment-291</guid>
		<description>I&#039;m interested in this, and asked some questions on the forum, got no answers.  The descriptions they show on the page seem to indicate that they cover pretty much everything you need to make a game, in a 127 page book?  But, it doesn&#039;t mention device orientation, what happens when the phone receives a call or text.  These are essential things to understand, does this kit go through this for iOS4?</description>
		<content:encoded><![CDATA[<p>I&#8217;m interested in this, and asked some questions on the forum, got no answers.  The descriptions they show on the page seem to indicate that they cover pretty much everything you need to make a game, in a 127 page book?  But, it doesn&#8217;t mention device orientation, what happens when the phone receives a call or text.  These are essential things to understand, does this kit go through this for iOS4?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Implement Grabbing a Sprite with Cocos2d and Box2d by matt</title>
		<link>http://iphonedev.net/2009/08/05/how-to-grab-a-sprite-with-cocos2d-and-box2d/comment-page-1/#comment-289</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Thu, 05 Aug 2010 16:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://iphonedev.net/?p=81#comment-289</guid>
		<description>&lt;a href=&quot;#comment-288&quot; rel=&quot;nofollow&quot;&gt;@admin &lt;/a&gt; my pleasure. share the knowledge! :)</description>
		<content:encoded><![CDATA[<p><a href="#comment-288" rel="nofollow">@admin </a> my pleasure. share the knowledge! <img src='http://iphonedev.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Implement Grabbing a Sprite with Cocos2d and Box2d by admin</title>
		<link>http://iphonedev.net/2009/08/05/how-to-grab-a-sprite-with-cocos2d-and-box2d/comment-page-1/#comment-288</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 05 Aug 2010 01:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://iphonedev.net/?p=81#comment-288</guid>
		<description>&lt;a href=&quot;#comment-287&quot; rel=&quot;nofollow&quot;&gt;@matt &lt;/a&gt; 
Hi matt,

Thanks for your link.</description>
		<content:encoded><![CDATA[<p><a href="#comment-287" rel="nofollow">@matt </a><br />
Hi matt,</p>
<p>Thanks for your link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Implement Grabbing a Sprite with Cocos2d and Box2d by matt</title>
		<link>http://iphonedev.net/2009/08/05/how-to-grab-a-sprite-with-cocos2d-and-box2d/comment-page-1/#comment-287</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Thu, 05 Aug 2010 00:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://iphonedev.net/?p=81#comment-287</guid>
		<description>For even more recent cocos2d-iphone and Box2D, see here: http://www.cocos2d-iphone.org/forum/topic/7219#post-42388</description>
		<content:encoded><![CDATA[<p>For even more recent cocos2d-iphone and Box2D, see here: <a href="http://www.cocos2d-iphone.org/forum/topic/7219#post-42388" rel="nofollow">http://www.cocos2d-iphone.org/forum/topic/7219#post-42388</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cocos2d &#8211; How to Get the Position of Collision in Box2d by gangcil</title>
		<link>http://iphonedev.net/2009/07/23/cocos2d-how-to-get-the-position-of-collision-in-box2d/comment-page-1/#comment-284</link>
		<dc:creator>gangcil</dc:creator>
		<pubDate>Wed, 04 Aug 2010 05:03:32 +0000</pubDate>
		<guid isPermaLink="false">http://iphonedev.net/?p=44#comment-284</guid>
		<description>&lt;a href=&quot;#comment-265&quot; rel=&quot;nofollow&quot;&gt;@umer sufyan &lt;/a&gt; 
I have one working example....but don&#039;t know how to share it here...</description>
		<content:encoded><![CDATA[<p><a href="#comment-265" rel="nofollow">@umer sufyan </a><br />
I have one working example&#8230;.but don&#8217;t know how to share it here&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cocos2d &#8211; How to Get the Position of Collision in Box2d by gangcil</title>
		<link>http://iphonedev.net/2009/07/23/cocos2d-how-to-get-the-position-of-collision-in-box2d/comment-page-1/#comment-283</link>
		<dc:creator>gangcil</dc:creator>
		<pubDate>Wed, 04 Aug 2010 05:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://iphonedev.net/?p=44#comment-283</guid>
		<description>&lt;a href=&quot;#comment-268&quot; rel=&quot;nofollow&quot;&gt;@Nick Vellios &lt;/a&gt; 

This work for me but not the above.....
class MyContactListener : public b2ContactListener
{
	
public:
	void BeginContact(b2Contact* contact)
	
	{ 
		NSLog(@&quot;Contact...................&quot;);
		//HelloWorld *myHelloWorld;
		//[myHelloWorld beginContact];
	}
	
		
	void EndContact(b2Contact* contact)
		
	{ 
		NSLog(@&quot;Contact...................&quot;);
		//HelloWorld *myHelloWorld;
		//[myHelloWorld beginContact];
	}
	
	void PreSolve(b2Contact* contact, const b2Manifold* oldManifold)
			
	{ 
		NSLog(@&quot;Contact...................&quot;);
		//HelloWorld *myHelloWorld;
		//[myHelloWorld beginContact];
	}
	
	void PostSolve(b2Contact* contact, const b2ContactImpulse* impulse)
				
	{ 
		NSLog(@&quot;Contact...................&quot;);
		//HelloWorld *myHelloWorld;
		//[myHelloWorld beginContact];
	}
	

};</description>
		<content:encoded><![CDATA[<p><a href="#comment-268" rel="nofollow">@Nick Vellios </a> </p>
<p>This work for me but not the above&#8230;..<br />
class MyContactListener : public b2ContactListener<br />
{</p>
<p>public:<br />
	void BeginContact(b2Contact* contact)</p>
<p>	{<br />
		NSLog(@&#8221;Contact&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.&#8221;);<br />
		//HelloWorld *myHelloWorld;<br />
		//[myHelloWorld beginContact];<br />
	}</p>
<p>	void EndContact(b2Contact* contact)</p>
<p>	{<br />
		NSLog(@&#8221;Contact&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.&#8221;);<br />
		//HelloWorld *myHelloWorld;<br />
		//[myHelloWorld beginContact];<br />
	}</p>
<p>	void PreSolve(b2Contact* contact, const b2Manifold* oldManifold)</p>
<p>	{<br />
		NSLog(@&#8221;Contact&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.&#8221;);<br />
		//HelloWorld *myHelloWorld;<br />
		//[myHelloWorld beginContact];<br />
	}</p>
<p>	void PostSolve(b2Contact* contact, const b2ContactImpulse* impulse)</p>
<p>	{<br />
		NSLog(@&#8221;Contact&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.&#8221;);<br />
		//HelloWorld *myHelloWorld;<br />
		//[myHelloWorld beginContact];<br />
	}</p>
<p>};</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone Game Kit Review by Marin Todorov</title>
		<link>http://iphonedev.net/2010/07/21/iphone-game-kit/comment-page-1/#comment-279</link>
		<dc:creator>Marin Todorov</dc:creator>
		<pubDate>Tue, 27 Jul 2010 20:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://iphonedev.net/?p=117#comment-279</guid>
		<description>@Nathanael, glad to hear that - Reiner does some pretty awesome stuff and gives them away for free, you understand my concerns. However congrats on the fast reaction- I definitely think PayPal will increase your conversion rate.

@Kyle - thanks for letting Nat know :)

best, Marin</description>
		<content:encoded><![CDATA[<p>@Nathanael, glad to hear that &#8211; Reiner does some pretty awesome stuff and gives them away for free, you understand my concerns. However congrats on the fast reaction- I definitely think PayPal will increase your conversion rate.</p>
<p>@Kyle &#8211; thanks for letting Nat know <img src='http://iphonedev.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>best, Marin</p>
]]></content:encoded>
	</item>
</channel>
</rss>
