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

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

1. 全局动画不能加载 [ 100%]

...mp;& this._frames.length > 1 && this.interval > 0){ this.timerLoop(this.interval,this,this._frameLoop,null,true); } } __proto._setFramesFromCache=function(name){ if (name && Animation.framesMap[name]){ this._frames=Animation.framesMap[name]; this._count=this._frames.length;...

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

2. 调用frameLoop之后,怎么清除 [ 85%]

调用frameLoop之后,怎么清除 比如调用timerLoop后,有clearTimer清除,怎么frameLoop没有对应得方法 2016-08-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: mumu-w...

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

3. 关于 Laya.timer.scale = 0 暂停的问题 [ 82%]

...所有的计时器,想请问下有没有什么方法可以让 Laya.stage,timerLoop忽略掉 scale=0 ,或者有没有其他方式可以实现一部分计时器暂停,一部分开启 2018-02-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

4. 有震屏的算法吗 [ 79%]

...0, 0];    var point:Point = new Point(this.x, this.y);    Laya.stage.timerLoop(speed, this, shakeObject);        function shakeObject(args:Array=null, frameNum:uint=1, frameTime:uint=0):void{     var count:int = (num++) % 4;     offsetArr[num % 2] = count < 2 ? 0 : offset;  ...

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

5. 加载时间轴动画报错 [ 76%]

...TypeError:Cannot read property '_create' of null     at Animation._proto.timerLoop(file:///f:/........./bin/libs/laya.core.js:9493:14)     at Animation._proto.play(file:///f:/....../bin/libs/laya.core.js:16351:10)   请问各位大神这是怎么回事呢? 附件 : --> happyFarm.rar 2017-10-2...

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

6. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 73%]

...          var index:int = 0;             Laya.stage.timerLoop(1, this, function():void{index++;image.alpha = Math.sin(Math.PI*2*(index/24))})              var image:Image = new Image();             image.blendMode = "add";             image....

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

7. 这种进度条怎么实现? [ 73%]

...f") this.addChild(this.$circleSprite) this.start() } public start() { this.timerLoop(2, this, this.draw) } public draw() { if (this.startY >= 270) { this.clearTimer(this, this.draw) } this.startY++ this.graphics.clear() this.graphics.drawPie(this.DEF_SIZE >> 1, this.DEF_SIZE >> 1, thi...

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