Tuesday, January 26, 2010

Eclipse, Pydev and Cocos2D

Assume that you already have running Eclipse with Pydev plugins.
Just config the Pydev to see the Cocos2D path...

Eclipse: Window -> Preferences -> Pydev -> Interpreter - Python

At Libraries tab, just add a new folder to System Libs (PYTHONPATH).
- Click "New Folder"
- Browse to home path of cocos2d, in my case is "D:\cocos2d-0.3.0". ***NOT THE "D:\cocos2d-0.3.0\cocos" I MISSED A HOUR WITH THIS***
- Click "Ok" and the "Apply"
You are now ready for using cocos2d under Eclipse Pydev.

Labels: , ,