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

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

141. Loader加载问题 [ 81%]

Loader加载问题 我有两个文件夹,一个是11001,一个是11002,里面装着几张图集,图集的格式都一样,例如1.json里面的文件内是,1/*.png,可是加载动画到时候,两个不同的图集,怎么解决Resources already exist,is repeated loading:的问题? 2...

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

142. protobuffer加载失败 [ 80%]

...资源地址使用中括号 )加载 .proto 文件失败:     Laya.loader.load(["res/protobuf/user.proto"], Handler.create(this, onAssetsLoaded)); 错误提示如下: [warn]Retry to load: E:/LayaBox/ProtobufLoadTest/bin/res/protobuf/user.proto [error]Failed to load: E:/LayaBox/ProtobufLoadTe...

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

143. 报无法找到资源,未升级ide之前不报错 [ 80%]

...览: 3508 关注: 3 人 逸辰 • 2023-07-19 22:52 onAwake(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png","resources/UI/images/dsgame/banner2.jpg"] ).then(() =&...

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

144. js预加载声音报错 [ 80%]

js预加载声音报错 Laya.loader.load(slot_sound_res, Laya.Loader.SOUND, Handler.create(this, onSoundProgress, null, false)); //游戏资源加载进度函数 function onSoundProgress(pro) { console.log("sound" + pro); } 这样写哪里错了? 2016-12-16 添加评论 免费帖 --> 分享 微...

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

145. 2.5.0无法打包oppo的rpk [ 80%]

...ONE 微信 许仙烹蛇羹 赞同来自: data stderr: internal/modules/cjs/loader.js:583     throw err;     ^ Error: Cannot find module 'shelljs'     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)     at Function.Module._load (internal/modules/cjs/loader.js:507:2...

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

146. 分享:IDE使用SWF动画的销毁与反复创建 [ 80%]

...创建 package {     import laya.events.Event;     import laya.net.Loader;     import laya.utils.Handler;     import view.TestView;          public class LayaUISample {                  public function LayaUISample() {             //初始化引擎        ...

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

147. 微信小游戏环境下,load的参数ignoreCache设置为true时,并没有重新下载资源 [ 80%]

...11-23 15:27 浏览: 2527 关注: 2 人 刘大明 • 2018-11-21 19:41 Laya.loader.load("https://xxxx/image.png", new Laya.Handler(this, this.imageLoaded), null, Laya.Loader.IMAGE, 0, false, "", true); 代码是这样的,但是这个url的资源覆盖以后,还是不会发生...

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

148. laya.net.LoaderManager [ 80%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实...

来源: Laya2.0_api 发布时间: 20190513

149. 【紧急】clearRes清理缓存后,再加载图片会有延时显示问题 [ 80%]

...缓存后,再加载图片会有延时显示问题 我想咨询一下: loader.clearRes()清理指定资源地址的缓存后,用loader.load 加载不回来了吗?为何再次加载同一图片显示时有延迟?   http://m.infinistudio.cn/test/nestle/ 点击1,再点击2, 再点击1...

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

150. 预加载音频文件遇到的问题 [ 80%]

...载音频的代码(JS飞机大战示例), //加载声音资源 Laya.loader.load("res/sound/bloodstream_bg.mp3", Laya.Handler.create(this, onLoadedSound), null, Laya.Loader.SOUND); // })(); function onLoadedSound(){ Laya.SoundManager.playMusic("res/sound/bloodstream_bg.mp3", 0, Laya.Handler.cre...

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