eclipse注释字体大小设置
Window--> Preferences --> General --> Appearance --> Colors and Fonts--> Basic --> Text Font --> Edit --> 字体,将字体改为“Courier New” 即可实现我们想要的效果,让注释字体大于代码字体。

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
composer self-update
composer update

我们的宗旨是希望把敌人搞得少少的,把朋友弄得多多的。良性竞争必不可少,一枝独秀不是春,万紫千红春满园。

2020年4月,百度首页出现广告了,去除办法:把浏览器百度网站的Cookies清除掉。在浏览百度首页,还原到没广告的页面了。

var a = new cc.Rect(0, 0, 10, 10);
var b = new cc.Vec2(0, 5);
a.contains(b);// true
// 全局坐标转换为局部坐标
let npos = this.anode.convertToNodeSpaceAR(gpos);
// 局部坐标转换为全局坐标,前面要为anode的父节点
let gpos = this.aParentNode.convertToWorldSpaceAR(this.anode.position);