![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
cocos2d-x
ALZq
这个作者很懒,什么都没留下…
展开
-
从svn上下载的cocos2d-x工程报错 LOCAL_SRC_FILES points to a missing file *** Android NDK: Aborting . Stop.
从svn下载同事建立的cocos2d-x工程后,导入Eclipse后报错:*** Android NDK: Aborting . Stop.Android NDK: ERROR:jni/../../cocos2d/external/freetype2/prebuilt/android/Android.mk:cocos_freetype2_static: LOCAL_SRC_FILE原创 2015-04-22 18:34:39 · 2234 阅读 · 0 评论 -
cocos2dx 3.x 异步加载
void ResourceManager::Loadresource(SENCE _scene){ m_vPng.clear(); m_vPlist.clear(); m_vExportJson.clear(); auto preLoadDic = __Dictionary::createWithContentsOfFile("gamedata/preloading原创 2015-03-18 10:18:07 · 660 阅读 · 0 评论 -
cocos2dx_3.x 本地文件读写
//模拟数据char *data = "abcdefg";//向本地写入文件std::string fileName = FileUtils::getInstance()->getWritablePath() + "test.txt"; //获取写入文件的绝对路径FILE *fp = fopen(fileName.c_str(), "wb"); //w:写 b:2进制if (fp)原创 2015-06-30 13:40:15 · 556 阅读 · 0 评论 -
cocos shader崩溃问题
cocos shader崩溃问题原创 2016-09-23 17:11:05 · 513 阅读 · 0 评论 -
cocos2d lua调用OC代码
1 . 新建LuaCallOC.h 和 LuaCallOC.mmluaCallOC.h@interface LuaCallOC : NSObject {}// 跳转到appstore+ (char) gotoAppstore:(NSDictionary *)dict;// 是否WIFI+ (char) IsEnableWIFI;// 获取网络状态+ (int) getNetStatus;@e原创 2016-12-06 16:40:54 · 749 阅读 · 0 评论