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

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

541. [LayaAir3]Laya3.2.7版worker加载图片404 [ 84%]

...资源路径默认是相对路径,就变成了相对于laya.workerloader.js文件的路径了。 2025-07-02 0 0 分享 微博 QZONE 微信 深夜诗人 赞同来自: Laya.URL.__init__函数被修改了。之前版本是这样的。 ​class URL { static __init__() { null == URL.basePath &&...

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

542. laya中js 如何实现Sprite类继承 [ 84%]

laya中js 如何实现Sprite类继承 求问题解决方法 主文件:a.js    组件文件:Role.js a.js文件代码: this.Role = new Role(); this.RoleMap = new Laya.Sprite(); this.RoleMap.size(Laya.stage.width, Laya.stage.height/2); Laya.stage.addChild(this.RoleMap); this.RoleMap.addChild(t...

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

543. Sprite optimizeScrollRect = true 似乎有问题 [ 84%]

...请先登录 发起人 huangandfly 相关问题 请问laya里如何解析json,似乎和AS3的不太一样。 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 圆环不跟随 sprite 一起缩放? 请问在微信小游戏里面如何知...

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

544. LayaAir 寻路库,寻路路径错误 [ 84%]

...解决: http://yyztom.com/search/astar  也是基于 Brian Grinstead的js版本写的as3版本,相当快速 http://www.briangrinstead.com/ ... dated 拿走不谢 (附件) --------------------------------------------------------------------var arr:Array = [[0,1,1],[0,1,1],[0,0,0]]; var opt:...

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

545. 2d帧动画bug:编译运行会掉帧,编辑器不会掉帧,2.2.0版本以上都有这个问题 [ 84%]

...博 QZONE 微信 133*****831 赞同来自: 解决方案: 修改laya.core.js构造函数条件判断 if (FrameAnimation._sortIndexFun === null) 改成 if (FrameAnimation._sortIndexFun == null)   代码如下: class FrameAnimation extends AnimationBase { constructor() { super(); if (FrameAnimatio...

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

546. socket.sent [ 84%]

...y 'send' of undefined //    at Btn1.Btn1On (file:///K:/laya/mylaya11/bin/js/Btn1.js:21:20) //    at EventHandler.__proto.runWith (file:///K:/laya/mylaya11/bin/libs/laya.core.js:711:59) //    at Button.__proto.event (file:///K:/laya/mylaya11/bin/libs/laya.core.js:488:30) //    at TouchManager...

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

547. 微信开发者工具出现错误:Laya3D init error must support webGl [ 84%]

...ot defined     at Function.Laya3D.init (http://127.0.0.1:38102/game/code.js:67387:4)     at new Main (http://127.0.0.1:38102/game/code.js:111146:16)     at http://127.0.0.1:38102/game/code.js:111237:1     at require (http://127.0.0.1:38102/game/__ ... :13718)     at http://127.0.0.1:38102/...

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

548. skeleton的_onAniSoundStoped清除的时候有时会报undefined错误 [ 84%]

...efined 打开layaide,出现错误,要怎么解决 版本管理时index.js的hash值错误 Mask显示错误 问题状态 最新活动: 2023-07-28 14:20 浏览: 2675 关注: 2 人

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

549. Sprite用graphics绘制图形后,mouse_over触发scale显示有问题 [ 84%]

...景不显示实时阴影 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 发布到vivo平台后,龙骨动画无法显示 问题状态 最新活动: 2018-03-08 15:54 浏览: 1143 关注: 2 人 qian • 2018-03-08 15:44 好的 我先看一下 fengjingmeng • 2018-03-...

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

550. TypeError: Cannot read property 'length' of null [ 84%]

...cene (file:///D:/work/study/project/client/test/air_war/bin/libs/laya.core.js:13049:52) at Sprite._onAdded (file:///D:/work/study/project/client/test/air_war/bin/libs/laya.core.js:13129:37) at Sprite._setParent (file:///D:/work/study/project/client/test/air_war/bin/libs/laya.core.js:12896:26) at Spr...

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