大约有 1,614 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(984) Laya2.0_文档(192) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya3.0_文档(28)
...alse); //是否显示帧率 var loginView:LoginView = new LoginVie(); this.addChild(loginView); } } } B、LoginView类是第一个界面,这个类展示如何引入分包文件:package login { import flash.display.Sprite; import flash.events.Event; import home.HomeView; import iflash.method.impo...
来源: Laya_社区 发布时间: 20151103
...s/land.png"; image.x = i * tempWidth; image.y = j * tempHeight; Laya.stage.addChild(image); } } } } } 具体平铺方式你可以根据自己的需求来改! 2016-08-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zhangbojava 相关...
来源: Laya_社区 发布时间: 20160830
...mboBox.selectHandler = new Handler(this, onSelect, [comboBox]); Laya.stage.addChild(comboBox); return comboBox; } function onSelect(cb) { console.log("选中了: " + cb.selectedLabel); } })(); ```
来源: Laya2.0_文档 发布时间: 20210714
...文件 tl.loadAnimation("./card/card.ani"); //添加到舞台 Laya.stage.addChild(tl); //播放Animation动画 tl.play(); tl.on(Event.COMPLETE, this, () => {console.log('end')}); } 2018-08-23 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20180817
...loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, fa...
来源: Laya2.0_文档 发布时间: 20210715
...lement(); iframe.href="http://www.baidu.com"; Laya.stage.addChild(iframe); //showText(); })(); 2017-11-13 0 0 分享 微博 QZONE 微信 wudi199553 赞同来自: 麻烦你说的具体一点行么 2017-11-13 0 3 分享 微博 QZONE 微信 ymsdandan 赞同来自: Browser.window...
来源: Laya_社区 发布时间: 20171113
...Laya.Particle2D(settings); // sp.emitter.start(); // sp.play(); Laya.stage.addChild(sp); sp.x = Laya.stage.width / 2; sp.y = Laya.stage.height / 2; } 附件 : --> 2019-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20191227
... render2.texture = new Laya.Texture(tex2); Laya.stage.addChild(render1); Laya.stage.addChild(render2); render1.pos(200,600); render2.pos(200,800); } } 勾选主相机之前 勾选主相机之后 具体参考附件demo 附件 : --> tes...
来源: Laya_社区 发布时间: 20251229
...ite() { picture = new Sprite(); picture.loadImage(picturePath); Laya.stage.addChild(picture); var texture = Laya.loader.getRes(picturePath); picturePath.pivot(texture.width / 2, texture.height / 2); picture.x = Laya.stage.width / 2; picture.y = Laya.stage.height / 2; picture.scale(cardScaleValue, ca...
来源: Laya_社区 发布时间: 20181022
... this.Img.x =0; this.Img.y =0; this.Img.url ="../game/1.png"; Laya.stage.addChild(this.Img); //获取图片初始x y轴坐标 this.ImgX=this.Img.x; this.ImgY =this.Img.y; this.layout(); Laya.stage.on(Laya.Event.RESIZE, this, this.layout); Laya.stage.on(Laya.Event.ADDED, this, this.layout); layout...
来源: Laya_社区 发布时间: 20181123