cc.loader.loadImg(imageUrl, null, function(err, texture) {
cc.log(texture);
});
fatal error 了…
cc.loader.loadImg(imageUrl, null, function(err, texture) {
cc.log(texture);
});
fatal error 了…
cc.loader.loadImg(imageUrl, null, function(err, texture) {
face = new cc.Sprite(texture);
}
https的不成功, 轉成http就成功了
https的链接地址,能够读取到图片么?是不是不允许跨域导致https,不能获取到图片?