大约有 87 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
...性值。*/ static ERROR: string; /** 定义 complete 事件对象的 type 属性值。*/ static COMPLETE: string; /** 定义 loaded 事件对象的 type 属性值。*/ static LOADED: string; /** 定义 progres...
来源: Laya_社区 发布时间: 20170601
...中断网,动画还会继续加载吗? 引擎加载动画完成的 event.complet 事件,在加载动画过程中断网,然后重连网络后,该事件一直没有被触发?请问有什么解决方案吗? 2018-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20180331
...e(); Laya.stage.addChild(apesCtn); var _this = this; this.tl.on(this.Event.COMPLETE,this,function(){ _this.tl.stop(); }) console.log(this.tl) this.tl.interval = 1000 / 60; // this.tl.play(); apesCtn.addChild(this.tl); apesCtn.height = 1500; apesCtn.width = 3248; this.tl.pivot(-1624,-750); }, 2019-01...
来源: Laya_社区 发布时间: 20190117
...ishIndex]; this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); this.mFactory.loadAni(aniPath); } // 动画解析完成,添加到舞台,并且开始swim parseComplete(): void { this.mArmature = this.mFactory.buildArmature(0); this.mArmature.x = 0; th...
来源: Laya_社区 发布时间: 20161209
...离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; Floor.__super.call(this); } //事件名称 //超过屏幕一定值出发新的floor事件 Floor.OUT_COMPLETE = "floor_out_complete"; //整...
来源: Laya_社区 发布时间: 20160801
...dler(e:Object):void{var http:HttpRequest = new HttpRequest();http.on(Event.COMPLETE,this,completeHandler);http.send("489.mp3","","get",Loader.BUFFER);}private function completeHandler(e:Object):void{audioContext.decodeAudioData(e,decodeAudioData.bind(this));}private function decodeAudioData(buffer:O...
来源: Laya_社区 发布时间: 20181023
...lic currentAction:string = "stand"; /*角色动画是否完成*/ public aniComplete:Boolean = true; /*角色移动速度*/ public speed:number = 0.04; /*3D摄像机*/ public camera:Laya.Camera; /*摇杆控制器*/ private rocker:RockerView; /*攻击按钮控制器*/ private attack:attackView; /*摇...
来源: Laya_社区 发布时间: 20171113
...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite loadImages(urls:...
来源: laya_api 发布时间: 20170929
...。选择动画模版的过程如下:1.Animation loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取...
来源: Laya2.0_api 发布时间: 20190513
...{ if(this.te == null){ this.te = new Laya.Templet(); this.te.on(Laya.Event.COMPLETE, this, this.teComplete); this.te.loadAni("res/wing_01_side.sk"); } } else if(e.keyCode == 50 || e.keyCode == 98) { if(this.te != null){ this.te.destroy(); this.te = null; this.sk.destroy(); this.sk = null; } } } priv...
来源: Laya_社区 发布时间: 20190320