Free Source Code

On April 17, 2010, in , by Steffen Itterheim

Download the free source code for cocos2d from my Codaset git repository: free cocos2d-iphone Source Code Collection or click on the Codaset image.


I maintain a repository of commonly useful cocos2d free source code, most of which i obtained from other developer’s blog posts (see backlinks in the code). As you may be well aware, most blogger’s code doesn’t even work out of the box. Often it is untested and still contains terrible bugs like memory leaks or crashes that only happen when you really put the code to the test. In other cases the code was simply never updated to work with the latest version of the cocos2d game engine or the iPhone SDK, leaving it in a broken state.

While i can not guarantee bug-free code that always works i did use all of this code in published Apps and continue to maintain the codebase. You may find some work-in-progress but i try to clearly mark it as such. I then decided to host my collection of free source code for cocos2d-iphone on Codaset so anyone can grab it from there. You can join Codaset for free and you are welcome to make changes, additions and bugfixes to this codebase as you see fit! If you add other developer’s code please add a comment crediting the original author and add a link to the blog post or article where you obtained the code from.

Please report bugs as Tickets on Codaset, do not post bug reports in comments, thank you.

Tagged with: