[LayaAirIDE 2.0]打包小游戏后在开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function
WAGame.js:3 gameThirdScriptError
CharRender_Canvas.ctx.fillAndStrokeText is not a function
TypeError: CharRender_Canvas.ctx.fillAndStrokeText is not a function
at CharRender_Canvas.__proto.getCharCanvas (http://127.0.0.1:59957/game/li ... 935:26)
at CharRender_Canvas.__proto.getCharBmp (http://127.0.0.1:59957/game/li ... 882:16)
at CharPages.__proto.getCharBmp (http://127.0.0.1:59957/game/li ... 819:31)
at CharPages.__proto.getChar (http://127.0.0.1:59957/game/li ... 723:16)
at CharBook.__proto._fast_filltext (http://127.0.0.1:59957/game/li ... 220:22)
at CharBook.__proto.filltext (http://127.0.0.1:59957/game/li ... 7290:8)
at WebGLContext2D.__proto._fillText (http://127.0.0.1:59957/game/li ... 374:29)
at WebGLContext2D.__proto._fillBorderText (http://127.0.0.1:59957/game/li ... 1429:8)
at WebGLContext2D.__proto.fillBorderText (http://127.0.0.1:59957/game/li ... 1425:8)
at FillBorderTextCmd.__proto.run (http://127.0.0.1:59957/game/libs/laya.core.js:2515:11)
这个是报错内容
CharRender_Canvas.ctx.fillAndStrokeText is not a function
TypeError: CharRender_Canvas.ctx.fillAndStrokeText is not a function
at CharRender_Canvas.__proto.getCharCanvas (http://127.0.0.1:59957/game/li ... 935:26)
at CharRender_Canvas.__proto.getCharBmp (http://127.0.0.1:59957/game/li ... 882:16)
at CharPages.__proto.getCharBmp (http://127.0.0.1:59957/game/li ... 819:31)
at CharPages.__proto.getChar (http://127.0.0.1:59957/game/li ... 723:16)
at CharBook.__proto._fast_filltext (http://127.0.0.1:59957/game/li ... 220:22)
at CharBook.__proto.filltext (http://127.0.0.1:59957/game/li ... 7290:8)
at WebGLContext2D.__proto._fillText (http://127.0.0.1:59957/game/li ... 374:29)
at WebGLContext2D.__proto._fillBorderText (http://127.0.0.1:59957/game/li ... 1429:8)
at WebGLContext2D.__proto.fillBorderText (http://127.0.0.1:59957/game/li ... 1425:8)
at FillBorderTextCmd.__proto.run (http://127.0.0.1:59957/game/libs/laya.core.js:2515:11)
这个是报错内容
没有找到相关结果
已邀请:
要回复问题请先登录
0 个回复