大约有 17 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0028 秒)
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
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
...明第一个老婆 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
为模型指定地形材质报错 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
...一般是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
...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
...地形了,还是报同样的错误 @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
...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
...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
...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