大约有 1,761 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(1141) Laya3.0_api(223) Laya2.0_文档(89) Laya2.0_api(72) Laya2.0_示例(66) Laya_示例(63) laya_api(62) Laya3.0_文档(45)
... new logic.UI.role.PlayerHealthBar(); this.playerHB.pivotX = this.playerHB.width / 2; this.playerHB.pivotY = this.playerHB.height / 2; this.playerHB.y = 500; this.playerHB.txtName.text = "搞个毛啊"; // this.playerVO.name; this.addChild(this.playerHB); } private aaa():void { this.playerHB.x += th...
来源: Laya_社区 发布时间: 20180102
... this.tl.play(); apesCtn.addChild(this.tl); apesCtn.height = 1500; apesCtn.width = 3248; this.tl.pivot(-1624,-750); }, 2019-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 需要上...
来源: Laya_社区 发布时间: 20190117
...10,10,10,10); console.log(abc); 代码。 Rectangle {x: 10, y: 10, width: 10, height: 10} 控制台结果, 综上,你的引擎环境有问题。 2018-06-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 进击的猎人 相关...
来源: Laya_社区 发布时间: 20180607
...在多少距离的时候拼接,因为玩家昵称长短也不一样。而width属性是文本框长度,非文字长度。 更复杂的情况类似装备名字写在文字里面, 这样要分更多段了 请问:layaAir有没有提供好的解决方法 2017-05-05 添加评论 免费...
来源: Laya_社区 发布时间: 20170505
...clear(true); this.img.mask.graphics.drawRect(100 - this.img.x, 0, this.img.width, 300, "#ffffff"); } 附件 : --> LayaTest.rar 2019-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 zengjoeng 赞同来自: 谁...
来源: Laya_社区 发布时间: 20190722
...ture(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Laya.Browser.width / 2, Laya.Browser.height / 2 + 100); //this.skeleton.scale(0.5, 0.5); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); } private onError() { console.error("load spine error"); } private play(): void {...
来源: Laya_社区 发布时间: 20210813
... bottom: 30, width: 297*0.45, height: 98*0.45, lineHeight: 98*0.45, backgroundColor: '#ff0000', ...
来源: Laya_社区 发布时间: 20190109
...(); ani_planet.pivotY = ani_planet.pivotX = 350; ani_planet.x = Laya.stage.width/2; ani_planet.load("1.swf",true); ani_planet.y = i*50; addChild(ani_planet); i++; } 以上代码执行后生成一个新的MovieClip实例,然而会把旧的MovieCip销毁掉,要怎么解决这个问题,求指教...
来源: Laya_社区 发布时间: 20180531
...ldRoot = this.road; this.road.scrollRect = new Laya.Rectangle(0, 100, this.width, this.height); 2020-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabox 赞同来自: 物理辅助线错位问题已解决...
来源: Laya_社区 发布时间: 20201011
...的链接 提交 3 个回复 ymsdandan 赞同来自: 你是不是bitmap的width和heigh没有设好,导致超出范围了呀 2017-11-10 0 3 分享 微博 QZONE 微信 ymsdandan 赞同来自: 建议你发个demo过来吧 2017-11-10 0 1 分享 微博 QZONE 微信 Laya_XS 赞同来自: 提交下你...
来源: Laya_社区 发布时间: 20171110