Address: http://www.cocos2d-x.org/wiki/How_to_Debug_Cocos2d-x_Lua_Game_Using_Code_IDE
1. Download cocos code ide
Platform |
Full Test Version |
Download For Global Users |
Download from Chinese CDN |
Mac OS X |
10.9 |
Mac OS X 64 |
Mac OS X 64 |
Windows |
Win7 |
Windows x86 64Bit, Windows x86 32Bit |
Windows x86 64Bit, Windows x86 32Bit |
2. Download the modified cocos2d-x rc0 pay attention to is not the standard package on the official website, but a special modified
Project Type |
Download For Global Users |
Download from Chinese CDN |
Lua |
Lua modified engine |
Lua modified engine |
JavaScript |
JavaScript modified engine |
JavaScript modified engine |
3. Ensure that xcode, java, python2.7, ant, and android sdk/ndk have been installed.
4. Start cocos code ide and set workspace
5. Set the cocos2d engine code location (the engine code package downloaded in step 1)
6. Right-click the cocos explorer to create a project. For the lua selected project, select the js project.
7. Enter the project name
8. Click finish to create a project or set the package name.
9. after you click finish, a project cocosluagame will be created in the workspace directory set in step 1. It should be called the cocos new command... otherwise, how can I install pyhon ant ......
10. Of course, the project you just created is also available under cocos assumer. api.zip is the code prompt package, which is very refreshing .....
10. finally, let's take a look at the bug. We call a pre-compiled app. Other platforms also have pre-compiled exe and APK, that's why we cannot use the official standard package .....
11. You can test other debug startup methods.
Finally, enjoy the code prompt ....