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

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

1251. 加载时间轴动画报错 [ 50%]

...错 代码如下: this.ani = new Laya.Animation(); this.ani.loadAtlas("res/atlas/comp.json", Laya.Handler.create(this, showApe));   function showApe(){ this.ani.loadAnimation("TimeLine.ani"); Laya.stage.addChild(this.ani); this.ani.play(); }   运行时报 TypeError:Cannot read property '_creat...

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

1252. IDE创建3D示例项目(JavaScript-3D基础(JS)-快速开始一个LayaAir3D项目) [ 50%]

...false); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####

来源: Laya2.0_文档 发布时间: 20210715

1253. 時間軸動畫 ani not found,1.7.11_beta 尚未拔除底層輸出 Log [ 50%]

...思路,运行时log 内存500M多,IPhone6还是卡死 Failed to load resource: net::ERR_FILE_NOT_FOUND 1.7.19.1 beta 背景音乐在舞台失焦和静音状态下可能导致的无法播放的异常问题! Laya2.6.1 beta 场景模式为 加载模式 清理并导出之后 bin目录下没有生...

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

1254. laya寻路导航中的HeightMap和AStarMap是什么图片,有什么要求,获取可行走区域模型这个也有要求吗 [ 50%]

...NE 微信 Laya_Aaron 赞同来自: https://layaair.ldc.layabox.com/demo/h5/res/threeDimen/scene/TerrainScene/Assets/AStarMap.png   就是用这个图,然后用第三方的东西把这个图生成一个路径。在这里寻路 2018-08-02 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回...

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

1255. Laya.Script _start和_update以及_lateupdate不执行是什么原因呢? [ 50%]

...么原因导致的吗? 怎样解决? IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 资源管理器中的图片个别显示不打包,是不是不能打包到图集中了?这个是什么原因造成的呢?如何避免? lineCap不起作...

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

1256. 解析sk资源报错 [ 50%]

...mplet.on(Event.ERROR,this,onError);             _templet.loadAni("res/role/1/left/left.sk");         }                  private function parseComplete():void         {             var skeleton0:Skeleton;             skeleton0 = _templet.buildArmatur...

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

1257. MiniAdpter.nativefiles 设置后并没有起作用 [ 50%]

...];   URL.bashPath="https://host/url/";   MiniAdpter.nativefiles=[  "res/media/",  "prefab/bb.json" ] Laya.Loader.load(...../); 2019-09-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来...

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

1258. new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor [ 50%]

...ewRect: Laya.Rectangle = new Laya.Rectangle(); this.tMap.createMap("../bin/res/MarioMap1.json", viewRect, Laya.Handler.create(this,this.initMap)); } private initMap(): void { } } new GameMain();运行的时候报错!错误信息如下: 附件 : --> 2019-02-12 添加评论 免费帖 --> 分享 ...

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

1259. graphics 问题 [ 50%]

...码不起作用 img.graphics.save() img.graphics.transform(m) img.graphics.restore() 如果只留下第二行,那么transform效果将影响其他对象 2017-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cu...

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

1260. 多光源渲染(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 50%]

...h; i 加载场景,并且添加多光源 ```typescript Laya.Scene3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera.addComponent(...

来源: Laya2.0_文档 发布时间: 20210715