cocos2d-x面试题合集

一、Cocos2d-x是怎样实现跨平台? AppDelegate 做为跨平台程序入口,在这之上作了另外一层的封装,封装了不一样平台的不一样实现。好比咱们一般认为一个程序是由 main 函数开始运行,那咱们就去找寻,咱们看到了在 proj.linux 目录下存在 main.cpp 文件。在main.cpp 中 CCApplication::sharedApplication()–>run();这一句
相关文章
相关标签/搜索