<?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 Crocodella Software</title>
	<atom:link href="http://www.crocodella.com.br/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crocodella.com.br</link>
	<description>Fun mobile apps and games done right!</description>
	<lastBuildDate>Wed, 22 Feb 2012 04:17:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on RPG-like text box with Cocos2D by Steve</title>
		<link>http://www.crocodella.com.br/2011/01/rpg-like-text-box-with-cocos2d/#comment-2011</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 22 Feb 2012 04:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.crocodella.com.br/?p=305#comment-2011</guid>
		<description>Oh, sorry! I didn&#039;t understand your solution below at first, but now I&#039;ve got it! I know how to continue. Thanks again!!</description>
		<content:encoded><![CDATA[<p>Oh, sorry! I didn&#8217;t understand your solution below at first, but now I&#8217;ve got it! I know how to continue. Thanks again!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RPG-like text box with Cocos2D by Steve</title>
		<link>http://www.crocodella.com.br/2011/01/rpg-like-text-box-with-cocos2d/#comment-2010</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 22 Feb 2012 03:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.crocodella.com.br/?p=305#comment-2010</guid>
		<description>Hi Fabio, thanks for the tutorial! It&#039;s amazing!
I just have a few questions to get it working the way I need:

&quot;you register the command and the index at which it occurred&quot;
How exactly do you know the index at which it occurred?

&quot;inside the update method, you would check if “i” is equal to any of the indices in that array&quot;
Are we checking for &quot;i&quot; or &quot;i+offset&quot;?

Thanks a bunch!</description>
		<content:encoded><![CDATA[<p>Hi Fabio, thanks for the tutorial! It&#8217;s amazing!<br />
I just have a few questions to get it working the way I need:</p>
<p>&#8220;you register the command and the index at which it occurred&#8221;<br />
How exactly do you know the index at which it occurred?</p>
<p>&#8220;inside the update method, you would check if “i” is equal to any of the indices in that array&#8221;<br />
Are we checking for &#8220;i&#8221; or &#8220;i+offset&#8221;?</p>
<p>Thanks a bunch!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Positional audio with cocos2d and CocosDenshion by cocos2d A-Go-Go &#171; Under The Bridge</title>
		<link>http://www.crocodella.com.br/2011/05/positional-audio-with-cocos2d-and-cocosdenshion/#comment-2007</link>
		<dc:creator>cocos2d A-Go-Go &#171; Under The Bridge</dc:creator>
		<pubDate>Sun, 29 Jan 2012 20:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.crocodella.com.br/?p=416#comment-2007</guid>
		<description>[...] Positional audio with cocos2d and CocosDenshion [...]</description>
		<content:encoded><![CDATA[<p>[...] Positional audio with cocos2d and CocosDenshion [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Leveraging cocos2d actions for cutscenes by cocos2d A-Go-Go &#171; Under The Bridge</title>
		<link>http://www.crocodella.com.br/2011/05/leveraging-cocos2d-actions-for-cutscenes/#comment-2006</link>
		<dc:creator>cocos2d A-Go-Go &#171; Under The Bridge</dc:creator>
		<pubDate>Sun, 29 Jan 2012 20:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.crocodella.com.br/?p=391#comment-2006</guid>
		<description>[...] Leveraging cocos2d actions for cutscenes provides a work-in-progress cutscene editor. [...]</description>
		<content:encoded><![CDATA[<p>[...] Leveraging cocos2d actions for cutscenes provides a work-in-progress cutscene editor. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RPG-like text box with Cocos2D by John</title>
		<link>http://www.crocodella.com.br/2011/01/rpg-like-text-box-with-cocos2d/#comment-2005</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 18 Jan 2012 03:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.crocodella.com.br/?p=305#comment-2005</guid>
		<description>Thank you! that worked perfectly! I really appreciate the help that you&#039;ve given me. Thank you so much!</description>
		<content:encoded><![CDATA[<p>Thank you! that worked perfectly! I really appreciate the help that you&#8217;ve given me. Thank you so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RPG-like text box with Cocos2D by Fabio Rodella</title>
		<link>http://www.crocodella.com.br/2011/01/rpg-like-text-box-with-cocos2d/#comment-2004</link>
		<dc:creator>Fabio Rodella</dc:creator>
		<pubDate>Mon, 16 Jan 2012 18:33:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.crocodella.com.br/?p=305#comment-2004</guid>
		<description>John, I started working on a code sample for this method I described, but realized it is actually a lot less trivial than I initially thought, sorry. Therefore I&#039;ll suggest you a new approach: you can keep the code as you had in your first comment, and do this:
&lt;ul&gt;
        &lt;li&gt;Make a list of all the special characters you want to treat, and look up their ASCII code &lt;a href=&quot;http://www.asciitable.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; (for example, @ = 64)&lt;/li&gt;
	&lt;li&gt;Open your .fnt file (in this sample, arial16.fnt) in a text editor or XCode itself. Find the line that starts with &quot;char id=&lt;your code&gt;&quot; and set all values to zero&lt;/li&gt;
	&lt;li&gt;If the character code you want is not on the file, create a new line (don&#039;t forget to increase the value of &quot;chars count=&quot;)&lt;/li&gt;
&lt;/ul&gt;
With that, you&#039;ll still be able to check for the special characters as you were doing, but they will not appear on your text. This method has a few drawbacks, such as being less flexible (your commands have to be single characters, and cannot appear in normal text) and if your ever need to update or change your font you will need to perform these steps again for the new file. If I ever come around to implementing this in a better way I&#039;ll update the code sample and let you know. Hope this helps!</description>
		<content:encoded><![CDATA[<p>John, I started working on a code sample for this method I described, but realized it is actually a lot less trivial than I initially thought, sorry. Therefore I&#8217;ll suggest you a new approach: you can keep the code as you had in your first comment, and do this:</p>
<ul>
<li>Make a list of all the special characters you want to treat, and look up their ASCII code <a href="http://www.asciitable.com/" target="_blank" rel="nofollow">here</a> (for example, @ = 64)</li>
<li>Open your .fnt file (in this sample, arial16.fnt) in a text editor or XCode itself. Find the line that starts with &#8220;char id=<your code>&#8221; and set all values to zero</your></li>
<li>If the character code you want is not on the file, create a new line (don&#8217;t forget to increase the value of &#8220;chars count=&#8221;)</li>
</ul>
<p>With that, you&#8217;ll still be able to check for the special characters as you were doing, but they will not appear on your text. This method has a few drawbacks, such as being less flexible (your commands have to be single characters, and cannot appear in normal text) and if your ever need to update or change your font you will need to perform these steps again for the new file. If I ever come around to implementing this in a better way I&#8217;ll update the code sample and let you know. Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RPG-like text box with Cocos2D by John</title>
		<link>http://www.crocodella.com.br/2011/01/rpg-like-text-box-with-cocos2d/#comment-2001</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 15 Jan 2012 01:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.crocodella.com.br/?p=305#comment-2001</guid>
		<description>&quot;you would check to see if the current word is one of your control strings.&quot;

I understand what you mean by this, but I&#039;m not exactly sure how to about coding this. I tried messing around with different things, but I couldn&#039;t get any successful results. Do you think you could explain this bit to me?</description>
		<content:encoded><![CDATA[<p>&#8220;you would check to see if the current word is one of your control strings.&#8221;</p>
<p>I understand what you mean by this, but I&#8217;m not exactly sure how to about coding this. I tried messing around with different things, but I couldn&#8217;t get any successful results. Do you think you could explain this bit to me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Positional audio with cocos2d and CocosDenshion by Fabio Rodella</title>
		<link>http://www.crocodella.com.br/2011/05/positional-audio-with-cocos2d-and-cocosdenshion/#comment-2000</link>
		<dc:creator>Fabio Rodella</dc:creator>
		<pubDate>Thu, 12 Jan 2012 14:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.crocodella.com.br/?p=416#comment-2000</guid>
		<description>I have updated the code on Github to include a new init method which uses SimpleAudioEngine to load an audio file (initWithFile:), and the HelloWorldLayer has also been modified with an option to initialize sounds in the old way or the new way depending on a flag.</description>
		<content:encoded><![CDATA[<p>I have updated the code on Github to include a new init method which uses SimpleAudioEngine to load an audio file (initWithFile:), and the HelloWorldLayer has also been modified with an option to initialize sounds in the old way or the new way depending on a flag.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Positional audio with cocos2d and CocosDenshion by vishesh</title>
		<link>http://www.crocodella.com.br/2011/05/positional-audio-with-cocos2d-and-cocosdenshion/#comment-1999</link>
		<dc:creator>vishesh</dc:creator>
		<pubDate>Thu, 12 Jan 2012 06:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.crocodella.com.br/?p=416#comment-1999</guid>
		<description>how do i use this with simpleaudioengine?

can u please provide a sample project with sae ?</description>
		<content:encoded><![CDATA[<p>how do i use this with simpleaudioengine?</p>
<p>can u please provide a sample project with sae ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RPG-like text box with Cocos2D by Fabio Rodella</title>
		<link>http://www.crocodella.com.br/2011/01/rpg-like-text-box-with-cocos2d/#comment-1998</link>
		<dc:creator>Fabio Rodella</dc:creator>
		<pubDate>Tue, 10 Jan 2012 11:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.crocodella.com.br/?p=305#comment-1998</guid>
		<description>The way this was implemented, all text is set-up on the init method, with the update only being used to display the text, so you would have a hard time changing the text in the update method. What I would suggest is adding control strings to your text as words (&quot;This is normal ˆ this is faster&quot; for example, with spaces before and after your control string), and in the init method, where we are looping through each word (&quot;for (NSString *word in words) {...&quot;) you would check to see if the current word is one of your control strings. If it is, you register the command and the index at which it occurred in a separate array, and skip to the next word. Then, inside the update method, you would check if &quot;i&quot; is equal to any of the indices in that array, and if it is you would apply the corresponding command.
Hope this is clear enough, if it isn&#039;t just tell me and I&#039;ll try to work on a code sample.</description>
		<content:encoded><![CDATA[<p>The way this was implemented, all text is set-up on the init method, with the update only being used to display the text, so you would have a hard time changing the text in the update method. What I would suggest is adding control strings to your text as words (&#8220;This is normal ˆ this is faster&#8221; for example, with spaces before and after your control string), and in the init method, where we are looping through each word (&#8220;for (NSString *word in words) {&#8230;&#8221;) you would check to see if the current word is one of your control strings. If it is, you register the command and the index at which it occurred in a separate array, and skip to the next word. Then, inside the update method, you would check if &#8220;i&#8221; is equal to any of the indices in that array, and if it is you would apply the corresponding command.<br />
Hope this is clear enough, if it isn&#8217;t just tell me and I&#8217;ll try to work on a code sample.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

