• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 94 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)

1. GL ERROR :GL_INVALID_OPERATION : glDrawElements: [ 100%]

GL ERROR :GL_INVALID_OPERATION : glDrawElements: [.Offscreen-For-WebGL-0834E938]GL ERROR :GL_INVALID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 0 [file:///E:/SVN/ZQ2/client2.0/bin/index.html]   [.Offscreen-For-WebGL-0834E938]GL ERROR :GL_INVALID_OPERATION : gl...

来源: Laya_社区 发布时间: 20190304

2. for each" err,must add{} [ 87%]

for each" err,must add{} 2015-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自:     "for each" err,must add{}提示这种错误是因为js中部分浏览器不支持for each。...

来源: Laya_社区 发布时间: 20151202

3. 安装layaair2-cmd一直失败 [ 87%]

... core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage  due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. C:\Users\Administrator\AppData\Roaming\npm\layaair2-cmd -> C:\Users\Administrator\AppData\Roaming\np m\node_mod...

来源: Laya_社区 发布时间: 20200211

4. 微信web页面贴图无法加载 [ 84%]

...的laya页,3d模型的部分贴图显示不出来,报错:[.Offscreen-For-WebGL-0x61872800]GL ERROR :0x0505 : glGenerateMipmap:  [.Offscreen-For-WebGL-0x61872800]GL ERROR :0x0505 : glTexImage2D:  [.Offscreen-For-WebGL-0x61872800]GL ERROR :0x0502 : glGenerateMipmap: Can not generate mips [.Off...

来源: Laya_社区 发布时间: 20180330

5. Laya.Event.CLICK,第二次无法出发click事件 [ 81%]

...件 xxx.on(Laya.Event.CLICK, xxx, this.RecordA);这个放在第一次执行for循环里,第一次for循环时,click是可以进this.RecordA这个函数里,在第二次执行for循环,点击click就不能进this.RecordA这个函数里 2018-04-10 添加评论 免费帖 --> 分享 微博 QZONE ...

来源: Laya_社区 发布时间: 20180410

6. lh文件内meshSprite添加阴影属性无效 [ 81%]

...M文件测试阴影效果成功后,使用lh文件加载多个模型,用for语句批量为meshSprite3D添加阴影属性,但仅有最后一个成功(图片绿地上的阴影),for语句内的材质修改却全部都生效了   var mesh:Laya.MeshSprite3D; for(var i =0;i<this.sprite3D._c...

来源: Laya_社区 发布时间: 20171110

7. XMLHttpRequest cannot load [ 80%]

...tGame/bin/h5/res/atlas/comp.json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.__proto.send @ firstGame.max.js:9742 firstGame.max.js:9137 [warn]Retry to load: F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json...

来源: Laya_社区 发布时间: 20170108

8. 给图片节点添加新创建的图片,会报这个错:node._setParent is not a function [ 80%]

...r.getChildByName("image_bg"); console.log("this.imageBg==="+this.imageBg); for (let iColumns = 1; iColumns < this.intColumns; iColumns++) { this.arrLove[iColumns] = []; for (let iRows = 1; iRows < this.intRows; iRows++) { let iNum = Math.round(Math.random() * this.intMaxLove); let imgSrc = "co...

来源: Laya_社区 发布时间: 20190625

9. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 77%]

...  // "downlevelIteration": true,            /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */     // "isolatedModules": true,               /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ ...

来源: Laya_社区 发布时间: 20190408

10. destroy节点后,报错 [ 76%]

...f(node.numChildren<=0)return; console.log('移除',node.name); let obj; for(let i=node.numChildren-1;i>=0;i--){ obj= node.getChildAt(i); obj.destroy(); } }   或者 /* 从舞台移除模型对象 @param node 节点 */ base_remove(node){ if(node.numChildren<=0)return; console.log('移除',n...

来源: Laya_社区 发布时间: 20191119