大约有 383 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0037 秒)
Laya_社区(166) Laya3.0_api(70) Laya2.0_api(62) laya_api(59) Laya_示例(9) Laya2.0_文档(8) Laya2.0_示例(7) Laya3.0_文档(2)
...p" //rendertarget要限制一下大小 要混合的图层.scrollrect = new Rectangle(0,0,browser.clientWidth,browser.clientHeight); 加上这两行试一下 2017-12-23 0 0 分享 微博 QZONE 微信 五六 赞同来自: 圆形有用,方形就没有用了???!这是为什么 2018-11-11...
来源: Laya_社区 发布时间: 20171222
...应该是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
...某新版到了GraphicsBounds.as)里面有调用,而且最后都会到Rectangle._getWrapRec去,得到4个点,那么这里对rst的分类处理是什么用的啊? @cuixueying ------------------------------- 原问题:通过文档和一些实践,我知道了getBounds和getGraphicBo...
来源: Laya_社区 发布时间: 20170828
...不好用了,请帮我看看是什么问题 已提供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
...', xOffset: 116 / 2, yOffset: 98 / 2 - 2 } } this._body = Matter.Bodies.rectangle(WinWidth / 4, WinHeight / 2, 75, 70, birdOptions); 第一个问题是透明度opacity设置无效 第二个问题: 上面这个是初始化,后面在游戏过程中...
来源: Laya_社区 发布时间: 20180611
...一截 初步定位应该是AutoBitmap创建子纹理的时候,截取Rectangle运算有问题,导致子纹理小了一圈 附件 : --> demo.zip 2025-06-18 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复...
来源: Laya_社区 发布时间: 20250618
...peterz3g • 2017-07-20 10:28 getBounds的结果和之前一样,都是0. Rectangle {x: 0, y: 0, width: 0, height: 0} cuixueying • 2017-07-20 10:30 能提供一个简单的例子,我们看下你是怎么写的吗? peterz3g • 2017-07-20 10:43 好的,我总结一下目前遇到的问题,...
来源: Laya_社区 发布时间: 20170720
...eCallback.onHide()"),提示JaveCallback is not defined 为什么new不出Rectangle的类,提示not defined ConchShader is not defined 微信小游戏:Matter is not defined 问题状态 最新活动: 2018-09-12 15:42 浏览: 1012 关注: 2 人 lolololo • 2018-09-12 16:37 我在循环中打印...
来源: Laya_社区 发布时间: 20180911
....buildArmature(1); mArmature.x = 100; mArmature.y = 200; var rect=new Laya.Rectangle(-200,-200,300,300); mArmature.hitArea=rect; Laya.stage.addChild(mArmature); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName("goblin"); mArmature.play(0, false); mArmature.stop(); } function o...
来源: Laya_社区 发布时间: 20170830