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

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

241. layaair2-cmd安装报错 [ 80%]

...d to ~\AppData\Roaming\npm\node_modules\layaair2-cmd internal/modules/cj s/loader.js:638     throw err;     ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\gulp-babel'     at Function.Module._load (internal/modules/cjs/loader.js:56...

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

242. 批量预加载如果是图片或者声音类型,不会触发加载错误事件 [ 80%]

...如果是图片或者声音类型,不会触发加载错误事件 用Laya.loader批量加载图片或者声音并指定加载类型时,如果加载错误,并不会触发错误事件。   Laya.loader.on(Laya.Event.ERROR, this, function(){ console.log("err"); }); Laya.loader.load([{url:"res/gene...

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

243. Laya.loader.create 报错, 升级2.0.2后 游戏卡顿 [ 80%]

Laya.loader.create 报错, 升级2.0.2后 游戏卡顿 1. loader.create  这个接口 能否支持不创建3Dscene对象, 或者新扩展一个接口  只下载对应的3D资源. 不创建3DScene, 因为 当网络异常的时候资源会下载失败,但是底层还是会创建3D对象, 底层一...

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

244. 在加载多个资源的时候,加载进度异常 [ 80%]

加载多个资源的时候,加载进度异常 Laya.loader.load(["res/atlas/images.atlas", "res/atlas/f1.atlas", "res/atlas/f2.atlas", "res/atlas/f3.atlas", "res/atlas/f4.atlas", "res/atlas/f5.atlas"],   Laya.Handler.create(this, function(){ }),  Laya.Handler.create(this, function(e){    c...

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

245. native 资源加密 [ 80%]

...还有 我只加载动画使用的资源好想不可以?还有使用Laya.Loader的方式能不能加载ani文件? 在微信小游戏环境下加载资源有个大坑 获取图片资源出错,求大神解答,附代码 使用layaIDE发布项目之后,资源加载不到 ui编辑器编辑了...

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

246. demo中的2d和3d混合 加载ktx的资源 会白色的 其他ui没有问题 [ 80%]

...00631用户 赞同来自:    //加载IDE指定的场景         Laya.loader.load([{url:"minastc.config.json",type:Laya.Loader.JSON}],new Laya.Handler(this,function(){             this.astcconfig = Laya.loader.getRes("minastc.config.json");             for(var key in this.astcconfig...

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

247. 问个资源加载的问题,挺急的 [ 80%]

...里面),你要加载图片文件,我所说的是代码里面的Laya.loader加载的东西 2017-05-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 a058110356 相关问题 加载到舞台的3D模型不显示贴图 IDE1.7.8 json图...

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

248. unity 导出文件导入LAYA加载报错 [ 80%]

....runWith (laya.core.js:672) at ResInfo.__proto.event (laya.core.js:449) at LoaderManager.__proto._endLoad (laya.core.js:11511) at Loader.onLoaded (laya.core.js:11490) at EventHandler.__proto.runWith (laya.core.js:672) at Loader.__proto.event (laya.core.js:449) at Loader.__proto.endLoad (laya.core.js...

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

249. 资源路径问题 [ 80%]

...种文件放不同的图片。。发现加载图片时加载不了。 Laya.loader.load(["res/atlas/img/hall.json"],Laya.Handler.create(this, onLoaded),null,Laya.Loader.ATLAS);无法加载。。。怎么回事 2017-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

250. 音频解码一直遇到这个问题呢,不知道什么原因 [ 80%]

...31 16:32 @smile:传demo吧。 smile • 2018-05-31 17:36 @Laya_Aaron: Laya.loader.load(assetArr,Handler.create(this,this.gameStart),Handler.create(this,onProgress,null,false)); private var assetArr:Array=[ {url:"sound/bgMusic.mp3", type:Loader.SOUND}, {url:"sound/button.mp3", typ...

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