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

大约有 1,081 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0064 秒)

831. [LayaAirIDE3]咱能不能给文档加一个反馈入口啊,一堆bug还有错别字 [ 50%]

...体旋转bug 2.17到2.12都有 web端打包发布后能不能自动删除console.log 问题状态 最新活动: 2025-10-11 17:03 浏览: 995 关注: 2 人 SCMatrix • 2025-10-12 01:12 大大能不能帮忙反馈一下,现在文档的问题不是bug多,大家发现了肯定也知道反馈,最...

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

832. 发布微信后无法触发mouse_up事件 [ 50%]

...ouches.length;i++){ let t =touches[i]; let nameIndex =e.touchId + "_" + i; console.log(nameIndex+":"+e.type); } } } 之能收到down和move! 2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 Luren_yi ...

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

833. 如何使用graphics绘画虚线 [ 50%]

...,Handler.create(this,()=>{ sp.graphics.getBoundPoints().forEach(e=>{ console.log("_getBoundPointsM:",e); }); })); sp.x=0; sp.y=0; this._sptse=sp; Laya.stage.addChild(sp);

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

834. 物体每帧y方向移动,超出屏幕高度消失,可还没有超出屏幕高度就提前消失了! [ 50%]

...n = function () { this.speed = 1; Laya.timer.frameLoop(1, this, () => { console.log(this.obstacle0.y, Laya.Browser.height); //this.obstacle0是一个精灵对象 this.obstacle0.y += this.speed; if (this.obstacle0.y > Laya.Browser.height) { this.obstacle0.removeSelf(); } }); } 2018-08-23 添加...

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

835. 问一下Laya.ClassUtils.getInstance()怎么使用的,为啥我 直接传入一个.'类名' 竟然提示错误获取不到这个类 [ 50%]

...获取不到这个类 let view = Laya.ClassUtils.getInstance('MainPage'); console.log(view);(打印出来是null) //使用new 没有什么问题,可以正常显示, // var view = new MainPage(); // Laya.stage.addChild(view); 为啥呢,这个该是怎么使用的呢????????   2018-01-22 添加评论...

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

836. 版本管理swf找同名的Json文件发现找不到 [ 50%]

...       return;             }             // console.log("this['_atlasPath']---->",this['_atlasPath']);             var atls_ary:Array<any> = Loader.getAtlas(this['_atlasPath']);             this.basePath=atls_ary['dir'];        ...

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

837. Laya2.2问题,有没有遇到的? [ 50%]

... = true; this.onConfigLoaded(); } onVersionLoaded() { } onConfigLoaded() { console.log(123131313213); } } new Main();  }());   错误信息: Uncaught TypeError: window.wx.getFileSystemManager is not a function     at window.wxMiniGame (laya.wxmini.js:271)     at Function.__init__ (laya.core....

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

838. 粒子会不会有内存泄漏? [ 50%]

...); sp.emitter.start(); sp.x = 100; sp.y = 100; sp.name = (i++).toString(); console.log(sp.name); Laya.stage.addChild(sp); setTimeout(function () { var emitter = sp.emitter; emitter.stop(); emitter.clear(); sp.stop(); sp.destroy(true); Laya.stage.removeChild(sp); onAssetsLoaded(settings); }, 100); } ...

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

839. VSCode高效开发工作流配置指南(TypeScript-IDE篇(TS)-代码模式基础) [ 50%]

...process = exec("layaair2-cmd compile"); process.stdout.on("data",(data)=>{ console.log(data); }); process.stderr.on("data",(data)=>{ console.log(data); }); process.on("exit",(code,signal)=>{ console.log("success"); console.log(code,signal); cb(); }) } //创建一个名称为compile的gulp任务 task...

来源: Laya2.0_文档 发布时间: 20210715

840. Laya.timer.frameLoop(1, this, this.aaa);对象移动会出现颤抖现象 [ 50%]

...ddChild(this.playerHB); } private aaa():void { this.playerHB.x += this.bb; console.log( this.playerHB.x); if(this.playerHB.x > 1000) { this.bb *= -1; } if(this.playerHB.x < -100) { this.bb *= -1; } } 控制一直6像素来回移动 它就会出现颤抖 不管几像素都会 附件 : --> testL...

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