大约有 377 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0040 秒)
Laya_社区(160) Laya3.0_api(70) Laya2.0_api(62) laya_api(59) Laya_示例(9) Laya2.0_文档(8) Laya2.0_示例(7) Laya3.0_文档(2)
... 分享 微博 QZONE 微信 z298959 赞同来自: var res = new laya.maths.Rectangle(0,0,10,10) ani.setBounds(res) 并不能改变动画显示大小 2017-06-29 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 z298959 相关问题 Layaai...
来源: Laya_社区 发布时间: 20170629
...好了 if(hero == null) { this.tiledmap.name = "xx00"; var viewRect = new Rectangle(0,0,1080,1100); this.tiledmap.createMap("../laya/assets/map/beitianting.json",viewRect,Handler.create(this,onMapCreated)); } 仙魔世界测试.rar 2017-11-20 0 0 分享 微博 QZONE 微信 layaxiaohu 赞同来自...
来源: Laya_社区 发布时间: 20171120
...提交 2 个回复 心随欲动 赞同来自: 152*****298 XXX.scrollRect = Rectangle Laya.Physics.I.worldRoot = XXX; 2019-05-05 1 0 分享 微博 QZONE 微信 Wei 赞同来自: 同樣遇到此問題,版本是2.0.0beta5,要對stage做scrollRect才會正常,但這樣就不能放UI了 2018-11-27 ...
来源: Laya_社区 发布时间: 20181101
...ge.SCREEN_NODE;*/ this.tMap = new Laya.TiledMap(); var viewRect = new Laya.Rectangle(0,0,W,H); this.tMap.createMap("../bin/res/TileMap/orthogonal.json",viewRect); } Start(); 附件 : --> 2018-09-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180915
... btn_bottom[i].scale(scaleMin, scaleMin); var rect = new Laya.Rectangle(btnWidth * i + space * (i + 1), Browser.clientHeight - btnHeight - 10, btnWidth, btnHeight); console.log("rect"+i+":"+rect); // btn_bottom[i].hitArea = rect; btn_bottom[i].on("cli...
来源: Laya_社区 发布时间: 20161202
...同来自: 还有一个问题,就是mask不支持旋转,旋转后的 Rectangle 还是未旋转后的裁剪范围值,导致遮罩异常。 2025-01-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 vincen...
来源: Laya_社区 发布时间: 20250108
...应该是new Sprite,通过如下方法实现绑定关系 var boxA = Bodies.rectangle(50, 200, 80, 80); var layaSprite:Sprite = new Sprite(); layaSprite.graphics.drawRect( -40, -40, 80, 80, "#ffff00"); boxA.layaSprite = layaSprite; 2018-05-14 0 2 分享 微博 QZONE 微信 liudong95 赞同来自: ...
来源: Laya_社区 发布时间: 20180423
...p" //rendertarget要限制一下大小 要混合的图层.scrollrect = new Rectangle(0,0,browser.clientWidth,browser.clientHeight); 加上这两行试一下 2017-12-23 0 0 分享 微博 QZONE 微信 五六 赞同来自: 圆形有用,方形就没有用了???!这是为什么 2018-11-11...
来源: Laya_社区 发布时间: 20171222
...不好用了,请帮我看看是什么问题 已提供demo 附件 : --> RectangleTest.zip 2025-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 LayaAir大为 赞同来自: 大宝 、haifei 您好,我们...
来源: Laya_社区 发布时间: 20250726
...(Browser.width, Browser.height, WebGL); this.CreateCircle(); // this.CreateRectangle(); } private firstSp: Laya.Sprite; private _adaptSp: Laya.Sprite; private _pointList : Point[]; private _rootSp : Laya.Sprite; public CreateCircle() { this._rootSp = new Laya.Sprite(); this.firstSp = new Laya.Sp...
来源: Laya_社区 发布时间: 20190314