摘要: shutil.rmtree() 表示递归删除文件夹下的所有子文件夹和子文件。 阅读全文
posted @ 2019-09-11 15:33 流星曳尾 阅读(451) 评论(0) 推荐(0) 编辑
摘要: js 调用c++代码给的接口,c++代码储存在exe和dll文件中。 阅读全文
posted @ 2019-09-10 19:42 流星曳尾 阅读(297) 评论(0) 推荐(0) 编辑
摘要: hfs 服务器上面的和本地拖上去的文件是同一个文件。对本地文件拖上去之后再修改,服务器文件也会修改。所以服务器要有一个自己的文件存放。 阅读全文
posted @ 2019-09-09 13:39 流星曳尾 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 加强自检 学习js cocos 基础知识 编译 S O ,打包 学模块下载相关python 阅读全文
posted @ 2019-08-30 17:06 流星曳尾 阅读(105) 评论(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 流星曳尾 阅读(491) 评论(0) 推荐(0) 编辑
摘要: enqueue 入队dequeue 出队cascade 级联 阅读全文
posted @ 2019-08-29 16:14 流星曳尾 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 使用cocosStudio 中 的Text控件时,要设定text.ignoreContentAdaptWithSize(true); 设定控件(0.5,0.5)锚点位置不随文本长度变化而变化。 阅读全文
posted @ 2019-08-27 19:32 流星曳尾 阅读(2343) 评论(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 流星曳尾 阅读(642) 评论(0) 推荐(0) 编辑
摘要: sprite.setTexture(fileName); imageView.loadTexture(fileName); 阅读全文
posted @ 2019-08-22 11:14 流星曳尾 阅读(462) 评论(0) 推荐(0) 编辑
摘要: array.forEach(function(item,index){ }.bind(this)); 同 array.forEach((item,index) =>{ }); 阅读全文
posted @ 2019-08-22 10:43 流星曳尾 阅读(8804) 评论(0) 推荐(0) 编辑