直接使用 md5 的 bundle 热更,reload bundle就是热更,一行代码就可以搞定,仓库有示例
demo示例有点少,对新手不友好。
马赛克大佬的bundle全是远程加载的吗 咋没看到原生平台下载相关的
需要什么类型的demo?
原生和 web 使用方式不都一样的?有什么区别
bundle加载了就会有缓存
原生bundle资源和包在一起 ,有变动才去从远程下载差异资源
这不是引擎MD5 bundle 自带的功能吗
你都是远程bundle确实不用管了 给个版本号就行
大佬 3.8.3支持吗
支持的123
哦 我看到是用3.6写的,3.8接口不是有变动吗
你指的是哪些?框架并没有用到所有引擎接口
还在预览阶段,使用了再给反馈 
赞,学习学习。
有没有配套的服务端websocket代码示例?
只有测试使用的返回消息的服务端,但是服务端和客户端都是一样的用法,所以你可以直接抄客户端的代码就能解析消息
好帖!!!
V1.0.9 版本更新
增加
- 增加通用 pb 消息封装方式编解码器
- 增加帧同步管理器
- 增加 mvc 架构及示例
- 增加对常驻节点的生命周期支持
- 增加 mk_ui_manage 无父节点 open
- 增加 mk_bundle 的 reload 函数中对导出的 ccclass 释放逻辑
- 增加 cache_lifetime_ms_n 为 0 时立即释放资源
- 增加 mk_task_pipeline 的 clear 接口清理任务
修改
- 修改 mk_monitor 回调为同步执行
- 修改 main bundle 管理器的生命周期执行
- 修改 mk_ui_manage 的 regis 操作为不可覆盖
- 修改对象池初始化参数,调整为更通用
- 修改网络示例
修复
- 修复同层级渲染排序根据时间排序
- 修复生命周期中跳过等待的异步任务
- 修复勾选 md5 导致打包失败
- 修复场景切换时节点隐藏导致未 close
- 修复热更界面错误
- 修复 mk_adaptation_node 的缩放类型适配错误
What’s Changed
- Update README.md by @1226085293 in https://github.com/1226085293/MKFramework/pull/41
- 添加赞助按钮展示 by @1226085293 in https://github.com/1226085293/MKFramework/pull/42
- Bump micromatch from 4.0.5 to 4.0.8 in /extensions/MKFramework by @dependabot in https://github.com/1226085293/MKFramework/pull/44
- Bump axios from 1.6.8 to 1.7.7 in /extensions/MKFramework by @dependabot in https://github.com/1226085293/MKFramework/pull/45
- Bump requirejs from 2.3.6 to 2.3.7 by @dependabot in https://github.com/1226085293/MKFramework/pull/46
- 存储器、任务管线优化 by @1226085293 in https://github.com/1226085293/MKFramework/pull/48
- 修改多层级变量递归 on, off 时, 回调的 path_s 参数不正确 by @1226085293 in https://github.com/1226085293/MKFramework/pull/49
- Bump cross-spawn from 7.0.3 to 7.0.6 in /tool/typedoc by @dependabot in https://github.com/1226085293/MKFramework/pull/51
- 52 bug 生成 dts 时 npm 依赖包路径错误 by @1226085293 in https://github.com/1226085293/MKFramework/pull/53
- 添加quick plugin by @1226085293 in https://github.com/1226085293/MKFramework/pull/54
- Bump nanoid from 3.3.7 to 3.3.8 in /plugin/quick-store by @dependabot in https://github.com/1226085293/MKFramework/pull/56
- Bump axios from 1.7.3 to 1.7.4 in /plugin/quick-store by @dependabot in https://github.com/1226085293/MKFramework/pull/55
- 恢复生命周期函数超时警告 by @1226085293 in https://github.com/1226085293/MKFramework/pull/57
- 优化 by @1226085293 in https://github.com/1226085293/MKFramework/pull/58
- 优化 by @1226085293 in https://github.com/1226085293/MKFramework/pull/59
- 修改演示内容 bug by @1226085293 in https://github.com/1226085293/MKFramework/pull/60
- Potential fix for code scanning alert no. 1: Useless regular-expression character escape by @1226085293 in https://github.com/1226085293/MKFramework/pull/61
- 增加 node-tree 插件 by @1226085293 in https://github.com/1226085293/MKFramework/pull/62
- Bump nanoid from 3.3.7 to 3.3.8 in /plugin/node-tree by @dependabot in https://github.com/1226085293/MKFramework/pull/63
- 增加错误打印 by @1226085293 in https://github.com/1226085293/MKFramework/pull/64
- Bump axios from 1.7.7 to 1.8.2 in /extensions/MKFramework by @dependabot in https://github.com/1226085293/MKFramework/pull/65
- Bump axios from 1.7.4 to 1.8.2 in /plugin/quick-store by @dependabot in https://github.com/1226085293/MKFramework/pull/69
- V1.0.9 by @1226085293 in https://github.com/1226085293/MKFramework/pull/72
Full Changelog: https://github.com/1226085293/MKFramework/compare/v1.0.8...v1.0.9