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

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

1. tween有这个一个bug [ 100%]

tween有这个一个bug 先创建一个timeline循环按钮动画 var timeLine = new Laya.TimeLine(); timeLine.addLabel("ZoomIn",0).to(share.btShare,{scaleX:0.9, scaleY:0.9},400,Laya.Tween.cubicOut,0) .addLabel("ZoomOut",0).to(share.btShare,{scaleX:1.0, scaleY:1.0},400,Laya.Tween.cubicOut,0); timeL...

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

2. Text.as中parseLines方法里的问题 [ 96%]

Text.as中parseLines方法里的问题 是这样的,上线的小游戏,在微信后台中看到有错误日志: TypeError: undefined is not an object (evaluating 's.width') at line 3 in https://usr/game.js _parseLines@https://usr/game.js:3:256231 typeset@https://usr/game.js:3:255040 typeset@h...

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

3. 画出来鼠标轨迹线 [ 92%]

...明第一个老婆 var img2=new Laya.Sprite();//声明第二个老婆 var lines=new Laya.Sprite();//声明全彩老婆的遮罩层 var times=800;//持久时间 Laya.stage.on(Laya.Event.MOUSE_MOVE,this,mousemove);//事件绑定,当鼠标移动时触发mousemove事件 //把声明的第一个老婆...

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

4. 为模型指定地形材质报错 [ 86%]

为模型指定地形材质报错 var lineMesh = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("line/lineMesh.lm")));var terMaterial = new Laya.TerrainMaterial(); terMaterial.diffuseTexture1=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture2=new Laya.Texture2D.load("map2.png"); ...

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

5. liblayaair.so 总是崩溃,有没有官方人员帮忙解决一下啊 [ 81%]

...一般是symbol.so;  去ndk中目录找到“arm-linux-androideabi-addr2line” 然后:cmd(window命令行) -》 rm-linux-androideabi-addr2line -f -C -e   所生成so的目录/libxxxxx.sym.so 输入“地址(eg:006d4960)  以此输入”   举例: arm-linux-androideabi-addr2line -f -C -e...

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

6. 关于3d的碰撞检测 [ 77%]

...rigin.y + " z" + rayOrigin.z) this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, LayaAir3D.camera); this.phasorSpriter3D.line(this._linePos, this._color, this.ray.origin, this._color); this.phasorSpriter3D.end(); console.log("碰撞检测" + this.outHitInfo.distance);//一直都是-1   附件 : --...

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

7. 怎么给从模型生成的地形TerrainMaterial材质??? [ 71%]

...地形了,还是报同样的错误 @asanwu var terrain = Laya.Mesh.load("line/lineMesh.lm"); var terrainSprite = scene.addChild(Laya.MeshTerrainSprite3D.createFromMesh(terrain, 129, 129)); var terMaterial = new Laya.TerrainMaterial(); terMaterial.diffuseTexture1=new Laya.Texture2D.load("map2.png")...

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

8. viewportPointToRay产生的射线始终有偏差,是为什么? [ 71%]

...intToRay(this._point, this._ray); this._phasorSpriter3D.begin(WebGLContext.LINES, this._camera); //绘出射线 this._phasorSpriter3D.line( this._ray.origin, this._color, this._originPosition, this._color); this._phasorSpriter3D.end(); } }结果出来是图片中的结果: 鼠标的位置在戒指...

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

9. AS引用AS项目打包出来的JS不能用 [ 70%]

...riant: normal; font-weight: normal; font-stretch: normal; font-size: 25px; line-height: normal; font-family: Arial;">1</div></div> 这样的,还会报错Uncaught RangeError: Maximum call stack size exceeded     at CanvasRenderingContext2D.__proto.fillText (dsgame.max.js:6015)   ...

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

10. 火狐浏览器上webgl异常 [ 69%]

...he browser to clear it. This may be slow. async.race.0._hash.e3a9c451.js%20line%20297%20%3E%20eval:4:30925 Error: WebGL: texSubImage2D: This operation requires zeroing texture data. This is slow. 如题 这可能是什么引起的? 2017-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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