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

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

91. 高级应用-寻路导航 [ 62%]

...ntCount].x, this.path[this.nextPathIndex++ % this.pointCount].z); }); Laya.timer.loop(40, this, loopfun); } function loopfun() { if (this._everyPath && this.index ; private _everyPath: any; private _position: Laya.Vector3 = new Laya.Vector3(0, 0, 0); private _upVector3: Laya.Vector3 = new Laya.Vecto...

来源: Laya_示例 发布时间: 20240929

92. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 62%]

... 2017-11-09 1 2 分享 微博 QZONE 微信 ymsdandan 赞同来自: 你在Timer方法中可以找到这个只读方法可以知道调用间隔,但是不能设置调用时间 2017-11-09 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添...

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

93. [LayaAir2]Spine动画无法正常加载显示 [ 61%]

....ani.js:2723:37)     at Skeleton._update (laya.ani.js:2588:104)     at TimerHandler.run (laya.core.js:22323:56)     at Timer._update (laya.core.js:22165:41)     at Stage._updateTimers (laya.core.js:17751:25)     at Stage.render (laya.core.js:17713:18)     at Stage._loop (laya.core.js:176...

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

94. animate 动画播放 怎么把攻击 开火 合起来播放 [ 61%]

..."atk"); Laya.Animation.createFrames(this.aniUrls("move", 4), "move"); Laya.timer.loop(1000, this, this.animateTimeBased); } private animateTimeBased() { this.roleAni.interval = 100; //循环播放动画 this.roleAni.play(0, false, "atk"); //this.roleAni.play(0,true,"fire"); //this.timeLine.addLabel(...

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

95. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 61%]

... Handler(this, this.onChange); Laya.stage.addChild(this.progressBar); Laya.timer.loop(100, this, this.changeValue); } private changeValue(): void { if (this.progressBar.value >= 1) this.progressBar.value = 0; this.progressBar.value += 0.05; } private onChange(value: number): void { console.log("进...

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

96. https://ask.layabox.com/question/13181官方Demo运行不起来 [ 61%]

...oto._changeCanvasSize (http://127.0.0.1:60853/game/su ... 8309:8)     at TimerHandler.__proto.run (http://127.0.0.1:60853/game/su ... 816:45)     at Timer.__proto._update (http://127.0.0.1:60853/game/su ... 573:13)     at Stage.__proto.render (http://127.0.0.1:60853/game/su ... 499:15)     a...

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

97. laya的animation如何每一帧的去获取回调 [ 61%]

...nterFrame事件,但是可以用frameLoop方法来替代 启动一个Laya.timer.frameLoop(1,this,onLoop).在frameLoop的回调里去监听Animation播放的是第几帧(index) 2016-10-12 0 0 分享 微博 QZONE 微信 unnamedzc 赞同来自: 那如何确定监听对象哪?是直接在回调...

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

98. spine适配版微信开发者平台报错 [ 61%]

....spine.js:656)     at SpineTemplet_3_x.loop (laya.spine.js:638)     at TimerHandler.run (laya.core.js:22293)     at Timer._update (laya.core.js:22144)     at Stage._updateTimers (laya.core.js:17717)     at Stage.render (laya.core.js:17679)(env: Windows,mg,1.05.2110152; lib: 2.20.2) 附件 ...

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

99. laya.wxmini.js 中的stop停止声音bug [ 61%]

...起人 ㍿ 相关问题 游戏运行在chrome里面 听不见声音 Laya.timer.loop()如何停止 TypeScript下HttpRequest发送Post请求有Bug? 自从layaflash起,就一直存在的bug LayaAir2.61 测试版 物理引擎bug 百分百 复现 求教: soundManager如何停止正在播放的背景...

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

100. l龙骨动画内存上升 [ 60%]

...                function play():void {             Laya.timer.loop(5000, this, function():void {                 playDragonBonesAnimation("BigAward/BigAward.sk",0,0,Laya.stage,false);             });         }                  /**播放龙骨...

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