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

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

101. 使用音频 · LayaAir3.0文档 · LAYABOX [ 54%]

...lay(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… Copyright ©Layabox 2022 all right reserved,powered...

来源: Laya3.0_文档 发布时间: 20230718

102. laya.ui.Clip [ 54%]

...| All Classes | Index | Frames No Frames ClipProperties | Methods | Events Packagelaya.uiClasspublic class ClipInheritanceClip Component Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分...

来源: laya_api 发布时间: 20170929

103. 动态阴影被切割了?为啥没有显示完成的阴影 [ 53%]

...age.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); Laya.stage.on(Laya.Event.CLICK, this, mouseHandler); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene()); function LayaAir3D() { //添加照相机 var camera = (scene.addChild(new Laya.Camera()));//0, 0.3, 100 camera.transform.tr...

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

104. 使用IDE制作的动画在pc模拟器播放OK在手机端不显示 [ 53%]

....Sprite(); 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); }, 2...

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

105. laya.ui.Clip [ 53%]

...| All Classes | Index | Frames No Frames ClipProperties | Methods | Events Packagelaya.uiClasspublic class ClipInheritanceClip UIComponent Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分...

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

106. Laya3.0正式版spine3.8的动画资源不能正常显示 [ 52%]

...ageHeight / 2 + 100); this.skeleton.scale(0.4, 0.4); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); }); } private play(): void { if (++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } this.skeleton.play(this.index, false, true) } } 附件 : --> SpineTestProject.zi...

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

107. laya.particle.Particle2D [ 52%]

... Classes | Index | Frames No Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Prop...

来源: laya_api 发布时间: 20170929

108. LAYA转换后,MovieClip的gotoAndStop方法会使子MovieClip偶尔显示不出图片 [ 52%]

...倒没试过,我是用LOADER加载的,加载完后执行this.addChild(event.target.loader); jiahuafu • 2016-07-19 10:37 谢谢!另外一个游戏我去试下 jiahuafu • 2016-07-22 10:03 preSwfAssets这方法管用,哈哈,请问这个原理是什么? cuixueying • 2016-07-22 12:22 ...

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

109. Clip属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 52%]

...代码:** ```javascript package { import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.ui.Clip; import laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_Clip { /***控制器按钮资源***/ private var buttonSkin:String = "../../....

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

110. 内置骨骼动画 · LayaAir3.0文档 · LAYABOX [ 51%]

...,调用completeHandler继续播放下一个动画 this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler(): void { this.play(); } //播放骨骼动画 private play(): void { //每次到下一个动画 this.mCurrIndex++; if (this.mCurrIndex &gt...

来源: Laya3.0_文档 发布时间: 20230303