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

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

91. 图集动画没有显示 [ 76%]

... 'res/atlas/cloud.json'; Laya.loader.load(AniConfPath, Laya.Handler.create(this, this.createAnimation), null, Laya.loader.ATLAS); function createAnimation() { var ani = new Laya.Animation(); ani.loadAtlas(AniConfPath); ani.interval = 30; ani.index = 1; ani.play(); Laya.stage.addChild(ani); } 2017-09...

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

92. DOMException: The play() request was interrupted by a call to pause [ 76%]

...本Laya.Animator发现play方法的存在BUG 龙骨动画play播放时,this._templet.getAnimationCount()报错? 问题状态 最新活动: 2017-08-15 16:42 浏览: 1827 关注: 2 人 popo • 2017-08-15 16:52 这个设置 下播间隔就好 Monica • 2017-08-15 16:55 @popo:不太清楚具体是...

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

93. 1.5.4_beta,动画播放完毕的监视器很大概率会不起作用了 [ 76%]

...    {         // 第一次创建一个动画         if (null == this.mAnimaCur)         {             this.mAnimaCur = new laya.display.Animation();             this.mAnimaCur.interval = 100;             this.addChild(this.mAnimaCur);         }         var lo...

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

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

...the .lh file root type must be Scene,please use other function to  load  this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to  load  this file.     at MyScene.__proto.onAsynLoaded (http://127.0.0.1:59022/game/code....

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

95. ReferenceError: Loading_fly is not defined [ 76%]

...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

96. [LayaAirIDE3]时间轴动画调了材质引用类型的属性,调用play()接口切状态的时候调用_revertDefaultKeyframeNodes报材质属性空 [ 76%]

...      var fullPath = node.fullPath;         var keyframeNodeOwner = this._keyframeNodeOwnerMap[fullPath];         let mat = false;         if (keyframeNodeOwner) {             keyframeNodeOwner.referenceCount++;             clipOwners[nodeIndex] = keyframeNodeOwner;     ...

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

97. 经常会出现动画不动的问题是我代码导致还是就是有这问题呢 [ 75%]

...出现动画不动的问题是我代码导致还是就是有这问题呢 this.yzsAni.play(); Laya.stage.addChild(this.yzsAni);   连续调用不同动画的play,经常会出现动画不动的问题是我代码导致还是就是有这问题呢   2017-11-03 添加评论 免费帖 --> 分享 微博...

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

98. 分享:销毁龙骨动画! [ 75%]

... = 250; addBtn.y = 50; Laya.stage.addChild(addBtn); DesBtn.on(Event.CLICK, this, onDesBtn); addBtn.on(Event.CLICK, this, onAddBtn); } private function onDesBtn():void { destroy(); } private function onAddBtn():void { startFun(); } public function startFun():void { mAniPath = "Dragon/Dragon.sk"; mFac...

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

99. [0]Laya3.0.3 的VideoNode不支持在微信浏览器中播放 [ 75%]

...Laya3.0.3 的VideoNode不支持在微信浏览器中播放 let videoNode = this.owner.getChildByName("VideoNode") as Laya.VideoNode; videoNode.source = 'xxx.mp4'; videoNode.play(); // 上面代码在PC端安卓苹果等自带浏览器支持视频播放,但是在微信浏览器无任何显示。 le...

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

100. 关于as版的Animation.createFrames()不能工作? [ 75%]

...ya.Stat.show(); Laya.loader.load("res/atlas/war.json", Laya.Handler.create(this, this.onLoaded), null, Laya.Loader.ATLAS); Laya.loader.on(Event.ERROR, this, onError); } protected function onError(error:String):void { trace(error); } protected function onLoaded():void { Animation.createFrames(["war/h...

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