摘要:
let background = new cc.Sprite(fileName_background);this.addChild(background,999999);background.setPosition(frameMid);let innerSprite = new cc.Sprite( 阅读全文
摘要:
setCascadeOpacityEnabled Enable or disable cascade opacity, if cascade enabled, child nodes' opacity will be the multiplication of parent opacity and 阅读全文
摘要:
let scale9Sprite = new ccui.Scale9Sprite(filePath);scale9Sprite.setCapInsets(cc.rect(x,y,w,h));而非 let scale9Sprite = new ccui.Scale9Sprite(filePath,cc 阅读全文