The Burba Blog Rotating Header Image

Learning Cocos2d and Objective-C

I’ve recently switched gears from the That’s a Comic! project to the iPhone game project.

I will be using Cocos2D for most of the heavy lifting. This is also my first foray into Objective-C and a triumphant return to a C based language after years of not touching C or C++.

Here’s a fairly comprehensive list of sites to browse through before/while undertaking a Cocos2D iPhone game project:

Cocos2d iPhone API Reference:
http://www.cocos2d-iphone.org/api-ref/latest-stable/annotated.html
Great tutorials and lists:
http://kwigbo.com/
http://www.bit-101.com/blog/?p=2138
http://iphonedev.net/
http://www.alexcurylo.com/blog/2009/05/16/resources-cocos2d/
http://morethanmachine.com/macdev/?tag=cocos2d
http://silentmac.com/?tag=cocos
http://vinc456.wikidot.com/cocos2d
Touch Event Handler:
http://permadi.com/blog/2009/06/cocos2d-adding-handler-to-touch-events/
Overview of Cocos2d (a little old but still good):
http://lethain.com/entry/2008/oct/03/notes-on-cocos2d-iphone-development/
Moving a Sprite:
http://iphonedev.net/2009/05/10/cocos2d-example-move-sprite/
Coloring Sprites:
http://lukehatcher.com/post/449164972/coloring-sprites-with-cocos2d-iphone
Objective-C Memory Management:
http://www.bit-101.com/blog/?p=2233
Great Beginner Forum Post:
http://www.cocos2d-iphone.org/forum/topic/737
iPhone Custom Made Sound Manager:
http://www.71squared.com/2010/01/latest-sound-manager-class/
How to fix iPhone Signing Errors:
http://www.codza.com/how-to-fix-iphone-code-signing-errors
Game Examples:
http://codaset.com/lhunath/deblock
http://wiki.github.com/lhunath/Gorillas/
http://code.google.com/p/grabbed/
http://kwigbo.com/post/335053103/pusher-source-code
http://ortatherox.com/thrown/
http://www.ortatherox.com/site/
http://github.com/haqu/tweejump
Sound Effect Libraries:
http://www.grsites.com/archive/sounds/
Objective-C Docs:
http://www.cocoadevcentral.com/

Saving State in Cocos2d:
http://www.cocos2d-iphone.org/forum/topic/737#post-8224

Box2d: extending b2ContactFilter and b2ContactListener:
http://blog.xyris.ca/?tag=box2d

Box2d Reference and Tutorial (C++):
http://www.box2d.org/manual.html#_Toc258082967

Cocos2d iPhone API Reference:
http://www.cocos2d-iphone.org/api-ref/latest-stable/annotated.html

Cocos2d iPhone Google Code Page:
http://code.google.com/p/cocos2d-iphone/

Chipmunk API Reference:
http://code.google.com/p/chipmunk-physics/wiki/cpShape

Using Chipmink ONLY for collision detection:
http://www.cocos2d-iphone.org/forum/topic/577

Chipmunk 5.0 New Collision Detection Function:
http://www.cocos2d-iphone.org/forum/topic/3996

Vector Dot Products:
http://www.algebralab.org/lessons/lesson.aspx?file=Trigonometry_TrigVectorDotProd.xml

Easing Actions in and out:
http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:actions_ease

Using CCCallFunc with parameters:
http://www.cocos2d-iphone.org/forum/topic/721

Cocos2d iPhone Best Practices:
http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:best_practices

Great tutorials and lists:
http://kwigbo.com/
http://www.bit-101.com/blog/?p=2138
http://iphonedev.net/
http://www.alexcurylo.com/blog/2009/05/16/resources-cocos2d/
http://morethanmachine.com/macdev/?tag=cocos2d
http://silentmac.com/?tag=cocos
http://vinc456.wikidot.com/cocos2d

Touch Event Handler:
http://lethain.com/entry/2008/oct/20/touch-detection-in-cocos2d-iphone/
http://permadi.com/blog/2009/06/cocos2d-adding-handler-to-touch-events/

Overview of Cocos2d (a little old but still good):
http://lethain.com/entry/2008/oct/03/notes-on-cocos2d-iphone-development/

Moving a Sprite:
http://iphonedev.net/2009/05/10/cocos2d-example-move-sprite/

Coloring Sprites:
http://lukehatcher.com/post/449164972/coloring-sprites-with-cocos2d-iphone

Objective-C Memory Management:
http://www.bit-101.com/blog/?p=2233

Great Beginner Forum Post:
http://www.cocos2d-iphone.org/forum/topic/737

iPhone Custom Made Sound Manager:
http://www.71squared.com/2010/01/latest-sound-manager-class/

How to fix iPhone Signing Errors:
http://www.codza.com/how-to-fix-iphone-code-signing-errors

Game Examples:
http://codaset.com/lhunath/deblock
http://wiki.github.com/lhunath/Gorillas/
http://code.google.com/p/grabbed/
http://kwigbo.com/post/335053103/pusher-source-code
http://ortatherox.com/thrown/
http://www.ortatherox.com/site/
http://github.com/haqu/tweejump

Sound Effect Libraries:
http://www.grsites.com/archive/sounds/

Objective-C Docs:
http://www.cocoadevcentral.com/

Optimizing Texture Loading in Cocos2d:
http://allseeing-i.com/Performance-tips-for-Cocos2d-for-iPhone

  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Add to favorites
  • blogmarks
  • Blogosphere News
  • MySpace
  • PDF
  • RSS
  • Twitter

2 Comments

  1. earlystar says:

    is there any AI tutorial for iPhone Game Programming or cocos2d tutorial?

    1. Nathan Burba says:

      Chapter 7 of “Cocos2d for iPhone 1 Game Development Cookbook” is the AI and Logic chapter. This mainly deals with pathfinding and Lua scripting: http://cocos2dcookbook.com/explore-the-book/chapter-7-ai-and-logic/

Leave a Reply