Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

cocos2d-js按钮能不能用批处理SpriteBatchNode

$
0
0

@lhb5457890 写道:

this.ZJH_GAME_png = new cc.SpriteBatchNode.createWithTexture(res.ui_ZJH_ZJH_GAME_png);
this.addChild(this.ZJH_GAME_png, 999999);
var aa = new ccui.Button.create("ZJH_BT_START_1.png", "ZJH_BT_START_1.png", "ZJH_BT_START_1.png", ccui.Widget.PLIST_TEXTURE);
aa.setPosition(cc.p(500, 600));
this.ZJH_GAME_png.addChild(aa, 9999999);

这么写按钮渲染不出来这是为什么

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>