• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 377 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0040 秒)

311. 能改变动画下getGraphicBounds 的属性吗 x y width height [ 53%]

... 分享 微博 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

312. 加载资源时同时加载两遍 [ 53%]

...好了 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

313. Laya2.0 Box2D给物理世界加ScrollRect引发的问题~! [ 53%]

...提交 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

314. TiledMap创建地图在LayaAir中显示不完全 [ 52%]

...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

315. 点击区域问题 [ 52%]

... 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

316. [LayaAir3]laya3.3.0 spine设置透明不生效 [ 52%]

...同来自: 还有一个问题,就是mask不支持旋转,旋转后的 Rectangle 还是未旋转后的裁剪范围值,导致遮罩异常。   2025-01-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 vincen...

来源: Laya_社区 发布时间: 20250108

317. matterjs渲染laya的ui [ 52%]

...应该是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

318. webGl 下blendMode = "destination-out";出现黑块的问题 需要怎么解决? [ 52%]

...p" //rendertarget要限制一下大小 要混合的图层.scrollrect = new Rectangle(0,0,browser.clientWidth,browser.clientHeight);   加上这两行试一下   2017-12-23 0 0 分享 微博 QZONE 微信 五六 赞同来自: 圆形有用,方形就没有用了???!这是为什么 2018-11-11...

来源: Laya_社区 发布时间: 20171222

319. [LayaAirIDE3]laya3.3更新后,之前写好的拖拽地图无法使用 [ 52%]

...不好用了,请帮我看看是什么问题  已提供demo 附件 : --> RectangleTest.zip 2025-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 LayaAir大为 赞同来自: 大宝 、haifei 您好,我们...

来源: Laya_社区 发布时间: 20250726

320. 圆环不跟随 sprite 一起缩放? [ 52%]

...(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