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

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

91. ani动画问题,cannot read property '_tf' of null [ 58%]

....ani1.play(0, false);//出错了             this.ani1.on(Laya.Event.COMPLETE, this, () => {                 this.removeSelf();             });         } 这样播放动画有时候会报错,如附件图,但有时候又不报错 附件 : --> 2017-06-14 添加评论 免...

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

92. box2d引擎报错问题 [ 58%]

...= new Laya.Animation(); ani.loadAnimation("catFly.ani"); ani.on(Laya.Event.COMPLETE, null, recover); function recover(): void { ani.removeSelf(); Laya.Pool.recover("deathEffect", ani); } return ani; } 附件 : --> 2019-10-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

93. 龙骨动画循环播放Label事件被清除 [ 58%]

...行代码. 正常的是不循环播放(间接循环播放),但是接收到complete然后再次播放. 一个是直接循环播放. cuixueying • 2016-12-15 19:49 这个确实不是bug,是这样的,当你循环播放时,实际上播放的是一个动画,所以label只会触发一次,当你...

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

94. 学习官方视频教程中飞机大战游戏出现的问题!! [ 57%]

...his.addChild(this.playAnim);             this.playAnim.on(Laya.Event.COMPLETE,this,this.onPlayComplete);         } onMouseMove():void{         //根据鼠标位移主角方法         this.hero.pos(Laya.stage.mouseX,Laya.stage.mouseY);     }     2018-05-03 0 0 分享 微博 QZO...

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

95. 龙骨动画的监听回调,有时能回调,有时不能回调 [ 57%]

...Templet(){ this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); // this.mFactory.on(Laya.Event.STOPPED,this,this.parseComplete); this.mFactory.on(Laya.Event.ERROR, this, this.onError); this.mFactory.loadAni("res/games/Game_ddz/animation/ddz_figures_lan...

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

96. 【简单跑酷--JS版】---Lv.3 添加地板 [ 57%]

... this.bgTexture = null; //最大右边距离 this.maxRight = 0; this.isOutComplete = false; //背景 this.bg = null; Floor.__super.call(this); } //事件名称 //超过屏幕一定值出发新的floor事件 Floor.OUT_COMPLETE = "floor_out_complete"; //整个地板都不在屏幕里面事件 Floor.OU...

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

97. laya.d3.core.RenderableSprite3D [ 56%]

...定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(typ...

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

98. laya.d3.core.SkinnedMeshSprite3D [ 55%]

...定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(typ...

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

99. 我二进制资源load之后,为什么通过getRes获取不到。 [ 55%]

...戏有个loading页面 我通过load方法把资源全部load之后,在complete方法中通过getRes方法获取不到。部分代码如下: var resources = [ { url: "res/atlas/images/guide.atlas", type: Laya.Loader.ATLAS }, { url: "config/data.txt", type: Laya.Loader.BUFFER }]; Laya.loader.load...

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

100. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 55%]

...e([{url:this._sceneURl, clas:MyScene}], Laya.Handler.create(this, this.loadComplete)); } private loadComplete():void { console.log("debuginfo LayaAir3D constructer loadres complete"); this._scene = MyScene.load(this._sceneURl) as MyScene; this._scene.output(); Laya.stage.addChild(this._sce...

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