摘要: hfs 服务器上面的和本地拖上去的文件是同一个文件。对本地文件拖上去之后再修改,服务器文件也会修改。所以服务器要有一个自己的文件存放。 阅读全文
posted @ 2019-09-09 13:39 流星曳尾 阅读(303) 评论(0) 推荐(0)
摘要: 加强自检 学习js cocos 基础知识 编译 S O ,打包 学模块下载相关python 阅读全文
posted @ 2019-08-30 17:06 流星曳尾 阅读(117) 评论(0) 推荐(0)
摘要: setCascadeOpacityEnabled Enable or disable cascade opacity, if cascade enabled, child nodes' opacity will be the multiplication of parent opacity and 阅读全文
posted @ 2019-08-30 13:36 流星曳尾 阅读(527) 评论(0) 推荐(0)
摘要: enqueue 入队dequeue 出队cascade 级联 阅读全文
posted @ 2019-08-29 16:14 流星曳尾 阅读(157) 评论(0) 推荐(0)
摘要: 使用cocosStudio 中 的Text控件时,要设定text.ignoreContentAdaptWithSize(true); 设定控件(0.5,0.5)锚点位置不随文本长度变化而变化。 阅读全文
posted @ 2019-08-27 19:32 流星曳尾 阅读(2409) 评论(0) 推荐(0)
摘要: let scale9Sprite = new ccui.Scale9Sprite(filePath);scale9Sprite.setCapInsets(cc.rect(x,y,w,h));而非 let scale9Sprite = new ccui.Scale9Sprite(filePath,cc 阅读全文
posted @ 2019-08-26 17:12 流星曳尾 阅读(677) 评论(0) 推荐(0)
摘要: sprite.setTexture(fileName); imageView.loadTexture(fileName); 阅读全文
posted @ 2019-08-22 11:14 流星曳尾 阅读(506) 评论(0) 推荐(0)
摘要: 对从其他类获取的数据 要先进行数据安全的检测。 阅读全文
posted @ 2019-08-21 19:40 流星曳尾 阅读(108) 评论(0) 推荐(0)
摘要: 找到对应协议在对应proto中的片段(片段的子也要提取),提出来 放到适合proto文件中(逻辑 || 功能近似协议聚集地) 转换成proto.js 替换 || 增加原有js内容 阅读全文
posted @ 2019-08-21 15:02 流星曳尾 阅读(215) 评论(0) 推荐(0)
摘要: parentNode.removeChildByTag(0); let childNode = new cc.Node(); parentNode.addChild(childNode); childNode.setTag(0);//用以删除 childNode.addChild(child1); 阅读全文
posted @ 2019-08-20 15:12 流星曳尾 阅读(404) 评论(0) 推荐(0)