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

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

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

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

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

12. Skeleton动画在自然停止时不会移除play时添加的frameloop [ 74%]

Skeleton动画在自然停止时不会移除play时添加的frameloop Skeleton动画在play方法中,会添加_update到frameLoop,但只有在主动调用stop方法时才会移除该frameloop,在自然播放到结束时不会移除。 这样造成了添加了该Skeleton的场景在removeSelf...

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

13. js继承模式 [ 74%]

...otype.init = function() { Laya.stage.addChild(this); this.bg(); Laya.timer.frameLoop(1, this, this.loop); }; Class.prototype.bg = function() { for (var i = 0; i < 2; i++) { this.img[i] = new Laya.Image('background.png'); this.addChild(this.img[i]); } this.img[0].y = 0; this.img[1].y = -852; } Cla...

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

14. 计时器-间隔循环 [ 73%]

...edText.y + vGap); Laya.timer.loop(200, this, animateTimeBased); Laya.timer.frameLoop(2, this, animateFrameRateBased); } function createText(text, x, y) { var t = new Text(); t.text = text; t.fontSize = 30; t.color = "white"; t.bold = true; t.pivot(t.width / 2, t.height / 2); t.pos(x, y); Laya.stage....

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

15. 计时器-间隔循环 [ 72%]

...t.y + vGap); Laya.timer.loop(200, this, this.animateTimeBased); Laya.timer.frameLoop(2, this, this.animateFrameRateBased); } createText(text, x, y) { const Text = Laya.Text; let t = new Text(); t.text = text; t.fontSize = 30; t.color = "white"; t.bold = true; t.pivot(t.width / 2, t.height / 2); t.po...

来源: Laya2.0_示例 发布时间: 20240930

16. 你先用Laya.timer.frameLoop 然后再用tween才可以生效 直接用tween没用 [ 72%]

你先用Laya.timer.frameLoop 然后再用tween才可以生效 直接用tween没用 什么意思,Tween代码需要在loop里写? 我尝试了在frameLoop里写Tween还是不动 2018-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

17. laya.utils.Timer [ 72%]

... clearAll(caller:*):void 清理对象身上的所有定时器。 Timer  frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行(基于帧率)。 Timer  frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:B...

来源: laya_api 发布时间: 20170929

18. laya.utils.Timer [ 71%]

... clearAll(caller:*):void 清理对象身上的所有定时器。 Timer  frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行(基于帧率)。 Timer  frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:B...

来源: Laya2.0_api 发布时间: 20190513

19. 在手机QQ浏览器上,在loop循环里修改inputText的位置会使inputText不显示,在电脑上和手机内置浏览器都是正常的 [ 70%]

...浏览器都是正常的 qq浏览器版本:安卓 8.1.3.3851 Laya.timer.frameLoop(100, this, function () { inputText.y = Laya.Browser.height-100; }); 2018-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w11...

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

20. 怎么停止当前的定时器? [ 70%]

...城市名字 关闭指定定时器timer 怎么停止正在运行Laya.timer.frameLoop的回调函数 背景音乐问题,停止与播放状态与InnerAudioContext对象不同步 怎么获取当前触发鼠标点击的某个物体 [ts] “protobuf”指 UMD 全局,但当前文件是模块。请考...

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