-
Notifications
You must be signed in to change notification settings - Fork 240
Adding new Extension
psineur edited this page Jun 6, 2011
·
18 revisions
Thank you for your interest for contributing to cocos2d-iphone-extensions.
Cocos2D Community will never forget you!
These guidelines will help you go down in history of cocos2d community! ;)
- Your extension should be licensed under MIT License: http://www.opensource.org/licenses/mit-license.php
- Your extension should be compatible with latest stable cocos2d source: https://github.com/cocos2d/cocos2d-iphone
- Your extension should have examples, that shows all aspects of it and can be used as tests.
- Try to follow cocos2d develop guidelines - this will increase your karma ;)
You don't need to know Git & use GitHub to add your extension to the cocos2d-iphone-extensions repo.
But this is the best approach how to collaborate with us.
- Switch to the latest 'bleeding edge' version of cocos2d-iphone-extensions:
git clone git@github.com:cocos2d/cocos2d-iphone-extensions.git
cd cocos2d-iphone-extensions
git fetch origin
git checkout -t origin/develop
git submodule update --init
- Create new branch from latest develop state with good describing name.
git checkout -b CCAndroidCollider
- Apply your changes with detailed commit messages and comments. Don't forget that "person who will maintain your code is a maniac serial killer that knows where you live".
- Push your branch to your fork of cocos2d-iphone-extensions. If you still don't have a fork of cocos2d-iphone-extensions - fork it: http://help.github.com/fork-a-repo/
- Send a pull request to develop branch: https://github.com/cocos2d/cocos2d-iphone-extensions/pull/new
//TODO: do