上一页 1 2 3 4 5 6 7 8 ··· 14 下一页
摘要: 去掉这两个功能的原因: 1.因为有时候打包是分渠道的,不同的渠道资源也可能不一样,所以不能直接复制资源。 2.如果用cocostudio打release包,因为要输入签名地址,会导致在自动签名处停住不动了。 解决方法: 1.修改 cocos2d-console\plugins\plugin_comp 阅读全文
posted @ 2018-03-16 14:21 冷夜 - 网游编程技术 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 只有在Android 4.4及以上系统才支持沉浸式模式,修改 AppActivity代码如下: 另外如果打开了全屏的输入法时,需要再次做隐藏处理,在Cocos2dxEditBoxHelper.java createEditBox中失去焦点的回调中添加: 在Cocos2dxGLSurfaceView. 阅读全文
posted @ 2018-02-28 19:05 冷夜 - 网游编程技术 阅读(2332) 评论(0) 推荐(0) 编辑
摘要: 在做热更新功能时用到了AssetsManager,发现在windows平台总是报CREATE_FILE错误,errorStr "Can't renamefile from: xxx.tmp to: C:/Users/Administrator/AppData/Local/xxx",最后发现创建下载任 阅读全文
posted @ 2018-02-10 11:00 冷夜 - 网游编程技术 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 要想顺利调用必须保证一下几点: 1.WXEntryActivity的包名必须正确,格式为你的APK包名+wxapi.WXEntryActivity(注意:是apk包名,而不是org.cocos2dx.cpp,我就是这个问题调了1天。。。。。) 2.WXEntryActivity在AndroidMan 阅读全文
posted @ 2018-01-09 17:26 冷夜 - 网游编程技术 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 问题描述:运行到LuaStack::init() 崩溃 原因: luajit不支持arm64 解决方案:编译luajit64位静态库 a.可以直接下载别人编译好的库,然后直接覆盖cocos2d\external\lua\luajit\prebuilt\ios\libluajit.a ,http:// 阅读全文
posted @ 2017-12-01 13:32 冷夜 - 网游编程技术 阅读(1003) 评论(0) 推荐(0) 编辑
摘要: 编译时报错:call to unavailable function system not available on iOS 原因:iOS11已经将system删除 解决方案:system(command.c_str()); 修改为:popen(command.c_str(), "r"); 目前这个 阅读全文
posted @ 2017-12-01 13:22 冷夜 - 网游编程技术 阅读(1304) 评论(0) 推荐(0) 编辑
摘要: 按照网上的安装方法:http://blog.sina.com.cn/s/blog_e9370eb80101gias.html 安装插件并破解,安装过程没有任何错误,但是打开max2012始终看不到这个插件,网上找了很久也没有找到解决方法,最后自己解决了,解决方法如下: 1.首先打开插件的安装路径 , 阅读全文
posted @ 2017-10-25 18:22 冷夜 - 网游编程技术 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 改成这样就可以了 阅读全文
posted @ 2016-09-19 11:53 冷夜 - 网游编程技术 阅读(1529) 评论(0) 推荐(0) 编辑
摘要: #define USE_WIN32_CONSOLE int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCm... 阅读全文
posted @ 2016-09-03 18:53 冷夜 - 网游编程技术 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 效果: 代码: ElasticListView.h #pragma once //std #include <string> #include <map> //cocos #include "cocos2d.h" #include "cocostudio/CocoStudio.h" #include 阅读全文
posted @ 2016-04-25 16:36 冷夜 - 网游编程技术 阅读(1806) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页