大约有 480 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0038 秒)
Laya_社区(378) Laya3.0_文档(21) Laya3.0_api(21) Laya2.0_文档(21) Laya2.0_api(14) laya_api(14) Laya_示例(6) Laya2.0_示例(5)
...! 先不吐槽这个。 真正的问题在于,对于不跳帧的timer.loop(),那么它将在切后台再切回来后被执行很多很多...次。这就是造成切后台返回前台卡顿的原因,而且,切后台时间越长,卡顿也就越久。 解决办法?限制不跳帧执行的...
来源: Laya_社区 发布时间: 20180411
...会生成场景类了,此时该如何获得场景内的元素 Laya.timer.loop()如何停止 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 ios14系统下 blendMode='lighter' 图片异常 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 求教: soundMana...
来源: Laya_社区 发布时间: 20170628
... sp2.pos(300, 500); Laya.stage.addChild(sp2); let r: number = 0 Laya.timer.loop(100, this, () => { if (r >= 360) r = 0; r++; sp.graphics.clear(true); sp.graphics.drawPie(0, 0, 50, 0, r, "#00ff1e"); sp2.graphics.clear(true); sp2.graphics.drawPie(0, 0, 50, 0, r, "#00ff1e"); }) 附件 : --> test....
来源: Laya_社区 发布时间: 20190701
... // var vect = new Laya.Vector3(0.1,0.1,0); // Laya.timer.loop(10,null,function(){ // box.transform.rotate(vect,true,false); // }); 2018-01-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180119
...Uint32Array.from(args); x.forEach(n => t[0] = t[0] + n); return t[0]; } loop_shift_left(n: number, bits: number) { return (n << bits) | (n >>> (32 - bits)); } A = 0x67452301; B = 0xefcdab89; C = 0x98badcfe; D = 0x10325476; F(b: number, c: number, d: number) { return (b & c) | (...
来源: Laya_社区 发布时间: 20190321
...; 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("turnR...
来源: Laya_社区 发布时间: 20171228
...oid.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6211) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndAr...
来源: Laya_社区 发布时间: 20200613
...ineTemplet_3_x.parseSpineAni (laya.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,...
来源: Laya_社区 发布时间: 20211207
...ya.Vector3 = new Laya.Vector3(1,0,0); //每10毫秒旋转一次 Laya.timer.loop(10,null,function(){ box.transform.rotate(vect,true,false); }); 以上是代码 出现的问题是有一个物体 然后另外一个物体在旋转 2018-08-08 添加评论 已悬赏2元 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20180808
...er(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