遇到一个奇葩问题,用的cocos -就是3.6.1 发布的微信游戏,在安卓上用户图像是可以显示的,在iPhone就不显示了,没有没遇到此类问题的
在线求解
this._playerPic= new cc.Sprite(wxManage.playerPic);
var size = this._playerPic.getContentSize();
var f1 = 100/size.width;
var f2 = 100/size.height;
this._playerPic.setScaleX(f1);
this._playerPic.setScaleY(f2);
//this._playerPic.setContentSize(cc.size(60,60));
clippingPanle.addChild(this._playerPic);