会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
流星曳尾
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
30
31
32
33
34
35
36
37
下一页
2019年10月10日
python
摘要: 1.创建py文件 创建txt文档,然后修改后缀名(如无,点击查看,勾选文件扩展名) 2.头部信息 #!/usr/bin/python# -*- coding:utf-8 -*- 3.逻辑运算符 and (同 &&) or(同 ||) not(同!)
阅读全文
posted @ 2019-10-10 15:38 流星曳尾
阅读(217)
评论(0)
推荐(0)
2019年10月9日
ScrollView示例(转载)
摘要: // 初始化var scrollView = new ccui.ScrollView(); // 设置方向scrollView.setDirection(ccui.ScrollView.DIR_VERTICAL); // 允许交互scrollView.setTouchEnabled(true); /
阅读全文
posted @ 2019-10-09 14:51 流星曳尾
阅读(539)
评论(0)
推荐(0)
2019年10月8日
如何给无色的控件上色
摘要: 增加
阅读全文
posted @ 2019-10-08 17:02 流星曳尾
阅读(128)
评论(0)
推荐(0)
2019年9月29日
拿到文件的接口
摘要: jsb.fileUtils.getStringFromFile(fileName);日志cc.log('file: ' +jsb.fileUtils.getStringFromFile(fileName).toString());
阅读全文
posted @ 2019-09-29 16:56 流星曳尾
阅读(139)
评论(0)
推荐(0)
2019年9月20日
保留小数点后两位
摘要: parseFloat(number).toFixed(2)
阅读全文
posted @ 2019-09-20 17:25 流星曳尾
阅读(196)
评论(0)
推荐(0)
2019年9月16日
url 加参数
摘要: url = 访问地址 + ? key1=value1 & key2 = value2 304(未修改)自从上次请求后,请求的网页未修改过。服务器返回此响应时,不会返回网页内容。 加参数,骗过服务器
阅读全文
posted @ 2019-09-16 15:04 流星曳尾
阅读(280)
评论(0)
推荐(0)
2019年9月14日
ProgressTimer 控件
摘要: let background = new cc.Sprite(fileName_background);this.addChild(background,999999);background.setPosition(frameMid);let innerSprite = new cc.Sprite(
阅读全文
posted @ 2019-09-14 17:09 流星曳尾
阅读(346)
评论(0)
推荐(0)
2019年9月12日
js 与 jsc 文件不能混用
摘要: 不然会出现莫名bug
阅读全文
posted @ 2019-09-12 13:30 流星曳尾
阅读(371)
评论(0)
推荐(0)
2019年9月11日
Python tip
摘要: shutil.rmtree() 表示递归删除文件夹下的所有子文件夹和子文件。
阅读全文
posted @ 2019-09-11 15:33 流星曳尾
阅读(507)
评论(0)
推荐(0)
2019年9月10日
c++ 代码
摘要: js 调用c++代码给的接口,c++代码储存在exe和dll文件中。
阅读全文
posted @ 2019-09-10 19:42 流星曳尾
阅读(366)
评论(0)
推荐(0)
上一页
1
···
30
31
32
33
34
35
36
37
下一页
公告