[LayaAir 2.0]微信开发者工具iOS模拟器报错:CharRender_Canvas.ctx.fillAndStrokeText is not a function
使用LayaAir 2.0,游戏在微信开发者工具Android模拟器可以正常运行,在iOS模拟器出现以下报错:
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:18647/game/li ... 935:26)
at CharRender_Canvas.__proto.getCharBmp (http://127.0.0.1:18647/game/li ... 882:16)
at CharPages.__proto.getCharBmp (http://127.0.0.1:18647/game/li ... 819:31)
at CharPages.__proto.getChar (http://127.0.0.1:18647/game/li ... 723:16)
at CharBook.__proto._fast_filltext (http://127.0.0.1:18647/game/li ... 220:22)
at CharBook.__proto.filltext (http://127.0.0.1:18647/game/li ... 7290:8)
at WebGLContext2D.__proto._fillText (http://127.0.0.1:18647/game/li ... 374:29)
at WebGLContext2D.__proto._fillBorderText (http://127.0.0.1:18647/game/li ... 1429:8)
at WebGLContext2D.__proto.fillBorderText (http://127.0.0.1:18647/game/li ... 1425:8)
at FillBorderTextCmd.__proto.run (http://127.0.0.1:18647/game/li ... 515: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:18647/game/li ... 935:26)
at CharRender_Canvas.__proto.getCharBmp (http://127.0.0.1:18647/game/li ... 882:16)
at CharPages.__proto.getCharBmp (http://127.0.0.1:18647/game/li ... 819:31)
at CharPages.__proto.getChar (http://127.0.0.1:18647/game/li ... 723:16)
at CharBook.__proto._fast_filltext (http://127.0.0.1:18647/game/li ... 220:22)
at CharBook.__proto.filltext (http://127.0.0.1:18647/game/li ... 7290:8)
at WebGLContext2D.__proto._fillText (http://127.0.0.1:18647/game/li ... 374:29)
at WebGLContext2D.__proto._fillBorderText (http://127.0.0.1:18647/game/li ... 1429:8)
at WebGLContext2D.__proto.fillBorderText (http://127.0.0.1:18647/game/li ... 1425:8)
at FillBorderTextCmd.__proto.run (http://127.0.0.1:18647/game/li ... 515:11)
没有找到相关结果
已邀请:
要回复问题请先登录
3 个回复
Aar0n
赞同来自:
流年似水
赞同来自:
HAO
赞同来自: