大约有 486 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...de.js:18522:8) 解决方案 : 找到音效停止的地方 , 注释 : this._audio= null; , 防止将audio回收即可.. 附件 : --> 2018-11-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同...
来源: Laya_社区 发布时间: 20181122
... { // 第一次创建一个动画 if (null == this.mAnimaCur) { this.mAnimaCur = new laya.display.Animation(); this.mAnimaCur.interval = 100; this.addChild(this.mAnimaCur); } var lo...
来源: Laya_社区 发布时间: 20161205
...调方法 Laya.loader.load("res/atlas/ui/boos.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { // //创建一个Animation实例 // var tl = new Laya.Animation(); // //加载动画文件 // tl.loadAnimation("test.ani"); // //添加到舞台 // Laya.stage.addChild(tl); // //播放An...
来源: Laya_社区 发布时间: 20190708
...ading_fly = function (_super) { function Loading_fly() { Loading_fly.super(this); this.onPlay(); } Laya.class(Loading_fly, "Loading_fly", _super) var _proto = Loading_fly.prototype; _proto.onPlay = function () { UIConfig.popupBgAlpha = 0.85; UIConfig.closeDialogOnSide = false; this.diango = new Laya...
来源: Laya_社区 发布时间: 20171107
... 1 个回复 cuixueying 赞同来自: 1、你的写法是: console.log("this.roleName.indexOf(this.shieldArray):" + this.roleName.indexOf(this.shieldArray));其中: this.roleName为"暗诗炎舞" this.shieldArray为“” 运行:"暗诗炎舞".indexOf(""),,当没有写任何东西的时候...
来源: Laya_社区 发布时间: 20170828
...a5416 • 2017-08-25 09:47 AudioSound类的play方法 177行 channel.url = this.url; 提示这个url报错 yonghua5416 • 2017-08-25 09:49 应该是切换,播放背景音乐时报错的 yonghua5416 • 2017-08-25 10:20 确定是切换背景音乐的导致的报错
来源: Laya_社区 发布时间: 20170824
...暴增,这是为啥???? var url = App.animManager.getUrl(id); this.ani.loadAtlas(url,null,id); this.ani.alpha = 0.5; this.ani.play(0, true); var grayMat = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]; //创建一个颜色滤镜对象,灰图 var scaleFilter = new Laya...
来源: Laya_社区 发布时间: 20180515
.../attack state.clipStart = clipStart; state.clipEnd = clipEnd; state.clip = this._animator.getDefaultState().clip; this._animator.addState(state);每个状态的clip都是 this._animator.getDefaultState().clip 这个对象。 播放动作时,是根据动作类型设置是否循环。 this._animato...
来源: Laya_社区 发布时间: 20200410
...在IOS上百分百出现绘制不完全的BUG:如下图 update() { this.updatePowerProgressTest(); } //更新蓄力进度圈 updatePowerProgressTest() { //是否为增加进度条 if (this.isIncPower) { //蓄力速度 this.currentPower += 5; if (this.currentPower >= this.powerTotal) { thi...
来源: Laya_社区 发布时间: 20190909
...r LoadResource = function () { LoadResource.prototype.init = function () { this._container = new Sprite(); Laya.stage.addChild(this._container); Laya.loader.load(["../bin/res/ui/progressBar.png", "../bin/res/ui/progressBar$bar.png"], Handler.create(this, this.onPreloaded)); }; LoadResource.prototype...
来源: Laya_社区 发布时间: 20200924