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

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

1. URL.version 资源版本管理 [ 100%]

URL.version 资源版本管理 我们是否可以直接这样操作 URL.version= {  "res/data.json":"文件crc" } 这样做资源版本管理,会不会对引擎内部资源cache 什么造成影响。 2017-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

2. 最新的ResourceVersion发布以后加载的url不正确 [ 95%]

最新的ResourceVersion发布以后加载的url不正确 一个工程在IDE下直接播放是可以运行的。  我使用最新的ResourceVersion,在资源后增加了Hash后缀,比如某个文件发布后: release\web\res\atlas\ui\sharedcp094faf36.png 加上了094faf36的后缀   然后...

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

3. laya.net.URL_API3.0 [ 93%]

... URL Index Constructors constructor Properties basePath basePaths rootPath version Accessors path url Methods __init__ customFormat formatURL getFileName getPath getResURLByUUID getURLVerion initMiniGameExtensionOverrides join normalize overrideExtension postFormatURL Constructors constructor new UR...

来源: Laya3.0_api 发布时间: 20231115

4. 【解决】微信小游戏资源热更新/缓存更新 [ 93%]

...: 1.使用laya的版本管理机制,发布时勾选版本管理生成version.json,如果是 跳3 2.自己去实现,使用nodejs. rev 实现版本增量对比更新,自定义脚本得到version.json  (强烈建议,你会发现比官方小100倍,只打变量和图片和声音) 3.拥有了ve...

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

5. 版本管理问题 [ 92%]

...VMiniAdapter.nativefiles = [                               "version.json",                 "fileconfig.json",                 "unpack.json"             ];             Laya.URL.basePath = "https://xxxxxxx/vivo/";             Laya.ResourceVersion.en abl...

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

6. iOS真机运行报错--- 加载游戏失败,可能由于您的网络不稳定,请退出重进 [ 91%]

...4:58.264754+0800 MineSweeper6[7091:2932031] xhr.GET url=http://stand.alone.version/index.html 2018-03-15 11:24:58.265521+0800 MineSweeper6[7091:2932001] Download [ ]:http://stand.alone.version/index.html Creating context 1024, 768, 22018-03-15 11:24:58.270942+0800 MineSweeper6[7091:2932001] curl_eas...

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

7. 打包native报错 [ 91%]

...S 3.0 context created 2019-06-18 13:34:08.498646+0800 test1[6479:65523] AppVersion=2.0 2019-06-18 13:34:08.500431+0800 test1[6479:65523] Reachability Flag Status: -R ------- networkStatusForFlags 2019-06-18 13:34:08.500574+0800 test1[6479:65523] >>>>>>>checkNetworkState 有网...

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

8. laya.net.URL [ 91%]

... 根路径。URL  url : String[read-only] 格式化后的地址。URL  version : Object[static] 版本号。URLPublic Methods  MethodDefined By  URL(url:String)创建一个新的 URL 实例。URL  formatURL(url:String, base:String = null):String[static] 格式化指定的地址并 返回。...

来源: laya_api 发布时间: 20170929

9. Spine动画资源加载时不能同时使用"版本管理"和"URL.basePath" [ 90%]

...用之后Spine动画文件变成了sp-hashStr.sk和sp-hashStr2.png,并在version.json中记录了映射关系为{sp.sk:sp-hashStr.sk, sp.png:sp-hashStr2.png}。将它们上传至远程路径假设为https://www.xx.com/ 2. 设置URL.basePath="https://www.xx.com/" 3. 进入游戏后加载sp.sk, 此...

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

10. 新手!谁懂得把下面两个文件转成layaair可以运行的代码 [ 89%]

... }             else             {                 loadVersionFile();             }         }           private function initDebugTxt():void         {             debug_txt = new TextField();             debug_txt.selectable = false;           ...

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