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

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

21. 同时执行两个Tween 第一个调用clear 第二个也会停止 [ 70%]

...效上面吗? 请问在layaIDE里,怎么调用微信小程序API Laya.timer.loop()如何停止 求教: soundManager如何停止正在播放的背景音乐 在List渲染的时候,在滚动一个list的时候,如何实现另一个list也跟着滚动,并且两个list同时滚动一模一样...

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

22. 怎么停止正在运行Laya.timer.frameLoop的回调函数 [ 69%]

怎么停止正在运行Laya.timer.frameLoop的回调函数   附件 : --> 2018-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: …… Laya.timer.clear(this,animate); 2018-05-23 1 0...

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

23. 如何停止重复执行Laya.timer.frameLoop(1,this,onDrag); [ 69%]

如何停止重复执行Laya.timer.frameLoop(1,this,onDrag); 如何让重复执行的函授停止,比如Laya.timer.frameLoop(1,this,onDrag);中的onDrag。谢谢~ 2017-02-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2...

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

24. 关于环形进度条,进度不能重置问题 [ 68%]

....circle; function IndexView(){ IndexView.super(this); this.angle = 0; Laya.timer.loop(200,this,this.loadProgress) var Sprite = Laya.Sprite; this.box = new Sprite(); this.box.cacheAs = "bitmap"; this.box.pos(0,0); this.say.addChild(this.box); this.draw = new Sprite(); this.box.addChild(this.draw); th...

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

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

...放域界面方法,即定时器的回调方法(重点): function onTimer() {     // bitmap为纹理的bitmap属性,自行赋值     var func = bitmap._source && bitmap.reloadCanvasData;     func && func.call(bitmap); } 3.关闭渲染: 个人认为5秒后停止定时...

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

26. webgl遮罩的BUG [ 67%]

...    this.mMask.graphics.clear();                 Laya.timer.loop(10,this,this.showMask);         public showMask():void         {             this.mMask.graphics.clear();            this.mMask.graphics.drawPie(75, 75, 150,-90,-90 + this.ang, "#ff...

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

27. 针对2.0.0 beta5 setLoadingPage 做增强 [ 64%]

...=== null) otherHandler = this._promiseHandler if (!this._loadScene) { Laya.timer.loop(10, this, this.openScene, [url, otherHandler, closeOther, param, complete, progress]) return } Laya.timer.clear(this, this.openScene) Laya.Scene.showLoadingPage(null, 0) // 同步执行 Promise.all([this._load(url,...

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

28. 进度条组件 · LayaAir3.0文档 · LAYABOX [ 63%]

... this.loadText.text = "资源加载中……"; // 测试加载效果 Laya.timer.loop(100, this, this.changeProgress); } //这里仅模拟加载演示效果 changeProgress(): void { this.progressBar.value += 0.05; //每次进度条的改变量 if (this.progressBar.value == 1) { this.loadText.text = "...

来源: Laya3.0_文档 发布时间: 20230921

29. 如何清除graphics绘制的矢量图 [ 63%]

...图             let count1 = 1;             Laya.timer.loop(3000, this, function () {                 sp.graphics.clear();                 if (count1 == 0) {                     sp.graphics.drawLines(0, 0, path, "#0eff00", 5...

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

30. 怎么循环数组的时候给他定时第一个执行完在执行下一个 [ 62%]

...以了 2019-05-20 0 1 分享 微博 QZONE 微信 乐趣 赞同来自: Laya.timer.loop(1000,this,this.CardAnimation);  //定时执行某个函数  this.CardAnimation是你要自己实现的动画 动画执行玩后清理掉这个定时器 Laya.timer.clear(this,this.CardAnimation); //清理定时...

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