<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<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">
	<channel>
		<title>cocos2d for iPhone &#187; Topic: Are people aware cocos2d comes with example code?</title>
		<link>http://www.cocos2d-iphone.org/forum/topic/1564</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 01:38:40 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.cocos2d-iphone.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.cocos2d-iphone.org/forum/rss/topic/1564" rel="self" type="application/rss+xml" />

		<item>
			<title>riq on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564/page/2#post-11369</link>
			<pubDate>Fri, 11 Sep 2009 21:33:42 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">11369@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>updated welcome message:<br />
<a href="http://www.cocos2d-iphone.org/forum/topic/3" rel="nofollow">http://www.cocos2d-iphone.org/forum/topic/3</a>
</p></description>
		</item>
		<item>
			<title>abitofcode on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564/page/2#post-10450</link>
			<pubDate>Wed, 02 Sep 2009 16:30:33 +0000</pubDate>
			<dc:creator>abitofcode</dc:creator>
			<guid isPermaLink="false">10450@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Magic, it makes sense putting it in the welcome post. Hopefully should give all of us new to cocos2D and Objective C a push in the right direction, and help avoid rubbing community members up the wrong way.</p>
<p>Good luck with pyweek :D
</p></description>
		</item>
		<item>
			<title>riq on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564/page/2#post-10427</link>
			<pubDate>Wed, 02 Sep 2009 13:55:13 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">10427@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I will edit this post:<br />
<a href="http://www.cocos2d-iphone.org/forum/topic/3" rel="nofollow">http://www.cocos2d-iphone.org/forum/topic/3</a></p>
<p>with @<a href='http://www.cocos2d-iphone.org/forum/profile/1222'>abitofcode</a>'s + @<a href='http://www.cocos2d-iphone.org/forum/profile/208'>clain</a>'s suggestions.</p>
<p>Probably I'm going to do it next week.</p>
<p>Offtopic:<br />
This week I'm rather busy participating on pyweek (<a href="http://www.pyweek.org" rel="nofollow">http://www.pyweek.org</a>).<br />
If I manage to finish the game (python), then I'll port it cocos2d+box2d (iphone)
</p></description>
		</item>
		<item>
			<title>Clain on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564/page/2#post-10180</link>
			<pubDate>Mon, 31 Aug 2009 22:25:36 +0000</pubDate>
			<dc:creator>Clain</dc:creator>
			<guid isPermaLink="false">10180@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/1222'>abitofcode</a> :<br />
We had different objectives in mind. As you said, you wanted to present links to existing resources. On my side, I wanted to establish a checklist to avoid "stupid" or "awkward" posts. I don't think it's incompatible. You can have your above post (I'd add "Should I retain/release my variable ?" just after the "I'm having a bit of a problem with Objective C?" section). And in the "Posting your article" section (which I'd rename "Posting your message"), you can add the following :<br />
- search the forum, your question may have been answered already<br />
- if you have an error, provide the error message<br />
- use markup (html style) to format your message. Allowed markup : blah blah<br />
- it will be easier for other members to help you if you post your code that is not working. Try to post only the smallest piece of code that triggers the error. Put code in between backtick ( ` ) characters so it's more readable on the forum.<br />
- use the EDIT button to edit your post (available for a few hours) instead of posting after yourself<br />
- don't post your question in more than one thread<br />
- the cocos forum is divided into several subforums, be sure to select the appropriate one when creating a new thread<br />
- don't bump your thread after 4 or 5 hours. Wait at least 24 hours</p>
<p>There's probably a few more things that can be added but that's all I can think of for the moment.
</p></description>
		</item>
		<item>
			<title>Codemattic on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564/page/2#post-10158</link>
			<pubDate>Mon, 31 Aug 2009 19:10:41 +0000</pubDate>
			<dc:creator>Codemattic</dc:creator>
			<guid isPermaLink="false">10158@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I actually dont mind basic newb questions.  What I hate are badly thought-out questions.  Questions where the poster doesnt give you nearly enough information to understand what they want and what is going wrong.  People who post that they are getting an error w/o specifying what the error is.  People who ask why some vaguely defined problem isnt working for them.  People who post a line of code where they *think* the problem is when its really buried deep within their code elsewhere.</p>
<p>That said - I realize that for many posters here English isnt their first language, for many its their 2nd or 3rd, and Im amazed how well many people are able to communicate.  And how poorly I would do posting my questions in another language.
</p></description>
		</item>
		<item>
			<title>abitofcode on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564/page/2#post-10152</link>
			<pubDate>Mon, 31 Aug 2009 18:39:40 +0000</pubDate>
			<dc:creator>abitofcode</dc:creator>
			<guid isPermaLink="false">10152@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Taking Clains point on board I've added a bit more markup to try and avoid it looking like an article and more like an FAQ with some decent resource links. Maybe the title could do with some work as well. The Wiki is ideally the permanent home for this information, this is really a last attempt to get new users thinking about their post.</p>
<p><strong>Before you make your first post</strong></p>
<p>Welcome to the cocos2D forum, in order to make your visit pleasant and productive please read through the following, it should also help you avoid getting on the wrong side of the community members ;)</p>
<p><strong><em>Is there any example code?</em></strong><br />
Cocos2D comes with a set of demo's (you may have cut these away if you followed the Monocle studios tutorial). Look through the example code included in the cocos2D distribution you are working in, the sample code is updated along with the distribution so what may have worked in version 0.7 may not be relevant for version 0.8.1.<br />
The following tip from the Wiki may help you get up and running with the examples.</p>
<p>1. Open the cocos2d xcode project<br />
2. Click: Xcode → View → Customize toolbar<br />
3. Then, drag Active Target and Active Executable to your top project tool bar.<br />
4. Select the test you want to view in both drop downs and hit Build and Go</p>
<p>There are also a number of open source games out there complete with source code available for study.<br />
<a href="http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:sample_games" rel="nofollow">http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:sample_games</a></p>
<p><strong><em>How do I start writing a game in cocos2D?</em></strong><br />
Try <a href="http://www.apress.com/book/view/1430219688">iPhone Games Projects</a> (Apress) there is a bonus chapter by Jamie Gotch available from the website along with the source code. This chapter covers building a blocks game in cocos2D. </p>
<p><strong><em>I'm having a bit of a problem with Objective C?</em></strong><br />
This is not an Objective C forum, though it can be hard some times to differentiate between which bits are part of which Framework. Try the following book;<br />
<a href="http://www.apress.com/book/view/1430218150">Learn objective C on the mac - Mark Dalrymple &#38; Scott Knaster</a> (Apress) </p>
<p><strong><em>I'm having problems with cocos2D 'methodXYZ'</em></strong><br />
Have you looked at the cocos2D api documentation, Riq has put up an article showing how to integrate the cocos2D api documentation alongside the Xcode documentation here Integrating cocos2d API reference into XCode <a href="http://www.cocos2d-iphone.org/archives/358" rel="nofollow">http://www.cocos2d-iphone.org/archives/358</a></p>
<p><strong><em>Is there a programming guide?</em></strong><br />
Yep, its at <a href="http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:index" rel="nofollow">http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:index</a> </p>
<p><strong><em>Things you wish you knew when you first started with cocos2d</em></strong><br />
A particularly interesting thread pointing to a number of resources and Gotcha's <a href="http://www.cocos2d-iphone.org/forum/topic/737#post-4405" rel="nofollow">http://www.cocos2d-iphone.org/forum/topic/737#post-4405</a></p>
<p><strong><em>Posting your article</em></strong><br />
Once you've researched your question and are ready to post it remember to use the correct markup.<br />
Allowed markup: a blockquote code em strong ul ol li img object param embed. Please put code in between backtick ( ` ) characters.</p>
<p><strong>** Community members are much more likely to respond in a positive and helpful fashion if they can see you have had a go, it may help if you post the bits of code that you are having problems with.**</strong>
</p></description>
		</item>
		<item>
			<title>abitofcode on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564/page/2#post-10151</link>
			<pubDate>Mon, 31 Aug 2009 18:34:17 +0000</pubDate>
			<dc:creator>abitofcode</dc:creator>
			<guid isPermaLink="false">10151@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/208'>clain</a> I agree with the length thing but I think the easiest way to lose someones attention is a list of rules. It was really an attempt to put links to the resources that already exist in and around the forum up in front of new users, and help guide them to think about what they are actually asking.</p>
<p>Maybe the main headings could be a bit more obvious;</p>
<p><strong>********** GET YER FREE SOURCE CODE HERE ************</strong></p>
<p>etc ;)
</p></description>
		</item>
		<item>
			<title>Clain on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564/page/2#post-10139</link>
			<pubDate>Mon, 31 Aug 2009 16:44:32 +0000</pubDate>
			<dc:creator>Clain</dc:creator>
			<guid isPermaLink="false">10139@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I think abitofcode's message is too long and people don't read long messages. I was thinking of having a sticky thread with several messages in it. The first post would be the general rules, something like :<br />
1) blah blah<br />
2) blah blah<br />
3) blah blah<br />
...<br />
10) blah blah</p>
<p>And for rules requiring a bit more explanation, add a link to another post in the same thread. For example :<br />
<strong>Post 1 : (the rules)</strong><br />
1) blah blah (see below [link to post 2])<br />
2) blah blah<br />
3) blah blah (see below [link to post 3])<br />
...</p>
<p><strong>Post 2 :</strong><br />
More info on rule 1...</p>
<p><strong>Post 3 :</strong><br />
More info on rule 3...</p>
<p>Since we can't edit a post after a few hours (as non-moderator members), writing this sticky thread would require to have all the posts ready before posting. What do you think ?
</p></description>
		</item>
		<item>
			<title>riq on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564/page/2#post-10135</link>
			<pubDate>Mon, 31 Aug 2009 16:08:06 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">10135@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/1222'>abitofcode</a>: If you want, post your message in a new thread. I'll make it "sticky".
</p></description>
		</item>
		<item>
			<title>alex on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564/page/2#post-9952</link>
			<pubDate>Sat, 29 Aug 2009 22:09:03 +0000</pubDate>
			<dc:creator>alex</dc:creator>
			<guid isPermaLink="false">9952@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>BTW the bonus chapter of Iphone Games Projects (Apress) can be downloaded for free as a pdf from:<br />
<a href="http://www.apress.com/book/downloadfile/4448" rel="nofollow">http://www.apress.com/book/downloadfile/4448</a></p>
<p>:-)</p>
<p>PS I want to thank everyone for their insight... its been hard learning but so worthwhile :-)</p>
<p>Alex
</p></description>
		</item>
		<item>
			<title>Osiris on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9947</link>
			<pubDate>Sat, 29 Aug 2009 21:22:34 +0000</pubDate>
			<dc:creator>Osiris</dc:creator>
			<guid isPermaLink="false">9947@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@@abit - a Great Start!
</p></description>
		</item>
		<item>
			<title>abitofcode on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9923</link>
			<pubDate>Sat, 29 Aug 2009 16:18:54 +0000</pubDate>
			<dc:creator>abitofcode</dc:creator>
			<guid isPermaLink="false">9923@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/208'>clain</a> I agree with the sticky post idea, the information is already in a number of places through the site but having a single post at the top of the page may help focus on what they are actually asking before they post. I've thrown a bit of text together from the ideas above and a number of other posts, it's a starting point but I wouldn't want it to get to big as it may put people off (BTW I have no connection with Apress I just like these 2 books in particular).</p>
<p><strong>Before you make your first post</strong></p>
<p>Welcome to the cocos2D forum, in order to make your visit pleasant and productive please read through the following, it should also help you avoid getting on the wrong side of the community members ;)</p>
<p><em>How do I start writing a game in cocos2D?</em><br />
Try <a href="http://www.apress.com/book/view/1430219688">iPhone Games Projects</a> (Apress) there is a bonus chapter by Jamie Gotch available from the website along with the source code. This chapter covers building a blocks game in cocos2D. </p>
<p><em>I'm having a bit of a problem with Objective C?</em><br />
This is not an Objective C forum, though it can be hard some times to differentiate between which bits are part of which Framework. Try the following book;<br />
<a href="http://www.apress.com/book/view/1430218150">Learn objective C on the mac - Mark Dalrymple &#38; Scott Knaster</a> (Apress) </p>
<p><em>I’m having problems with cocos2D 'methodXYZ'</em><br />
Have you looked at the cocos2D api documentation, Riq has put up an article showing how to integrate the cocos2D api documentation alongside the Xcode documentation here Integrating cocos2d API reference into XCode <a href="http://www.cocos2d-iphone.org/archives/358" rel="nofollow">http://www.cocos2d-iphone.org/archives/358</a></p>
<p><em>Is there any example code?</em><br />
Cocos2D comes with a set of demo’s (you may have cut these away if you followed the Monocle studios tutorial). Look through the example code included in the cocos2D distribution you are working in, the sample code is updated along with the distribution so what may have worked in version 0.7 may not be relevant for version 0.8.1.<br />
The following tip from the Wiki may help you get up and running with the examples.</p>
<p>1. Open the cocos2d xcode project<br />
2. Click: Xcode → View → Customize toolbar<br />
3. Then, drag Active Target and Active Executable to your top project tool bar.<br />
4. Select the test you want to view in both drop downs and hit Build and Go</p>
<p>There are also a number of open source games out there complete with source code available for study.<br />
<a href="http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:sample_games" rel="nofollow">http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:sample_games</a></p>
<p><em>Is there a programming guide?</em><br />
Yep, its at <a href="http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:index" rel="nofollow">http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:index</a> </p>
<p><em>Things you wish you knew when you first started with cocos2d</em><br />
<a href="http://www.cocos2d-iphone.org/forum/topic/737#post-4405" rel="nofollow">http://www.cocos2d-iphone.org/forum/topic/737#post-4405</a></p>
<p><em>Posting your article</em><br />
Once you've researched your question and are ready to post it remember to use the correct markup.<br />
Allowed markup: a blockquote code em strong ul ol li img object param embed. Please put code in between backtick ( ` ) characters.</p>
<p><strong>Community members are much more likely to respond in a positive and helpful fashion if they can see you have had a go, it may help if you post the bits of code that you are having problems with.</strong>
</p></description>
		</item>
		<item>
			<title>PhilM on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9912</link>
			<pubDate>Sat, 29 Aug 2009 15:00:39 +0000</pubDate>
			<dc:creator>PhilM</dc:creator>
			<guid isPermaLink="false">9912@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I agree in that people should really read a large chunk of the apple docs, and an objective-c book before even attempting to use cocos2d. Its just so much to learn in one go otherwise! </p>
<p>I also went through a mac programming book (as no iphone books existed due to the harsh nda at the time), which helped alot, even if I haven't gone back and done any desktop programming since, it helped me understand the base framework alot better.</p>
<p>I looked at Unity &#38; iTorque when I first started to get into iphone dev, and very stupidly bought iTorque/iTGB based on a demo of their desktop version (no iphone demo was available). Probably the worst purchase I have ever made. It was nothing like the desktop version, and was certainly no 1.0 release, more of a 0.1-alpha! Only then did I discover cocos2d, which even at the early stages had far more usable features, I just wish I could have given that money to riq instead of those scam artists.</p>
<p>Even though there may not be loads of docs yet, theres sooooo many examples showing pretty much every feature, its usually not too hard to figure out what you want, as long as you've done your homework and learned the basics of the language first. Then you've got the great community here to help you out when you do get stuck, as long as your not asking others to code your project for you ; )
</p></description>
		</item>
		<item>
			<title>Osiris on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9911</link>
			<pubDate>Sat, 29 Aug 2009 14:48:16 +0000</pubDate>
			<dc:creator>Osiris</dc:creator>
			<guid isPermaLink="false">9911@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/57254'>Blue</a>, I know Cocos2D is not a "Magic Pill"  -- but it *IS* the sole device that attracted me to programming for the iphone.  You don't have it denigrate everything that has been said here.  The culture shock of just jumping in - IS fairly formidable and it could be improved to help new users - especially since I'm sure we all want this toolkit to continue gaining popularity - and it will I'm sure.</p>
<p>Some people in here have made some very good observations and they should all be taking into consideration.
</p></description>
		</item>
		<item>
			<title>Blue Ether on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9907</link>
			<pubDate>Sat, 29 Aug 2009 14:30:07 +0000</pubDate>
			<dc:creator>Blue Ether</dc:creator>
			<guid isPermaLink="false">9907@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Cocos2D is not a magic pill for "not wanting to develop for the Mac."  Until you embrace it, it will probably continue to be a struggle (and not a noble one either).</p>
<p>Cocos2D documentation is sparse, but I've put up with far worse.  Having just come from Unity I can tell you that their documentation may SEEM better- it's on fancier looking pages and there is more of it.  But there is not nearly enough more relative to the complexity of the product.  There are plenty of useless or missing property descriptions, hidden (but necessary) optimizations, etc.   I'm SO much happier developing for Coco2D.  If the Cocos2D documentation has lapse descriptions (as it frequently does), you can go read the source files yourself any time you want.  Being able to actually check under the hood yourself makes a difference.</p>
<p>Also, if you are confused about general ObjectiveC issues such as the "scary square brackets" then there are many, many books available on the topic.  Apple also has very thorough online documention that I have found quite valuable.  I've only been coding in ObjC for a few months now so I understand the difficulties, but this is a Cocos2D forum- there are plenty of other resources and forums for general Objective C questions.  In my opinion it is not the job of the Cocos2D community to duplicate all of these resources.
</p></description>
		</item>
		<item>
			<title>Osiris on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9899</link>
			<pubDate>Sat, 29 Aug 2009 12:56:15 +0000</pubDate>
			<dc:creator>Osiris</dc:creator>
			<guid isPermaLink="false">9899@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/131'>Steve</a> - "don't bother to keep their examples in synch with the latest cocos2d release which causes even more problems."  </p>
<p>Yes, this is a big problem for us noobs.   We look at these blogs as good examples, follow, copy and tweek the code and then program ourselves right into a hole and come here looking for help.  You old-timers can glance at a piece of code generally and instantly see what is wrong or that such and such worked in 0.63 but was depreciated by 0.71 and removed by 0.80 -- We Can't!</p>
<p>And yes, I have jumped right in with cocos2d.   I really dont want to develop for the Mac, just the iphone and this library makes a lot more sense to me than plain objective-C.  There just has to be ways the discussions and examples can be streamlined for beginners.  Its hard enough as it is without having so much blatantly wrong information in those blogs that leads cocos sheeple down wrong and frustratingly time-consuming paths.</p>
<p>@<a href='http://www.cocos2d-iphone.org/forum/profile/208'>clain</a> - yes I read through the NSInteger help once I knew it existed - thanks!  I am trying to read teh APIs more, but I have to see it in context too to make any sense of it.  I'm middle aged now and wear bifocals.  This doesn't come as easy as it used to.  I've been programming in one sense or another since the CP/M days and Apple II and TRS-80 before that.  I grew up with BASIC, Turbo Pascal, Turbo C, and then I got into MIS Management and had to learn things like Excel, visual basic, SQL PHP, etc... I kinda lost out on the the whole C to C++ migration and just started picking up C# and Python a couple of years ago.    Its the "objectiveness" that is throwing me the most, but its coming.
</p></description>
		</item>
		<item>
			<title>crmagicxxx on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9898</link>
			<pubDate>Sat, 29 Aug 2009 12:33:52 +0000</pubDate>
			<dc:creator>crmagicxxx</dc:creator>
			<guid isPermaLink="false">9898@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>What I see as common mistake is that people come to cocos2d and want to make game without even proper knowledge of objective c. It's like you want to run and you didn't even learn to walk. </p>
<p>I would recommend to everyone to make first app/game without cocos2d. That's the best way to learn objective c. I made my first app in 3 months, didn't know anything about objective c, read tons of manuals, references. Did million of mistakes, corrections. Some Objective C books read 2 times, first time to get familiar, second time to master it. And it wasn't about iPhone at all.</p>
<p>And after that I came to cocos2d. Man that wasn't easy transition, because 3-4 months ago there wasn't almost any documentation for cocos, and for sure not so many people willing to help. It was all about trial and error experience. Now I can't imagine doing anything without cocos :)
</p></description>
		</item>
		<item>
			<title>Clain on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9883</link>
			<pubDate>Sat, 29 Aug 2009 03:23:50 +0000</pubDate>
			<dc:creator>Clain</dc:creator>
			<guid isPermaLink="false">9883@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/727'>Kahless</a> :<br />
Hey man, I wasn't trying to scare the hell out of beginners so they don't ask their <em>silly</em> questions in the forum. Of course you can post your code to get some help. In fact, one of my point was that experienced programmers would be more willing to help a beginner if he posts what he's already read/tried/coded and what specific problems he encounters. I know I'm upset when I see a noob posting a one-line question asking for code doing a specific thing. The funny thing is when I click on their forum profile and see it was their very first post in this forum. If I'm in a good mood, I give a link to another similar post in the forum, but most of the time I just ignore those questions. I wish everybody did the same but sometimes you get <em>aggressive</em> answers... Men just don't know how to live in peace. But I'm sure the moderators would intervene in case the tone gets too angry.</p>
<p>BTW, if you want to post code in this forum, please, use the backtick character (look at the very bottom of this page) and if possible, indent the code (with spaces, because this forum doesn't handle tabs).</p>
<p>Everybody wants a better documentation, but no one wants to write it... Personally, I think it's easier to get what the API does by looking at the source code (reverse-engineering) and the examples. But from a design/concept point of view, it's better to share opinions with others. I'm sure some discussions of this forum ought to be in the wiki. If you read something you think should be mentioned in the doc, don't hesitate to add it to the wiki. Anybody can modify the wiki. We can't always let Riq do all the work.</p>
<p>@<a href='http://www.cocos2d-iphone.org/forum/profile/666'>Osiris</a> :<br />
Did you read this : <a href="http://www.cocos2d-iphone.org/archives/358" rel="nofollow">http://www.cocos2d-iphone.org/archives/358</a><br />
Are you OK with NSInteger and int now ? I think natanavra mistook NSInteger for NSNumber. I'll let you read the doc to see the difference.
</p></description>
		</item>
		<item>
			<title>Steve Oldmeadow on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9882</link>
			<pubDate>Sat, 29 Aug 2009 03:22:04 +0000</pubDate>
			<dc:creator>Steve Oldmeadow</dc:creator>
			<guid isPermaLink="false">9882@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>If you don't like the documentation that comes with cocos2d you can always ask for your money back.</p>
<p>Seriously, if you need to be spoon fed then spend some money and buy Unity, Torque or eventually Game Salad.  </p>
<p>Where would the magical cocos2d documentation come from?  Writing good documentation is very hard and for most developers very tedious.  There is absolutely no way Riq should have to write it, so who is going to step up and write it?  There have been some good blog posts but most bloggers seem to get bored and don't bother to keep their examples in synch with the latest cocos2d release which causes even more problems.</p>
<p>Most people that whine don't know Objective C, it is no wonder cocos2d is hard to understand for them.  It is like trying to read a university text book written in a foreign language when all you have is a 5 year old's comprehension of that language.
</p></description>
		</item>
		<item>
			<title>Osiris on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9879</link>
			<pubDate>Sat, 29 Aug 2009 02:23:12 +0000</pubDate>
			<dc:creator>Osiris</dc:creator>
			<guid isPermaLink="false">9879@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/49'>CJL</a> - thanks, I found it..  Maybe the same thing for cocos2d would be good!
</p></description>
		</item>
		<item>
			<title>Kahless on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9878</link>
			<pubDate>Sat, 29 Aug 2009 02:09:03 +0000</pubDate>
			<dc:creator>Kahless</dc:creator>
			<guid isPermaLink="false">9878@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/666'>Osiris</a>:<br />
You bring up some great points, man I would kill for a cocos2d manual, Or even just a document with a slightly more detailed explanation of cocos instructions just like the one under the existing programming guide, just bigger.</p>
<p>@<a href='http://www.cocos2d-iphone.org/forum/profile/642'>Natanavra</a>:<br />
You have helped me with a number of problems that i can't thank you enough for, i have learned a number of things from your assistance.</p>
<p>@<a href='http://www.cocos2d-iphone.org/forum/profile/208'>Clain</a>:<br />
Speaking from a beginner forum users point of view is it bad form to post a snippet of your code and ask where it may be failing? I personally learn a lot when someone shows me what i am doing wrong.</p>
<p>Before I asked my first question here i was a bit apprehensive because i had seen how abrasive(just mildly) some experienced programmers could be when answering questions, I for one only come here and ask as a last resort after exhausting every example, cocos forum post or relevant googled cocos reference i can find. If someone does not answer my question it is fine, there might not be anyone on that knows or they are busy or they just think i'm a lazy noob begging for code, thats all fine i see it as a privilege that i can ask at all and maybe get an answer, no one is obliged to answer.</p>
<p>But surely there must be a place for beginners to ask questions as silly and misguided as we are, perhaps the forums needs a beginners questions section or maybe cocos needs some better documentation, you could look at every piece of detailed documentation you write as one less question you have to answer.<br />
Oh and I have read a number of your posts and I always find them educational Clain, you are a wealth of knowledge!
</p></description>
		</item>
		<item>
			<title>cjl on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9876</link>
			<pubDate>Sat, 29 Aug 2009 02:03:52 +0000</pubDate>
			<dc:creator>cjl</dc:creator>
			<guid isPermaLink="false">9876@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/666'>Osiris</a> </p>
<p>You need to search the developer documentation built in to Xcode. You may need to 'subscribe' to download all the relevant documentation.
</p></description>
		</item>
		<item>
			<title>Osiris on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9874</link>
			<pubDate>Sat, 29 Aug 2009 01:58:22 +0000</pubDate>
			<dc:creator>Osiris</dc:creator>
			<guid isPermaLink="false">9874@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/208'>Clain</a>, what am I wrong about?   I just typed "NSInteger" in Xcode's help and go no responses.</p>
<p>I agree Clain with not giving direct code, but facilitating the discovery of the information through reading and discussion.
</p></description>
		</item>
		<item>
			<title>Clain on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9869</link>
			<pubDate>Fri, 28 Aug 2009 23:36:10 +0000</pubDate>
			<dc:creator>Clain</dc:creator>
			<guid isPermaLink="false">9869@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I don't want to sound harsh but when we say "RTFM", it also includes the documentation. For example, you can open Xcode's documentation, type "NSInteger" in the search field and see what comes out. Actually, I urge you to do so because you're wrong.</p>
<p>@<a href='http://www.cocos2d-iphone.org/forum/profile/642'>natanavra</a> :<br />
I can see why you think you become a better person by helping people. But, in most cases, giving ready-to-paste code to beginners is not helping them. You know the proverb : "Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime."<br />
Of course, it's a bit of a cliché, but true somehow. Giving code is helping them achieve their immediate goal. But they won't understand/be able to redo it. Trying and failing are parts of the learning process. So are reading the f*ing manual and searching through the doc.</p>
<p>We all know it sucks to be a beginner, we've all been there. And there's no secret, if you don't want to be a beginner anymore, you have to work. That's why I prefer to explain things and show the way instead of giving code away. My personal reason for being present and helping in this forum is to give back to the cocos community.
</p></description>
		</item>
		<item>
			<title>Osiris on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9861</link>
			<pubDate>Fri, 28 Aug 2009 21:03:23 +0000</pubDate>
			<dc:creator>Osiris</dc:creator>
			<guid isPermaLink="false">9861@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I know what the difference is now - kinda...   but it would still be cool for there to be a quick reference on why one would be preferred over the other.  I currently have a mixture in my current project and If I knew there was a good reason why, I would take the time to switch them all over to NSInteger.
</p></description>
		</item>
		<item>
			<title>natanavra on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9849</link>
			<pubDate>Fri, 28 Aug 2009 19:35:18 +0000</pubDate>
			<dc:creator>natanavra</dc:creator>
			<guid isPermaLink="false">9849@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/666'>Osiris</a> about NSInteger and int, NSInteger I think it's pure obj-C type, and int is a global type or something like that... just a thought.</p>
<p>But I do agree with having a code archive... or something like that.
</p></description>
		</item>
		<item>
			<title>Osiris on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9848</link>
			<pubDate>Fri, 28 Aug 2009 19:32:51 +0000</pubDate>
			<dc:creator>Osiris</dc:creator>
			<guid isPermaLink="false">9848@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>maybe have a library of code snippets in here...</p>
<p>one of the main perplexing things for me still is the all the square-bracketisms and what parameters are appropriate when.</p>
<p>and things like why it might be appropriate to use NSInteger instead of int, etc....</p>
<p>Even things like traversing an NSMutablyArray - not something you learn in non-objectized languages.
</p></description>
		</item>
		<item>
			<title>natanavra on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9845</link>
			<pubDate>Fri, 28 Aug 2009 19:16:01 +0000</pubDate>
			<dc:creator>natanavra</dc:creator>
			<guid isPermaLink="false">9845@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Wow, I'm happy I'm noticed here lol...<br />
I think you people are pretty much right, beginners should try some stuff themselves and not come here asking for code and letting us do the dirty work for them. Although I help people out when I can, trying to be a better person, acting like my father.</p>
<p>I agree with Clain, we should have some very basic rules for this forum, and we should have a close thread system or "trash can" section, so we could "punish" topics that don't fit to these basic rules.</p>
<p>I'm a totally newbie myself, started programming (first time ever) a few months ago. Saw Cocos mentioned somewhere a few times, but decided not to dive into it... finally, I decided to try it out about a month ago, getting better with time, learning. That's what we should all do, research and learn... life is all about learning and striving for knowledge.</p>
<p>Hope this post gives some motivation for people who read it.
</p></description>
		</item>
		<item>
			<title>Clain on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9839</link>
			<pubDate>Fri, 28 Aug 2009 18:01:18 +0000</pubDate>
			<dc:creator>Clain</dc:creator>
			<guid isPermaLink="false">9839@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I agree with what you said about some beginners asking for code (I call them <strong>beg</strong>inners :p). This is close to what I said in this post I made a few weeks ago : <a href="http://www.cocos2d-iphone.org/forum/topic/737#post-7241" rel="nofollow">http://www.cocos2d-iphone.org/forum/topic/737#post-7241</a></p>
<p>And I agree with jd too, about ignoring annoying beginners. That's what I do. Sometimes I can't help but think <a href="http://www.cocos2d-iphone.org/forum/profile/642">natanavra</a> is being too kind with them, But maybe it's good for the "balance" of this forum to have people like him.</p>
<p>I remember this discussion about beginners already took place months ago in the old google forum. And I remember someone posted a link to a unix mailing-list message where the same thing occurred (lots of beginners asking for code, "veterans" being frustrated, etc). This phenomenon seems to happen on every dev forum. And the message on the unix list said they ended up having a series of rules before posting a message (like, "rtfm", "show what you tried before asking for code", etc). It would be worth having a sticky post with "rules" in this forum. We could also explain how to post code with backtick, how to use markup, how to edit posts or where to find code examples.
</p></description>
		</item>
		<item>
			<title>jd on "Are people aware cocos2d comes with example code?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1564#post-9833</link>
			<pubDate>Fri, 28 Aug 2009 17:15:44 +0000</pubDate>
			<dc:creator>jd</dc:creator>
			<guid isPermaLink="false">9833@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I would think at least 75% of people coming to this forum are new to objective-c and to iphone development in general.  A percentage of those are used to languages that have garbage cleanup.  Then they have to get used to cocos2d which doesn't have good documentation but does have many examples.  It's a daunting task and when an error comes up, they don't know if it's a syntax issue, memory issue or cocos2d issue.  </p>
<p>I read Programming in Objective-C 2.0 and did most of the Stanford videos before even downloading the Iphone SDK.  I went through the cocos2d examples.  I've been programming for over 15 years in various languages.  While cocos2d does make many things easy, it's still difficult to understand at times.</p>
<p>The more exposure cocos2d gets, more "give me code" posts will show up. At the same time, very smart contributors will also arrive and make cocos2d and the community better.</p>
<p>Being rude to somebody on this forum is wrong no matter what unless that person is blatantly being annoying.  If a beginner is frustrating you then just don't post.  It can't be that difficult not to hit the post button.
</p></description>
		</item>

	</channel>
</rss>

