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

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

1551. 被遮罩的对象的子显示对象再添加遮罩,子显示对象的遮罩显示不正确 [ 50%]

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

1552. spine 播放错乱 [ 50%]

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

1553. 调用创建微信授权按钮时,授权按钮有时候显示有时候不显示 [ 50%]

...           bottom: 30,                     width: 297*0.45,                     height: 98*0.45,                     lineHeight: 98*0.45,                     backgroundColor: '#ff0000',            ...

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

1554. 怎么在不同时间显示MovieClip的多个实例 [ 50%]

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

1555. 物理使用scrollrect错位问题 [ 50%]

...ldRoot = this.road; this.road.scrollRect = new Laya.Rectangle(0, 100, this.width, this.height); 2020-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabox 赞同来自: 物理辅助线错位问题已解决...

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

1556. cache bitmap size larger than 2048,cache ignored [ 50%]

...的链接 提交 3 个回复 ymsdandan 赞同来自: 你是不是bitmap的width和heigh没有设好,导致超出范围了呀 2017-11-10 0 3 分享 微博 QZONE 微信 ymsdandan 赞同来自: 建议你发个demo过来吧 2017-11-10 0 1 分享 微博 QZONE 微信 Laya_XS 赞同来自: 提交下你...

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

1557. 求助关于TiledMap的版本问题 [ 50%]

...实例,视口区域 var viewRect:Rectangle = new Rectangle(0, 0, Browser.width, Browser.height); //创建TiledMap地图 tMap.createMap("res/TiledMap/orthogonal-outside.json",viewRect, Handler.create(this, this.onCreateMapLoaded)); } private function onCreateMapLoaded():void { trace("loaded..."); }...

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

1558. 【紧急】laya2.0的loadImage方法为什么不触发complete? [ 50%]

...多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。</p>          * @param url       图片地址。          * @param complete  (可选)加载完成回调。          * @return  返回精灵对象本身。...

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

1559. 3D基础显示对象 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...建Box网格。 * @param long 半径 * @param height 垂直层数 * @param width 水平层数 * @return */ static createBox(long: number = 1, height: number = 1, width: number = 1): Mesh 可以看到,通过 createBox 方法,可以创建Box网格,而且还可以创建不同的垂直和水平高...

来源: Laya3.0_文档 发布时间: 20251010

1560. [LayaAirIDE3]2d相机打包后问题 [ 50%]

...meraController);          // 设置边界参数         const MAP_WIDTH = 6294;         const MAP_HEIGHT = 4196;         const MAP_X = -1230;         const MAP_Y = -849;          this.playerScript.mapMinX = MAP_X;         this.playerScript.mapMaxX = MAP_X + MAP_WIDTH; ...

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