<?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: How To Make A Simple iPhone Game with Cocos2D Tutorial</title>
	<atom:link href="http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial</link>
	<description>Tutorials for iPhone / iOS Developers and Gamers</description>
	<lastBuildDate>Sun, 29 Jan 2012 06:07:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Pramod Jain</title>
		<link>http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial#comment-8149</link>
		<dc:creator>Pramod Jain</dc:creator>
		<pubDate>Wed, 22 Dec 2010 04:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=352#comment-8149</guid>
		<description>Hi Ray,

Thanks for the great insight of the tutorial. I am an acquaintance of gaming and using high graphics in iPhone.

Would like to know, how the gameKit from iphone sdk can be related to Cocoas2d or any other gaming framework(box2d, chipmans.... etc),</description>
		<content:encoded><![CDATA[<p>Hi Ray,</p>
<p>Thanks for the great insight of the tutorial. I am an acquaintance of gaming and using high graphics in iPhone.</p>
<p>Would like to know, how the gameKit from iphone sdk can be related to Cocoas2d or any other gaming framework(box2d, chipmans&#8230;. etc),</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giv P</title>
		<link>http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial#comment-8059</link>
		<dc:creator>Giv P</dc:creator>
		<pubDate>Sun, 19 Dec 2010 13:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=352#comment-8059</guid>
		<description>In case anyone comes across this warning, as of cocos2d v 0.99.5 CCColorLayer has now been deprecated. You will need to use CCLayerColor instead.</description>
		<content:encoded><![CDATA[<p>In case anyone comes across this warning, as of cocos2d v 0.99.5 CCColorLayer has now been deprecated. You will need to use CCLayerColor instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hasan</title>
		<link>http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial#comment-7812</link>
		<dc:creator>Hasan</dc:creator>
		<pubDate>Wed, 15 Dec 2010 18:11:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=352#comment-7812</guid>
		<description>First off sir, you are simply awesome!! I&#039;ve been going around for weeks now looking for some decent info on how to code iphone apps. Bought a book and everything, then ran into ur site and was like YESSSS!!

I have soo many questions so here&#039;s one.  Lets say the enemies throw a star at the ninja, how would the ninja deflect those stars?</description>
		<content:encoded><![CDATA[<p>First off sir, you are simply awesome!! I&#8217;ve been going around for weeks now looking for some decent info on how to code iphone apps. Bought a book and everything, then ran into ur site and was like YESSSS!!</p>
<p>I have soo many questions so here&#8217;s one.  Lets say the enemies throw a star at the ninja, how would the ninja deflect those stars?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Towhid</title>
		<link>http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial#comment-7784</link>
		<dc:creator>Towhid</dc:creator>
		<pubDate>Wed, 15 Dec 2010 06:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=352#comment-7784</guid>
		<description>@Ray......man you are an example of awesomeness. Each of your post is just awesome..... Thanks</description>
		<content:encoded><![CDATA[<p>@Ray&#8230;&#8230;man you are an example of awesomeness. Each of your post is just awesome&#8230;.. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tonyd</title>
		<link>http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial#comment-7754</link>
		<dc:creator>tonyd</dc:creator>
		<pubDate>Tue, 14 Dec 2010 22:44:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=352#comment-7754</guid>
		<description>Ray:
Great tutorial.  I was trying to add some additional sound effects when something was hit and put it in the update method the following:
[[SimpleAudioEngine sharedEngine]    playEffect:@&quot;shooter_hit.caf&quot;];
The audio file has the following info:

File:           shooter_hit.caf
File type ID:   caff
Data format:     1 ch,  44100 Hz, &#039;lpcm&#039; (0x0000000C) 16-bit little-endian signed integer
                no channel layout.
estimated duration: 1.390 sec
audio bytes: 122600
audio packets: 61300
audio 61300 valid frames + 0 priming + 0 remainder = 61300
bit rate: 705600 bits per second
packet size upper bound: 2
audio data file offset: 4096
optimized
sound check:
    approximate duration in seconds          1.39
----

When it plays it sounds all garbled coming out of the simulator.  Is it  the sound is too long for a collision hit or could it be something else?  I am using 0.99.4.

Are you thinking about teaching your class again!

Thanks,
Tony</description>
		<content:encoded><![CDATA[<p>Ray:<br />
Great tutorial.  I was trying to add some additional sound effects when something was hit and put it in the update method the following:<br />
[[SimpleAudioEngine sharedEngine]    playEffect:@&#8221;shooter_hit.caf&#8221;];<br />
The audio file has the following info:</p>
<p>File:           shooter_hit.caf<br />
File type ID:   caff<br />
Data format:     1 ch,  44100 Hz, &#8216;lpcm&#8217; (0x0000000C) 16-bit little-endian signed integer<br />
                no channel layout.<br />
estimated duration: 1.390 sec<br />
audio bytes: 122600<br />
audio packets: 61300<br />
audio 61300 valid frames + 0 priming + 0 remainder = 61300<br />
bit rate: 705600 bits per second<br />
packet size upper bound: 2<br />
audio data file offset: 4096<br />
optimized<br />
sound check:<br />
    approximate duration in seconds          1.39<br />
&#8212;-</p>
<p>When it plays it sounds all garbled coming out of the simulator.  Is it  the sound is too long for a collision hit or could it be something else?  I am using 0.99.4.</p>
<p>Are you thinking about teaching your class again!</p>
<p>Thanks,<br />
Tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ismael Jimoh</title>
		<link>http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial#comment-7709</link>
		<dc:creator>Ismael Jimoh</dc:creator>
		<pubDate>Tue, 14 Dec 2010 11:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=352#comment-7709</guid>
		<description>Sorry what I meant is in a game where the player has various abilities.

Each ability is in the form of a different type of gun so selecting an ability should change the projectile that is fired.

So i am looking to create a method that lets you do just that.</description>
		<content:encoded><![CDATA[<p>Sorry what I meant is in a game where the player has various abilities.</p>
<p>Each ability is in the form of a different type of gun so selecting an ability should change the projectile that is fired.</p>
<p>So i am looking to create a method that lets you do just that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray Wenderlich</title>
		<link>http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial#comment-7629</link>
		<dc:creator>Ray Wenderlich</dc:creator>
		<pubDate>Mon, 13 Dec 2010 23:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=352#comment-7629</guid>
		<description>@pppoe, @Stimpy: Thanks!  :]

@Numpol: Glad you got it working!

Just in case someone else reading this has the same question, here&#039;s the answer.  In the latest version of Cocos2D, switch to RootViewController.m, and inside the case for GAME_ROTATION == kGameAutorotationUIViewController, switch the line to say the following:

&lt;pre&gt;
return ( UIInterfaceOrientationIsPortrait( interfaceOrientation ) );
&lt;/pre&gt;

For more information, here&#039;s a good guide on autorotation in the 0.99.5 templates:

http://www.cocos2d-iphone.org/archives/1053

@uday: You sent me an email about this, and I have responded.

@Ismael: This question is far too broad in scope for me to be able to assist you with this.  Please narrow your question down to a specific problem you are having and I may be able to help.</description>
		<content:encoded><![CDATA[<p>@pppoe, @Stimpy: Thanks!  :]</p>
<p>@Numpol: Glad you got it working!</p>
<p>Just in case someone else reading this has the same question, here&#8217;s the answer.  In the latest version of Cocos2D, switch to RootViewController.m, and inside the case for GAME_ROTATION == kGameAutorotationUIViewController, switch the line to say the following:</p>
<pre>
return ( UIInterfaceOrientationIsPortrait( interfaceOrientation ) );
</pre>
<p>For more information, here&#8217;s a good guide on autorotation in the 0.99.5 templates:</p>
<p><a href="http://www.cocos2d-iphone.org/archives/1053" rel="nofollow">http://www.cocos2d-iphone.org/archives/1053</a></p>
<p>@uday: You sent me an email about this, and I have responded.</p>
<p>@Ismael: This question is far too broad in scope for me to be able to assist you with this.  Please narrow your question down to a specific problem you are having and I may be able to help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

