大约有 1,614 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0084 秒)
Laya_社区(984) Laya2.0_文档(192) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya3.0_文档(28)
...过五六个小时后才不会报这个错。。才能进去 用Laya.stage.addChild(new testUI());后,原来让页面还在运行 问题状态 最新活动: 2019-11-18 19:57 浏览: 818 关注: 1 人
来源: Laya_社区 发布时间: 20191118
...如下 var ape: Sprite = new Sprite(); Laya.stage.addChild(ape); ape.loadImage("../../res/atlas/—.png"); 2017-11-08 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 1...
来源: Laya_社区 发布时间: 20171108
...le:"NO."+i}); } console.log(test.m_list) test.m_list.array=arr; Laya.stage.addChild(test); test.show(); })(); 但没有出来想看到的效果,个人对这个list.array不是很理解,我翻看了官网的其他文档和实例,也没能理解,请指点下,这个list.array我应该按照...
来源: Laya_社区 发布时间: 20170503
...ed Public Methods MethodDefined By PhysicsDebugDraw()PhysicsDebugDraw addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...png"); this.bg = new laya.display.Sprite(); this.bg.graphics.clear(); this.addChild(this.bg); //因为上面的图片是截取的 所以右边可能没有图片了 这里补一个 this.rightBg = new laya.display.Sprite(); this.rightBg.graphics.drawTexture(laya.resource.Texture.createFromTexture(this...
来源: Laya_社区 发布时间: 20160801
...设置 现在我在一个按钮上做了一个特效播放, Laya.stage.addChild(Laya.Scene.load("res/LayaScene_1/1.ls")) as Laya.Scene; 怎么取改变这个特效的大小呢? 2018-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20180321
...LoadProgressBinder.bindAll) this.progressUI.UIMenu.value = 0.0; Laya.stage.addChild(this.progressUI.displayObject); Laya.timer.loop(100, this, this.updataPosition); this.loadMainDatas(); } public updataPosition() { this.progressUI.setPosition(Laya.stage.width / 2, Laya.stage.height / 2); } public lo...
来源: Laya_社区 发布时间: 20171204
...is.bullet); flyer.pos(Laya.stage.mouseX, Laya.stage.mouseY); this._gameBox.addChild(flyer); this._chains.points="118,99,158,70,218,99,258,70,318,99,358,70,418,99,458,70,518,99,558,70"; } /**开始游戏,通过激活本脚本方式开始游戏*/ startGame(): void { if (!this._started) { t...
来源: Laya_社区 发布时间: 20181128
...is.bullet); flyer.pos(Laya.stage.mouseX, Laya.stage.mouseY); this._gameBox.addChild(flyer); this._chains.points="35,35,80,80"; //****新增代码*****,需增加private _chain; } /**开始游戏,通过激活本脚本方式开始游戏*/ startGame(): void { if (!this._started) { this._start...
来源: Laya_社区 发布时间: 20181130
...aya.init(300,300) //这是舞台大小 var btn=new Laya.Spirte; Laya.stage.addChild(btn); btn.on() //这个就可以绑定事件
来源: Laya_社区 发布时间: 20180123