大约有 302 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
...是 var resArray:Array<any>=[ {url:"h5/UI.atlas",type:Laya.Loader.ATLAS}, {url:"h5/UI/so_main_base.png",type:Laya.Loader.IMAGE}, ]; Laya.loader.load(resArray,Laya.Handler.create(this,initUI)); 单图就是so_main_base.png,死活就加载不出来, 报错 [warn]Retry to ...
来源: Laya_社区 发布时间: 20180626
...了 资源销毁不了 我先加载一个图集,然后执行销毁 Laya.loader.clearRes("res/atlas/mainTown.json"); 但内存并没回收,查看代码也执行了销毁过程,但内存就没没减下来。 还有个问题: 如果只是加载资源,不添加到显示对象上,内存是...
来源: Laya_社区 发布时间: 20170415
... var completeFunc = (scene)=>{ var sc = Laya.loader.getRes(sceneUrl); Laya.stage.addChild(sc); } Laya.loader.create(sceneUrl,new Laya.Handler(this,completeFunc)); 附件 : --> scene1.zip 2019-10-12 添加评论...
来源: Laya_社区 发布时间: 20191012
...was not allowed to start. iphone自带浏览器页面怎么锁定 请问下loader如何强制加载一个文件,避免浏览器的缓存 怎样获取浏览器地址传过来的GET参数 1.7.15 小游戏3d 发布后在手机预览显示异常 通过laya嵌入iframe 后 原本laya禁止微信浏览...
来源: Laya_社区 发布时间: 20190409
...yte layaAir端加载了img.byte文件后如何还原为图片?flash端的loader有个loadBytes方法可以加载字节数组,但是layaAir端没有相关方法实现 2017-04-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20170417
...nt.__proto.parseFont (http://127.0.0.1:53804/game/code.js:803:17) at Loader.__proto.onLoaded (http://127.0.0.1:53804/game/code.js:12700:11) at HTMLImage.onload (http://127.0.0.1:53804/game/code.js:21213:15) at Image._source._source.onload (http://127.0.0.1:53804/game/code.js:20175:...
来源: Laya_社区 发布时间: 20180307
...加入闪屏图片 lh文件内meshSprite添加阴影属性无效 请问下loader如何强制加载一个文件,避免浏览器的缓存 微信小游戏中访问带空格的文件出错 问题状态 最新活动: 2019-06-05 19:53 浏览: 5357 关注: 3 人 kylin • 2019-06-05 20:45 请问您遇到...
来源: Laya_社区 发布时间: 20190528
...动画进行单独处理?还是不允许把动画放进预制体? Laya.loader.load("prefab/gk2v1.json",Laya.Handler.create(this,function(pref:Laya.Prefab){ var gkpref:Laya.Prefab = new Laya.Prefab(); gkpref.json = pref; var OBJ = Laya.Pool.getItemByCreateFun("gk2v1",gkpref.create,gkpref); this.S...
来源: Laya_社区 发布时间: 20201022
...th (AA.max.js:674) at ResInfo.__proto.event (AA.max.js:453) at LoaderManager.__proto._endLoad (AA.max.js:9492) at Loader.onLoaded (AA.max.js:9469) at EventHandler.__proto.runWith (AA.max.js:674) at Loader.__proto.event (AA.max.js:453) 2017-07-26 添加评论 免费帖 -...
来源: Laya_社区 发布时间: 20170726
...创建vivo快游戏项目 index.js:829 data stderr: internal/modules/cjs/loader.js:968 throw err; ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vivo-minigame\cli\bin\mg' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at Function.Mo...
来源: Laya_社区 发布时间: 20200817