[Quick-cocos2d-x Game Development] quick cocos2dx 3.2 most stable version of the Creation Project + sublime debugging run, cocos2d and cocos2dx
Test Environment mac
Quick cocos2dx3.2
Quick cocos2dx 3.2 is almost ready for project creation and use. Let's take a look at the process.
1.The latest quick cocos2dx 3.2 Project Creation, compilation, and running
Latest quick cocos2dx https://github.com/dualface/v3quick/tree/v3quick
1.1 download and configure the project according to README to run player3
1.2 run player3
1.3 create a project open a new project. Currently, the project does not have a mac, but ios can compile and run it directly.
2.How to compile and run in sublime
2.1 because it is impossible to compile and run in xcode every time, this is against the original intention of using lua without compilation.
First, let sumlime directly run our own project and configure a running path.
After setting, cmb + B can run.
2.2 read the code in appdelegate.cpp. load the quick framework from a framework.zip file, which is not conducive to code debugging. We copy the $ (QUICK_COCOS2D_X)/quick/framework directory to the same directory of the current project and src/app, then add the-disable-load-framework running parameter to debug_mac.sh, so that when the game is started, the quick file will be loaded from the framework in the same directory of our app, at the end of the release, delete the parameter-disable-load-framework and framework directories. This operation allows you to conveniently view and debug quick code during development.
3. sublime code prompts that only 2.2.4 still has 3.2 of wood, but it is enough. When martial arts reaches a certain level, it will return to the original truth.
Code prompt view connection: [one of quick-cocos2d-x Game Development] development tool sublime text and its powerful plug-in QuickXDev