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

大约有 717 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0042 秒)

151. TimeLineUI不存在的问题 [ 81%]

...//加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/apes.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { //创建一个UI实例 var plan = new ui.TimeLineUI(); //添加到舞台 Laya.stage.addChild(plan); //播放UI场景中的动画 plan.crashed.play...

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

152. 关于预加载资源 [ 81%]

...交 1 个回复 cuixueying 赞同来自: 你写加载类型了吗,Loader.ATLAS,可以上传一个重现问题的示例,我们来看下! 2017-04-19 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 wuzhen5201314 相关问题 加载...

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

153. layaairfiles.txt问题 [ 81%]

...,我断点跟踪把这个文件的内容拿到了,然后里面没有.atlas文件的信息,然后我们在之后调用clearRes清图集资源的时候,就报Cannot read property 'md5' of null错误了,错误的地方就在:clearRes里调用MiniFileMgr.remove方法,然后在这个地方...

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

154. 项目发布问题 [ 81%]

...: 0 newCmd: "/usr/local/lib/node_modules/layaair-cmd/ProjectExportTools/TP/atlas-generator" "/Users/xxx/LayaAirIDE/packParam.json" Waiting for pics packing execute: "/usr/local/lib/node_modules/layaair-cmd/ProjectExportTools/TP/atlas-generator" "/Users/xxx/LayaAirIDE/packParam.json" Error Occured: E...

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

155. Laya.URL.basePath加载不到网络资源 [ 81%]

Laya.URL.basePath加载不到网络资源 var resArray = [ { url: "res/atlas/images.atlas", type : Laya.Loader.ATLAS}, // { url: "res/swf/flash.json", type: Laya.Loader.JSON}, // { url: "images/background.png", type : Laya.Loader.IMAGE}, ];   Laya.loader.load(resArray, Laya.Handler.create(this, th...

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

156. 按钮加载皮肤丢失 [ 81%]

...信 匿名用户 赞同来自: 已经预加载了 skins.push( { url:"res/atlas/image1.json", type:Loader.ATLAS} );             skinsSecond.push( { url:"res/atlas/image.json", type:Loader.ATLAS });             skinsSecond.push( { url:"allResources/qfbutton.png", type:Loader.IMAGE })...

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

157. 有没有图集切分 [ 81%]

... laya的图集只能是.png吗? IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 (有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are 问题状态 最新...

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

158. 图集打包分裂严重 [ 81%]

...的切图,打包后被分配到了三个目录 bin\ad\... 和  bin\res\atlas\ad\... 和  bin\res\atlas\ad.png 这也太乱了太分裂了,统一放在res\atlas\ad目录下,方便做分包加载。   附件 : --> 2020-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

159. 版本管理swf找同名的Json文件发现找不到 [ 80%]

... //初始化预加载数据         public m_initData(url:string,atlas:boolean,atlasPath?:string){             (atlas===void 0)&& (atlas=false);             this['_url']=url=Laya.URL.formatURL(url);             if(atlas)this['_atlasPath']=atlasPat...

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

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

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

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