大约有 2,307 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0078 秒)
Laya_社区(1512) Laya2.0_文档(259) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(80) Laya2.0_api(74) Laya3.0_文档(73) laya_api(70)
...舞台上 img1.loadImage("bg.jpg"); img2.loadImage("bg.jpg"); Laya.stage.addChild(img2); Laya.stage.addChild(img1); //给两个老婆穿上衣服,并出现在舞台上 //鼠标移动时触发的mousemove事件 function mousemove(){ point.push({ x:Laya.stage.mouseX, ...
来源: Laya_社区 发布时间: 20171018
如何添加对象到DialogManager层以上 例如我 Laya.stage.addChild(Sprite) 一个显示对象。但是dialogmanager自己有层级交换,一会儿刚addChild的Sprite就到dialogManager下一层了 有什么办法解决吗 2019-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20190112
... 人 jkNiso • 2017-12-20 15:54 原来如此,在B类里我应该用this.addChild(),不应该用Laya.stage.addChild(),,谢谢 Laya_Aaron • 2017-12-20 16:49 赞一个~! Laya_Aaron • 2017-12-20 16:51 说道点子上了,当时想说,让exchangeas 类里面加一个方法, 摘除这个...
来源: Laya_社区 发布时间: 20171220
...建 Particle2D 实例 let partIns = new Particle2D(settings); Laya.stage.addChild(partIns); // 开始发射粒子 partIns.emitter.start(); // 播放 partIns.play(); partIns.x = Laya.stage.width / 2; partIns.y = Laya.stage.height / 2; } } new Particle_T2();module laya { import Stage = Laya.Stage; imp...
来源: Laya2.0_示例 发布时间: 20251209
...建 Particle2D 实例 let partIns = new Particle2D(settings); Laya.stage.addChild(partIns); // 开始发射粒子 partIns.emitter.start(); // 播放 partIns.play(); partIns.x = Laya.stage.width / 2; partIns.y = Laya.stage.height / 2; } } new Particle_T3();module laya { import Stage = Laya.Stage; imp...
来源: Laya2.0_示例 发布时间: 20251209
...bg.width >> 1, Laya.stage.height - bg.height >> 1); this.owner.addChild(bg); } private createTimerAnimation(): void { this.counter = new Laya.Clip(this.clipSkin, 10, 1); this.counter.autoPlay = true; this.counter.interval = 1000; this.counter.x = (Laya.stage.width - this.counter.width) /...
来源: Laya3.0_文档 发布时间: 20251010
...ya.Sprite = new Laya.Sprite() son.loadImage("res/me.png",0,0,30,30) father.addChild(son) Laya.stage.addChild(father) father.x = 100; father.y = 100; father.on(Laya.Event.CLICK,this,this.onTestClick) 然而点击后onTestClick()根本不响应,如果改成son.on(...)倒是...
来源: Laya_社区 发布时间: 20181011
...败 var sp:Sprite=new Sprite(); sp.loadImage("img/btnbg2.png"); Laya.stage.addChild(sp); var sp1:Sprite=new Sprite(); sp1.loadImage("system/twoP.png"); Laya.stage.addChild(sp1); img图集中的小图可以调用到,system的图集调用不到,在浏览器的资源列表中加载中加载到了图集...
来源: Laya_社区 发布时间: 20170518
...nberListView = new MenberListView(); MenberListView.init(); Laya.stage.addChild(MenberListView); 与 Laya.stage.addChild(new MenberListView); 有啥区别? 附件 : --> 2017-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20170113
...pi.filters = spi1.filters = spi2.filters = [blurFilter]; this.owner.parent.addChild(spi); this.owner.parent.addChild(spi1); this.owner.parent.addChild(spi2); // }) }求教以下大佬们,是否还有其他的截屏方法(使用了drawToCanvas,因为3d场景对象比较复杂,无法实现预期...
来源: Laya_社区 发布时间: 20191230