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

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

751. 2.1beta骨骼动画重复播放 必抖动 [ 56%]

...是我监听动画完成并且设置不要重复播放 this.mArmature.on(Event.STOPPED, this, this.playStanding); this.mArmature.play("standing",false);//设置为false 不重复播放动画播放完成后在播放一次,依次循环…… 这样就没有抖动了 附件 : --> 2019-05-21 添加评...

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

752. 无法清除指定定时器 [ 56%]

...       trace("______________________");         } this.stage.on(Event.MOUSE_UP, this, onB); private function onB():void          {             Laya.timer.clear(this, this.looppp);             SoundManager.playSound("res/sound/onClick.wav");         } 我这...

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

753. Sprite3D的Layer(JavaScript-3D基础(JS)-LayaAir3D之精灵) [ 56%]

...4; ...... //切换图层按钮事件监听 this.changeActionButton.on(Laya.Event.CLICK, this, function():void { this.camera.removeAllLayers(); this.layerIndex ++; this.camera.addLayer(this.layerIndex%4 +1); this.camera.addLayer(5); }); ``` ![](img/1.gif)(图1)

来源: Laya2.0_文档 发布时间: 20210715

754. Sprite3D的Layer(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 56%]

...4; ...... //切换图层按钮事件监听 this.changeActionButton.on(Laya.Event.CLICK, this, function():void { this.camera.removeAllLayers(); this.layerIndex ++; this.camera.addLayer(this.layerIndex%4 +1); this.camera.addLayer(5); }); ``` ![](img/1.gif)(图1)

来源: Laya2.0_文档 发布时间: 20210715

755. Stage中删除不掉Scene [ 56%]

Stage中删除不掉Scene Laya.stage.on(Laya.Event.MOUSE_UP, this, function () {     var str = "";     if (!hit.sprite3D) {         str = "点击选取的几何体";     } else {         Laya.stage.removeChild(scene3D);     }     console.log(str); });     每次删除scene3D后...

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

756. 微信加载文件失败没有回调 [ 56%]

...e.log("LoadError")} LoadOK(){console.log("LoadOK")}   Laya.loader.on(Laya.Event.ERROR,this,this.LoadError) Laya.loader.load("不存在的图片URL",Laya.Handler(this,this.LoadOK));     发布成微信小游戏版本在真机微信上运行,发现这2个回调都没执行。   2018-09-20 添加...

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

757. Laya IDE横竖屏切换时,不断刷新 [ 56%]

...his, initGame)); Laya.timer.frameOnce(1, this, function () { Laya.stage.on(Event.RESIZE, this, function () { window.location.reload(); }) }) 2018-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同...

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

758. 一个没有动作的骨骼动画 替换插图没有用 [ 56%]

...     this.skebqb.play(4, false);         this.skebqb.on(Laya.Event.STOPPED,this,this.changeSkin);         this.owner.addChild(this.skebqb);         this.skebqb.pos(500, 600);         this.changeSkin();     }      changeSkin(){         this.skeb...

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

759. 透明区域点击问题 [ 56%]

...= true; sprite0.name = 'sprite0'; Laya.stage.addChild(sprite0); sprite0.on(Event.CLICK, this, handler_click); 怎么让sp透明区域不可点,有像素的地方才能接受到事件; hitArea,目前只支持圆形,矩形,多边形,而sp绘制的是一个不规则图形,请问这个怎么...

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

760. 如何取消 window 的 resize事件啊? [ 56%]

... 有的不生效 微信小游戏与加载图片时不会触发erroe事件 event自定义事件的问题 鼠标滚轮滚动事件 3d物理不能触发onCollisionEnter事件 问题状态 最新活动: 2017-02-06 18:51 浏览: 3537 关注: 2 人 trlanfeng • 2017-02-06 19:38 这个针对的是laya对...

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