随笔分类 - cocos2d-js
a popular 2d engine
摘要:Studio最后合并到Cocos v3.10里面了。下载地址 http://www.cocos2d-x.org/download/cocos
阅读全文
摘要:setCascadeOpacityEnabled Enable or disable cascade opacity, if cascade enabled, child nodes' opacity will be the multiplication of parent opacity and
阅读全文
摘要:使用cocosStudio 中 的Text控件时,要设定text.ignoreContentAdaptWithSize(true); 设定控件(0.5,0.5)锚点位置不随文本长度变化而变化。
阅读全文
摘要:sprite.setTexture(fileName); imageView.loadTexture(fileName);
阅读全文
摘要:let stencil = new cc.Sprite(fileName);let clippingNode = new cc.ClippingNode();this.addChild(clippingNode);clippingNode.setStencil(stencil);clippingNo
阅读全文
摘要:copyText(String); TipLayer.showTip(String,timeOut);
阅读全文
摘要:listView显示出来框,设置的是裁切后显示出来的界面,而非能装入item的空间。
阅读全文
摘要:在设置 setCapInsets()方法的y参数的时候,不直接取cocosStudio中的y,而是取Scale9Sprite.height - cocosStudio中的y。
阅读全文

浙公网安备 33010602011771号