js网页端,解析pvr.ccz出错,提示:loader for .ccz] not exists!,是不是还不支持?
不支持,具我所知
自己顶。。。。
源码里面自己有说明的,暂时不支持pvr和etc:
/**
*
* Returns a Texture2D object given an PVR filename
* If the file image was not previously loaded, it will create a new CCTexture2D
* object and it will return it. Otherwise it will return a reference of a previously loaded image
* note: AddPVRTCImage does not support on HTML5
*
* @param {String} filename
* @return {cc.Texture2D}
*/
addPVRTCImage: function (filename) {
cc.log(cc._LogInfos.textureCache_addPVRTCImage);
},
/**
* <p>
* Returns a Texture2D object given an ETC filename <br/>
* If the file image was not previously loaded, it will create a new CCTexture2D <br/>
* object and it will return it. Otherwise it will return a reference of a previously loaded image <br/>
* note:addETCImage does not support on HTML5
* </p>
* @param {String} filename
* @return {cc.Texture2D}
*/
addETCImage: function (filename) {
cc.log(cc._LogInfos.textureCache_addETCImage);
},
只有原生平台才支持,网页版本不支持哎