cocos2d-x 体积优化

1. so文件优化 1)在luamoduleregister.h中注释掉不需要的代码,重新打包后即可看到效果 int lua_module_register(lua_State* L){ register_cocosdenshion_module(L); // comment this line to remove cocosdenshion register_network_module(L); // comment this line to remove network register_cocosbuilder_module(L); // comment this line to remove cocosbuilder register_cocostudio_module(L);// comment this line to remove cocostudio register_extension_module(L); // comment this line to remove extension register_ui_moudle(L);// comment this line to remove ui register_spine_module(L); // comment this line to remove spine register_cocos3d_module(L); // comment this line to remove 3d return 1;}

相关文章

    本文实践自 RayWenderlich、Ali Hafizji 的文章《...
Cocos-code-ide使用入门学习地点:杭州滨江邮箱:appdevzw@1...
第一次開始用手游引擎挺激动!!!进入正题。下载资源1:从C...
    Cocos2d-x是一款强大的基于OpenGLES的跨平台游戏开发...
1.  来源 QuickV3sample项目中的2048样例游戏,以及最近《...
   Cocos2d-x3.x已经支持使用CMake来进行构建了,这里尝试...