A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
docs: update v0.7.0 changelog with build transforms, WeChat audio fix and editor audio stop
esenginecd4f5a61bfe7
diff --git a/docs/astro/src/content/docs/changelog-v070.mdx b/docs/astro/src/content/docs/changelog-v070.mdxindex 7ae67226c..1c63fbadb 100644--- a/docs/astro/src/content/docs/changelog-v070.mdx+++ b/docs/astro/src/content/docs/changelog-v070.mdx@@ -49,6 +49,7 @@ JS-side value tweening for animating custom properties beyond the built-in targe## Refactoring+- **Asset build transforms** — `registerAssetBuildTransform()` API on `AssetTypeEntry` replaces per-type branching in emitters. Both platform emitters now use generic `entry.buildTransform()` calls. Users can register custom transforms for their own asset types.- **Tree-shaking** — enable tree-shaking and consolidate runtime initialization logic for smaller bundles- **AssetTypeRegistry** — centralized asset type metadata, replacing scattered per-module registration- **Audio platform abstraction** — audio backend creation moved into the platform adapter layer@@ -62,6 +63,7 @@ JS-side value tweening for animating custom properties beyond the built-in targe- Fix circular dependencies between `AssetTypeRegistry` and `FileInspector` / `InspectorHelpers`- Preload audio assets in editor scene manager- Skip `AudioPlugin` system registration in editor Scene View (audio only runs in Game View)+- Stop all audio when exiting editor play mode### SDK / Runtime@@ -74,6 +76,11 @@ JS-side value tweening for animating custom properties beyond the built-in targe- Defer `playOnAwake` until `AudioContext` is running to avoid silent playback on first load- Add audio MIME type detection and auto-repair for unknown asset meta files+- Fix WeChat audio not playing — set properties before `src`, use explicit `play()` instead of `autoplay`, add `onError` callback++### WeChat Build++- Fix anim-clip textures missing in build — add build transform to rewrite atlas-packed frame paths with `atlasFrame` metadata## Testingdiff --git a/docs/astro/src/content/docs/zh/changelog-v070.mdx b/docs/astro/src/content/docs/zh/changelog-v070.mdxindex 779b120b1..4add0c79d 100644--- a/docs/astro/src/content/docs/zh/changelog-v070.mdx+++ b/docs/astro/src/content/docs/zh/changelog-v070.mdx@@ -49,6 +49,7 @@ JS 侧值补间,支持动画化内置属性之外的自定义属性。## 重构+- **资源构建变换** — `registerAssetBuildTransform()` API 替代发射器中的逐类型分支。两个平台发射器现在统一使用 `entry.buildTransform()` 调用。用户可以为自定义资源类型注册构建变换。- **Tree-shaking** — 启用 tree-shaking 并整合运行时初始化逻辑,缩小包体积- **AssetTypeRegistry** — 集中管理资产类型元数据,替代分散的逐模块注册- **音频平台抽象** — 音频后端创建移入平台适配器层@@ -62,6 +63,7 @@ JS 侧值补间,支持动画化内置属性之外的自定义属性。- 修复 `AssetTypeRegistry` 与 `FileInspector` / `InspectorHelpers` 之间的循环依赖- 编辑器场景管理器中预加载音频资源- 编辑器 Scene View 中跳过 `AudioPlugin` 系统注册(音频仅在 Game View 中运行)+- 退出编辑器播放模式时停止所有音频### SDK / 运行时@@ -74,6 +76,11 @@ JS 侧值补间,支持动画化内置属性之外的自定义属性。- 延迟 `playOnAwake` 直到 `AudioContext` 激活,避免首次加载时静音播放- 添加音频 MIME 类型检测和未知资产 meta 文件自动修复+- 修复微信音频不播放 — 在设置 `src` 前设置属性,使用显式 `play()` 替代 `autoplay`,添加 `onError` 回调++### 微信构建++- 修复动画剪辑纹理在构建中丢失 — 添加构建变换以重写图集打包的帧路径,附带 `atlasFrame` 元数据## 测试