之前还没遇到这个问题,后来就自己出来了,不知道是不是1.9.3和2.0版本混合用造成的,有没有大佬遇到过这个问题,怎么解决啊。作为一个小白,贼难受。
WAGame.js:4 gameThirdScriptError
e.isLoaded is not a function;at setInterval callback function
TypeError: e.isLoaded is not a function
at Object._checkFontLoaded (http://127.0.0.1:21165/game/cocos2d-js-min.4f4af.js:1:775570)
at http://127.0.0.1:21165/game/dev/WAGame.js
14604
at http://127.0.0.1:21165/game/dev/WAGame.js
22261
首先打包的时候打开调试模式,这样可以看到完整的报错。这个报错一般是你打包的时候场景没有打包进去,预加载或者跳转场景有问题
我搜了一下,他说是字体描述符错误,这就又有点搞不懂了
,字体都是微软雅黑加粗的,之前嫌它太占内存改过一回,最后都改回来了。
fontDescriptor.isLoaded is not a function;at setInterval callback function
TypeError: fontDescriptor.isLoaded is not a function
at Object._checkFontLoaded (http://127.0.0.1:26963/game/cocos2d-js.96d09.js:43223:30)
at http://127.0.0.1:26963/game/dev/WAGame.js
14604
at http://127.0.0.1:26963/game/dev/WAGame.js
22261

