Many times when I wanted to create a new Cocos2d-x project in Netbeans, I always forgot the procedure. Thus I decide to write it down for future reference. As of this writing, I'm using
Cocos2d-x 3.1.1 and
Netbeans 8.
Steps:
- Create new project using cocos command.
- In Netbeans, goto File > New Project > C/C++ Project with Existing Sources, then click Next button.
- Under the Specify the folder that contains existing sources field, navigate to the game project's root path created with cocos command.
- Let it build.
A short note, when trying to run the project, there will be a dialog prompt to select an executable. Pick the default selection will do.
No comments:
Post a Comment