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

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

171. animation动画结束后怎么监听? [ 70%]

...的链接 提交 2 个回复   赞同来自: anifish1.on(Event.COMPLETE,this,complete) function complete(){                             } 你是不是要问这个 2018-10-11 0 1 分享 微博 QZONE 微信 FullyI 赞同来自: 我用这个方法监听动画播放完成,有问题,...

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

172. spine动画放大后,遮罩显示不正常 [ 70%]

...); //设置单例的引用方式,方便其他类引用 GameUI.instance = this; //关闭多点触控,否则就无敌了 Laya.MouseManager.multiTouchEnabled = false; //加载场景文件 this.loadScene("test/TestScene.scene"); }  onEnable() {         this.loadActor(this.actor1,"comp/r_01_...

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

173. 重复背景,全方向地图拖动Demo [ 70%]

... 1800 class WorldPage extends ui.WorldPageUI{ constructor (x,y) { super() this.maxX = 149850 this.maxY = 97500 this.offsetX = x * 150 this.offsetY = y * 150 this.downMouseX = 0 this.downMouseY = 0 Laya.loader.load(['bg/world_bg.jpg']) Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.mouseDown) Laya.sta...

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

174. 求救 Laya2.0下的Particle2D问题 [ 70%]

...置为true Laya.loader.load('../bin/testflame.part', Laya.Handler.create(this, (setting) => { let frame = new Laya.Particle2D(setting); let key = keyString; let frameX; let frameY; let play = true; let frameScale; let frameRotation; //问题在下面://如果首次传入E/Q,尾焰正常出现...

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

175. 我创建了 一个 dialogUI,怎么在页面中打开? [ 70%]

我创建了 一个 dialogUI,怎么在页面中打开? this.wrong=new ui.wrongUI; this.wrong.width=300; this.wrong.height=200; this.wrong.x=50; this.wrong.y=100; this.doworkui.addChild(this.wrong); doworkui是我的一个UI,我要在这个面中打开一个对话框. wrongUI是我创建的 对话...

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

176. Laya.timer.loop()如何停止 [ 70%]

...***192 赞同来自: zjwytqm 、cuixueying 、umi_  Laya.timer.loop(1000, this, animateTimeBased);//添加 Laya.timer.clear(this,animateTimeBased);          //删除 2017-06-05 3 3 分享 微博 QZONE 微信 Y_Yao 赞同来自: 清除定时器clear(); 2017-06-05 0 0 分享 微博 QZONE 微...

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

177. H5页面的骨骼动画不能显示完整,兼容性问题? [ 70%]

...整,兼容性问题? // 加载动画 loadAni(): void { var aniPath = this.ANIS[this.fishIndex]; this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); this.mFactory.loadAni(aniPath); } // 动画解析完成,添加到舞台,并且开始swim parseCom...

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

178. JS中出现//*no*/this.[类名]…是什么意思? [ 69%]

JS中出现//*no*/this.[类名]…是什么意思? 2015-12-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自:   此报错通常会有2种情况: a.编译当前.as类的时候没有找...

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

179. 播放视频只有声音没有图像 [ 69%]

...ginGame extends Laya.Scene { constructor() { super(); LoginGame.instance = this; Laya.MouseManager.multiTouchEnabled = false; this.loadScene("LoginGame.scene"); } onEnable() { SoundManager.playMusic("audio/梅林茂 - 静かな古都.mp3", 0); this.login_game_button.on(Laya.Event.CLICK, this,this.on...

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

180. Spine骨骼动画点击区域偏移 获取不到width height [ 69%]

...te _factory: Laya.Templet;  constructor(spine, x, y, speed) {         this._factory = new Laya.Templet();         this._factory.loadAni(`../bin/res/spine_model/${spine}.sk`);         this._factory.on(Laya.Event.COMPLETE, this, this.parseComplete, [x, y]);     }     private parseComp...

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