大约有 1,546 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0082 秒)
...有输出报错,自己的项目也没有日志中也没有update里面的console.下面是demo跟截图 附件 : --> coin_scroll_vivo.rar 2019-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 kylin 赞同来...
来源: Laya_社区 发布时间: 20191130
...leInput = Laya.Browser.document.getElementById('file'); fileInput.click(); console.log(fileInput);//input#file } } new GameMain();在laya里无法触发浏览器<input type="file" id="file">文件上传框? 附件 : --> html-upload.rar 2017-05-11 添加评论 免费帖 --> 分享 微博 QZON...
来源: Laya_社区 发布时间: 20170511
...ge.height), Handler.create(this, this.mapLoaded)); // console.log(Laya.stage.width, Laya.stage.height); // // })); // } // private onStageClick (): void // { // var p: Point = new Point(0, 0); // this.lay...
来源: Laya_社区 发布时间: 20201230
...in.scene"); } onEnable() { console.log('init'); } } /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ class GameConfig { static init() { //...
来源: Laya_社区 发布时间: 20201110
...cpet msg: " + e.data); }; ws.onerror = function(e) { alert("error: " + e); console.log(e) }; </script> </body> </html> 这是app设置的url所对应的html文件,在web端是能连上socket的,app里面就连不上 (简单起见这里直接使用原生websocket,使用la...
来源: Laya_社区 发布时间: 20181018
...; img.on(Laya.Event.MOUSE_DOWN, img, onStartDrag); function onStartDrag(){ console.log(this); clickIndex++; msgDiv.html('图片选中了' + clickIndex + '次'); // img.startDrag(); } // Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; // Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; }); </script> &...
来源: Laya_社区 发布时间: 20170427
...this.__mouseMove); this.bmp.on(Laya.Event.MOUSE_UP, this, this.__mouseUp); console.log(this.pos0.x); } __mouseMove(e:Event){ this.pos1.x=this.bmp.mouseX this.pos1.y=this.bmp.mouseY; if(Utils3D.getThis.getDistance(this.pos0,this.pos1)>10){ this.bmp.graphics.drawLine(this.pos0.x,this.pos0.y,this.po...
来源: Laya_社区 发布时间: 20170831
...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature =this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; this.mArmature.s...
来源: Laya2.0_示例 发布时间: 20250228
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 导微信小程序报错window.focus is not a function 请教下微信小游戏的内存和数据缓存? 问题状态 最新活动: 2018-01-22 11:56 浏览: ...
来源: Laya_社区 发布时间: 20180120
...2.6.6 5. iOS扫码启动,渲染正常 6. Android扫码启动,黑屏,vConsole报错如下: gameThirdScriptError expected Number(uniform4f);at requestAnimationFrame callback function Error: expected Number(uniform4f) expected Number(uniform4f);at requestAnimationFrame callback function Error: ...
来源: Laya_社区 发布时间: 20190423