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

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

11. [LayaAir3]Laya3 满帧情况文字或者物体移动卡顿问题,请求解决 [ 70%]

...问题,请求解决 卡顿问题 因为 delta 不稳定,使用了Date.now ,方式计算导致精度不够。我上传源码有对比。   现在laya 在H5 表现 就差这个影响体验的问题了,求官方解决。   本人从 laya1 用到现在laya3 很多年了,真希望越来越好...

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

12. 关于下拉列表的选择触发 [ 70%]

...nction onSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.text = "当前地图:" + this.small_map.selectedLabel Laya.map_small_c = e } function onSelect_big(e) { if (e != 0) { if (Laya.keys > 0) { Laya.big_switch = 0 Laya.map_big = e Laya.maptype = "big" this.small_map....

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

13. 关于下拉列表的选择触发 [ 69%]

...nction onSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.text = "当前地图:" + this.small_map.selectedLabel Laya.map_small_c = e } function onSelect_big(e) { if (e != 0) { if (Laya.keys > 0) { Laya.big_switch = 0 Laya.map_big = e Laya.maptype = "big" this.small_map....

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

14. as3代码编译错误.100%重现,有测试代码.结果影响很大. [ 69%]

...的时候,会被编译成错误代码. addFootPrintMagic(super.x,super.y, now); 被编译成addFootPrintMagic(laya.display.Sprite.prototype.x,_super.prototype.y,now); 下面是我写的测试代码,也被编译错了. trace(super.x,super.y); 被编译成了console.log(laya.display.Sprite.prototype.x...

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

15. 关于timer的一些问题 [ 69%]

...@rock8654你好     AS3下的getTimer,可以使用layaAir下的Browser.now()替代,请重新测试下你的问题,及时反馈,谢谢!     2016-05-24 0 2 分享 微博 QZONE 微信 cuixu_xucui 赞同来自: 请问LZ,getTimer这个问题,最后怎么解决的 2017-11-01 0 0 分享 ...

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

16. 关于UI与3D场景的问题 [ 68%]

...ouchFromArr(touchID,preDowns); if (!preO){ }else { var isDouble=false; var now=Browser.now(); isDouble=now-this._lastClickTime < 300; this._lastClickTime=now; if (ele==preO.tar){ sendArr=arrs; }else { oldArr=this.getEles(preO.tar,null,TouchManager._oldArr); sendArr=TouchManager._newArr; sendArr.l...

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

17. 微信小游戏渲染开放域卡顿处理 [ 67%]

...     if (!self.$running) {                 self.$lastTime = Date.now();                 self.$running = true;             }         }         /**          * 停止计时          */         public stop(): void {             var self = this;     ...

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

18. [LayaNative3]游戏致命bug,WEB 性能是 native 性能 35倍 ,请求紧急修复 [ 67%]

..."resources/test/a ("+i+").png");         }          let nt = Date.now();         Laya.loader.load(             loadList,             Laya.Handler.create(this, () => {                 var label=this.owner.getChildByName("time") as Laya.Label;               ...

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

19. laya.utils.Browser_API3.0 [ 66%]

...ixelRatio width window Methods createElement getElementById getQueryString now removeElement Properties Static PLATFORM_ANDROID PLATFORM_ANDROID: number = 1 Defined in laya/utils/Browser.ts:71 Static PLATFORM_IOS PLATFORM_IOS: number = 2 Defined in laya/utils/Browser.ts:72 Static PLATFORM_PC PLATFOR...

来源: Laya3.0_api 发布时间: 20231115

20. laya.utils.Browser [ 66%]

...ocument 对象中拥有指定 id 的第一个对象的引用。 Browser  now():Number[static] 获取浏览器当前时间戳,单位为毫秒。 Browser  removeElement(ele:*):void[static] 移除指定的浏览器原生节点对象。 BrowserProperty Detailcanvaspropertypublic static var canvas:...

来源: laya_api 发布时间: 20170929