摘要: 今天写了 cocos2d-x事件EventListenerTouchOneByOne,发现死活没反应,原代码复制到新工程没问题啊, 后来发现cocostudio用的基础容器(ccui.Layout:create())默认是可交互性的,导出lua发现setTouchEnabled(true); 设置可 阅读全文
posted @ 2016-12-31 15:55 黔王 阅读(2093) 评论(0) 推荐(0) 编辑
摘要: -- 自定义事件 -- 监听: -- 广播: --事件机制入口:http://www.cnblogs.com/haogj/p/3784896.html 阅读全文
posted @ 2016-12-31 13:46 黔王 阅读(493) 评论(0) 推荐(0) 编辑
摘要: 今天cocos2d-x打包 android的时候报错:format not a string literal and no format arguments 报错点是:__String::createWithFormat(s_szFuWenEffect2[GetType()])->getCStrin 阅读全文
posted @ 2016-12-14 17:59 黔王 阅读(451) 评论(0) 推荐(0) 编辑
摘要: Axure :可写动态文档 阅读全文
posted @ 2016-12-09 10:14 黔王 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 以下是在cocos2dx-3.10、win7、Cocos Code IDE1.2下假定你已经配置好了cocos2dx的环境。1.修改源代码步骤(1)在Cocos/Cocos2d-x/cocos2d-x-3.10/extensions/assets-manager/中修改了源代码AssetsManag 阅读全文
posted @ 2016-12-07 23:24 黔王 阅读(2190) 评论(0) 推荐(0) 编辑
摘要: config.lua: 使用: --适配--wzq 阅读全文
posted @ 2016-12-02 14:04 黔王 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 今天用vs2013编译protobuf 2.4.1 报错: 错误 3 error C3861: “max”: 找不到标识符 f:\google\protobuf\protobuf-2.4.1\src\google\protobuf\io\zero_copy_stream_impl_lit 阅读全文
posted @ 2016-11-28 21:01 黔王 阅读(3358) 评论(0) 推荐(0) 编辑
摘要: cocos2d-x 3.5后使用luasocket:local SOCKET = require "socket"; 结果运行就报错:[LUA-print] USE " cc.exports.socket = value " INSTEAD OF SET GLOBAL VARIABLE lua禁用全 阅读全文
posted @ 2016-11-28 17:22 黔王 阅读(1085) 评论(0) 推荐(0) 编辑
摘要: cocos2d-x 3.10 PageView 拖动滚动到下一个单元,没事件,3.11有修复. 阅读全文
posted @ 2016-11-27 13:21 黔王 阅读(282) 评论(0) 推荐(0) 编辑
摘要: public void onClicked(View v_) { //wa.startAnimation(); // TextView tv = (TextView)findViewById(R.id.textView1); // animation.start(); ObjectAnimator. 阅读全文
posted @ 2016-11-20 22:28 黔王 阅读(133) 评论(0) 推荐(0) 编辑