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

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

131. 资源加载 · LayaAir3.0文档 · LAYABOX [ 72%]

....SOUND sound 声音类型 Laya.Loader.VIDEO video 视频类型 Laya.Loader.ATLAS atlas 图集类型,加载完成后返回图集json信息(并创建图集内小图Texture) Laya.Loader.HIERARCHY HIERARCHY 层级资源,比如:场景ls文件与预制体lh文件 Laya.Loader.FONT font 位图字体...

来源: Laya3.0_文档 发布时间: 20230728

132. SCALE_FIXED_WIDTH适配屏幕的问题 [ 72%]

...onent("ScaleButton", ScaleButton);             Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame));         }         private loadGame(): void {             var resArray = [                 { url: "res/atlas/lobby/create_room.atlas", ...

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

133. 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 [ 72%]

...onent("ScaleButton", ScaleButton);             Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame));         }         private loadGame(): void {             var resArray = [                 { url: "res/atlas/lobby/create_room.atlas", ...

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

134. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 71%]

提示“AtlasResourceManager:Dispose the inner Atlas。” AtlasResourceManager:Dispose the inner Atlas。 laya.webgl.js:374 >>>>altas garbageCollection =1 laya.webgl.js:372 AtlasResourceManager:Dispose the inner Atlas。 laya.webgl.js:374 >>>>altas garbageCollection =1 lay...

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

135. 有没有图集切分 [ 71%]

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

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

136. 新手,用flashbuilder配置好加载图片显示第一步就不行了 [ 71%]

...          //加载图片"             img.loadImage("/res/atlas/game/bg.png",50,50,130,35);    I:\MyDream\Dream\bin-debug\h5\res\atlas\game\bg.png  这个是图片地址 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

137. 加载.atlas动画错误 [ 71%]

加载.atlas动画错误 提示加载.atlas动画错误,如果用laya自带的图集打包工具,又打包不成功 2018-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 8 个回复 wdmingzi2 赞同来自: 截图如...

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

138. 资源路径问题 [ 71%]

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

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

139. 资源目录管理,引起的为打包资源引起路径错误 [ 71%]

...的为打包资源引起路径错误 资源发布目录设置:bin/h5/res/atlas 为打包图片输出目录:bin/h5/res/atlas 资源结构为:aaaaa/bbbbb/projectName/..... 下载测试示例,运行后,界面中未的为打包资源显示不出来。 附件 : --> layaBugTest2.rar 2017-11-02 ...

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

140. handler携带的参数在回调函数里面怎么获取? [ 71%]

...关的链接 提交 1 个回复 qian 赞同来自: Laya.loader.load("res/atlas/war/hero.atlas", Handler.create(this, this.onLoad), null, Loader.ATLAS); 什么意思,, 2018-03-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 VkonSun ...

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