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

大约有 1,218 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)

511. Chrome和layaAir调试,大部分点击事件没有反应了 [ 66%]

...是引擎的bug。 Chrome控制台有警告,描述:Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 但是好像之前也有,所以...

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

512. Dragonbones龙骨动画 播放不同动作出现闪烁 混乱 [ 66%]

...ete; } this.aniUrl = aniUrl; this.templet = new Templet(); this.templet.on(Event.COMPLETE, this, this.parseComplete); // this.templet.on(Event.ERROR, this, this.onError); this.templet.loadAni(this.aniUrl); this.maskBox.graphics.drawRect(0,0,this.width,this.height,'#ffffff'); this.mask = this.maskBox...

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

513. laya.utils.TimeLine [ 66%]

...ll Classes | Index | Frames No Frames TimeLineProperties | Methods | Events Packagelaya.utilsClasspublic class TimeLineInheritanceTimeLine EventDispatcher Object TimeLine 是一个用来创建时间轴动画的类。 Public Properties PropertyDefined By  scale : Number = 1 缩放动画播...

来源: laya_api 发布时间: 20170929

514. 动画监听回调怎么会无限成倍调用 [ 66%]

动画监听回调怎么会无限成倍调用 this.star.on(Laya.Event.COMPLETE, this, function () { 解决这个问题·两天了·我差点怀疑我的智商,写了好几遍正确的递归思路。结果就是成倍调用, 最后发现是 我在递归方法里面监听动画播放完毕,第...

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

515. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 66%]

...veControl);  //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK, this, this.onTipClick); //this._loveControl.startGame();  //点击重置按钮,重新开始 this.button_reset.on(Laya.Event.CLICK, this, this.onClickReset);  let partPath = "res/aixin_bao.part"; Laya.loader.l...

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

516. laya.utils.TimeLine [ 66%]

...ll Classes | Index | Frames No Frames TimeLineProperties | Methods | Events Packagelaya.utilsClasspublic class TimeLineInheritanceTimeLine EventDispatcher Object TimeLine 是一个用来创建时间轴动画的类。 Public Properties PropertyDefined By  scale : Number = 1 缩放动画播...

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

517. 【求助】怎么在自定义对象进行实例化的时候,给它绑定监听事件 [ 66%]

...ld(list); } private function onListRender(food):void{ trace(food); food.on(Event.CLICK,this.test); } private function test():void{ trace("test"); }我换了一种思路,是在实例化Food这个对象的时候,在构造函数里,就绑定事件监听函数。但是生成的JS代码,监听范...

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

518. laya.ani.AnimationPlayer [ 65%]

...ses | Index | Frames No Frames AnimationPlayerProperties | Methods | Events Packagelaya.aniClasspublic class AnimationPlayerInheritanceAnimationPlayer EventDispatcher ObjectImplements laya.resource.IDestroy AnimationPlayer 类用于动画播放器。 Public Properties PropertyDefined By  c...

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

519. 如何实现3d遮罩效果? [ 65%]

...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import threeDimen.common.CameraMoveScript; public class D3Base_TargetTexture { private var skinMesh:MeshSprite...

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

520. Laya中Button等组件lose skin的问题 [ 65%]

...th(content);                 _$this._loaderCount || _$this.event(/*laya.events.Event.COMPLETE*/"complete");             });             }else {             var info=LoaderManager._resMap;             if (!info){             ...

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