大约有 41 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0037 秒)
...@ WAGame.js:8 (anonymous) @ WAGame.js:4 a @ gamePage.html:1 window.onerror requestAnimationFrame (async) wxRequestAnimationFrame @ gamePage.html:31 loop @ code.js:5371 requestAnimationFrame (async) wxRequestAnimationFrame @ gamePage.html:31 loop @ code.js:5371 requestAnimationFrame (async) wxRequest...
来源: Laya_社区 发布时间: 20180307
...='#99d9ea'; ctx.fillRect(0,0,window.innerWidth,window.innerHeight); window.requestAnimationFrame(render); } window.requestAnimationFrame(render); document.addEventListener('touchstart',()=>{ if(Browser.window.conch){ var l = 50; var t = 50; var w = window.innerWidth-l*2; var h = window.innerHeigh...
来源: Laya_社区 发布时间: 20180525
...统的定时器方法已经不太合适用了,是会卡顿的,应该用requestAnimationFrame。 Laya本身带Laya.timer.loop和Laya.timer.frameLoop,前一个基于时间,后一个基于帧。按照楼主的需求,应该基于时间,但正因为loop是基于时间的,所以类似setInte...
来源: Laya_社区 发布时间: 20170323
...的适配库好像没有涉及到这个。以及 laya.core.js中的 window.requestAnimationFrame=window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (c){return window.setT...
来源: Laya_社区 发布时间: 20180327
....core.js:17374 __proto._loop @ laya.core.js:17300 loop @ laya.core.js:5061 requestAnimationFrame (async) loop @ laya.core.js:5062 requestAnimationFrame (async) loop @ laya.core.js:5062 requestAnimationFrame (async) loop @ laya.core.js:5062 requestAnimationFrame (async) loop @ laya.core.js:5062 reque...
来源: Laya_社区 发布时间: 20170428
...vConsole报错如下: gameThirdScriptError expected Number(uniform4f);at requestAnimationFrame callback function Error: expected Number(uniform4f) expected Number(uniform4f);at requestAnimationFrame callback function Error: expected Number(uniform4f)<div class="eruda-json eruda-hidden"></...
来源: Laya_社区 发布时间: 20190423
底层类库报警告,获取不到图片宽高 [Violation] 'requestAnimationFrame' handler took 68ms 运行游戏的时候报警告,定位问题是在底层的 渲染管理类,每次报警告 获取图片宽高都会失败,上图 附件 : --> 2018-03-27 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180327
...ameSubContextThirdScriptError wx.getFileSystemManager is not a function;at requestAnimationFrame callback function TypeError: wx.getFileSystemManager is not a function 微信子域报这个错误。 2018-08-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20180803
...知道是哪方面的问题。 所以去引擎中搜索这段代码中的requestAnimationFrame,在laya.core.js里面会有关于这个错误的代码。 如果有知道这个错误怎么解决的大佬,请告知。谢谢。 附件 : --> 2019-05-09 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20190509
...载3d模型报这个错 gameThirdScriptError expected Number(uniform4f);at requestAnimationFrame callback function Error: expected Number(uniform4f) at Object.o.(anonymous function) [as uniform4f] (https://lib/WAGame.js:1:322314) 2018-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20181108