★ TouchArcade needs your help. Click here to support us on Patreon.

Cocos2d tutorials?

06-27-2009, 04:40 AM
#1
Joined: Mar 2009
Location: Singapore
Posts: 1,770
Send a message via AIM to kohjingyu
Cocos2d tutorials?

Hey guys,
Can anyone provide links to cocos2d tutorials? I've tried googling, but the only one I found is the Monocle Studios one. Any good game tutorials out there?
06-27-2009, 04:46 PM
#2
Joined: May 2009
Location: Palmerston North, New Zealand
Posts: 464
Quote:
Originally Posted by froggy1233 View Post
Hey guys,
Can anyone provide links to cocos2d tutorials? I've tried googling, but the only one I found is the Monocle Studios one. Any good game tutorials out there?
I don't think any are provided by the cocos2d team because they're hoping you'll purchase their sapus tongue example game. I don't know of any third party tutorials but I haven't actually looked.

Check out Sheepish, 100+ levels of puzzle fun! With sheep!
And more about us: www.pixelthismobile.com
plus+ id: Newtz

06-27-2009, 09:35 PM
#3
The Monocle Studios one is about it. It is really good for getting started, though. After you finish their basic tutorial, look into some of the open source cocos2d games to figure things out, and examine the example code that is distributed with the library. Look here for more documentation:

http://www.cocos2d-iphone.org/wiki/doku.php/

I really enjoy using this library, so I recommend giving it a try.

Development blog for Wormies, my first iPhone game:
http://wormiesiphone.blogspot.com/
06-27-2009, 10:04 PM
#4
Joined: Mar 2009
Location: Singapore
Posts: 1,770
Send a message via AIM to kohjingyu
Thanks guys! Games like pocket god, stickwars and flight control, they were developed using OpenGL ES I guess?
06-28-2009, 01:54 AM
#5
Quote:
Originally Posted by froggy1233 View Post
Thanks guys! Games like pocket god, stickwars and flight control, they were developed using OpenGL ES I guess?
StickWars was made with cocos2d actually (which is a wrapper around OpenGL ES). Here is the creator's forum post:
http://www.cocos2d-iphone.org/forum/topic/192

Development blog for Wormies, my first iPhone game:
http://wormiesiphone.blogspot.com/
06-28-2009, 06:00 AM
#6
Joined: May 2009
Location: La Coruña, Spain
Posts: 191
The samples included in cocos2d are a very good start for learning.

Also the forum:

http://www.cocos2d-iphone.org/forum

And the blog

http://www.cocos2d-iphone.org

And riq has begun creating a Wiki for a programming manual:

http://www.cocos2d-iphone.org/wiki/doku.php/hello_world

Regards,

Pablo
Scoreloop ID: coolman

My game: GeoRain in the AppStore, July 1st - 0.99$
06-28-2009, 09:01 AM
#7
Joined: Jan 2009
Posts: 22
When I just got started with cocos2d, I followed these basic tutorials:

http://www.bit-101.com/blog/?p=2138
06-28-2009, 09:07 AM
#8
Joined: May 2009
Location: La Coruña, Spain
Posts: 191
Yes, I forgot this ones

Regards,

Pablo
Scoreloop ID: coolman

My game: GeoRain in the AppStore, July 1st - 0.99$
06-29-2009, 07:40 AM
#9
Quote:
Originally Posted by coolman View Post
Yes, I forgot this ones
When starting out building StickWars, the example files that came with cocos2d-iphone pretty much taught me everything as I went. It takes a little while, but trudge through them and you'll get it.
06-29-2009, 08:50 AM
#10
Joined: Feb 2009
Posts: 132
I'd say take cocos2d sources and build your own engine off it. It's trying to be friendly and nice, but you're losing the control over your render (you can't say sprite.Render(x,y), you just throwing it into a list and see what happens), you'll have troubles if you try to make a lot of objects.