Cocos2d-x 的“HelloWorld” 深入分析

不能免俗,一切都从“HelloWorld!”开始.打开HelloWorld工程,里面有两个文件目录Classes和win32。
Classes下有HelloWorldScene.h/cpp ,AppDelegate.h/cpp.
win32下有main.h/cpp
首先看一下win32目录下的main.h,其中定义了使用win32平台进行编译的宏和一些Windows编程头文件。

更多详情,请参考【Software MyZone】: http://www.firedragonpzy.com.cn/index.php/archives/1246

猜你喜欢

转载自firedragonpzy.iteye.com/blog/1654567