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: add v0.6.1 changelog and update quick-start with template browser
esengine13b15b2e9356
diff --git a/docs/astro/astro.config.mjs b/docs/astro/astro.config.mjsindex ace34a6ee..fb6c35319 100644--- a/docs/astro/astro.config.mjs+++ b/docs/astro/astro.config.mjs@@ -112,6 +112,7 @@ export default defineConfig({label: 'Changelog',translations: { 'zh-CN': '更新日志' },items: [+ { label: 'v0.6.1', slug: 'changelog-v061' },{ label: 'v0.6.0', slug: 'changelog-v060' },{ label: 'v0.5.1', slug: 'changelog-v051' },{ label: 'v0.5.0', slug: 'changelog-v050' },diff --git a/docs/astro/src/content/docs/changelog-v061.mdx b/docs/astro/src/content/docs/changelog-v061.mdxnew file mode 100644index 000000000..870c046a2--- /dev/null+++ b/docs/astro/src/content/docs/changelog-v061.mdx@@ -0,0 +1,48 @@+---+title: v0.6.1+description: ESEngine v0.6.1 release notes+---++import { Aside } from '@astrojs/starlight/components';++<Aside type="tip">+v0.6.1 focuses on play mode reliability, adds a template browser for new projects, and fixes several rendering and editor issues.+</Aside>++## Template Browser++- New project dialog now includes a template browser with project templates+- Bundled **Space Shooter** example project as the first template+- Templates are packaged as zip archives and extracted on project creation++## Play Mode Improvements++- User scripts now execute in shared play mode — custom components and systems run directly in the editor+- Bidirectional Inspector sync: edit runtime entity properties and see live values update+- Asset fields (textures, materials) display correctly in the Inspector during play mode instead of showing raw numeric handles+- Pause and speed state properly syncs between editor controls and the SDK `App` instance+- Step Frame button now works correctly when the game is paused++## Bug Fixes++### Rendering++- Fix UIRect pivot offset in sprite rendering — non-center pivots no longer cause visual misalignment+- Fix editor gizmo alignment for UI elements — gizmos now account for pivot-to-center offset, matching the rendered position++### Editor++- Fix nested prefab navigation: current prefab is saved before opening a nested prefab+- Fix keyboard input handling in Game View panel+- Auto-create default `asset-groups.json` for new projects++### SDK++- Fix scene asset preloading when using `assetServer.baseUrl` as fallback+- Add asset ref resolver to `AssetServer` for UUID-based prefab references++## Internal++- Prefab files now store asset references as UUIDs on disk for consistency+- Engine and SDK versions exposed as build-time defines+- Removed `GameViewBridge` in favor of direct play mode service integrationdiff --git a/docs/astro/src/content/docs/getting-started/quick-start.mdx b/docs/astro/src/content/docs/getting-started/quick-start.mdxindex 341f293cd..86b131bca 100644--- a/docs/astro/src/content/docs/getting-started/quick-start.mdx+++ b/docs/astro/src/content/docs/getting-started/quick-start.mdx@@ -13,7 +13,9 @@ Let's create a simple game that animates a sprite. This will introduce you to th1. **Open the editor** and click **New Project**-2. **Name your project** (e.g. "my-first-game") and click **Create**+2. **Choose a template** — select **Empty Project** for a blank canvas, or pick a built-in template like **Space Shooter** to start with a working example++3. **Name your project** (e.g. "my-first-game") and click **Create**The editor creates a project with a default scene containing a Camera entity.diff --git a/docs/astro/src/content/docs/zh/changelog-v061.mdx b/docs/astro/src/content/docs/zh/changelog-v061.mdxnew file mode 100644index 000000000..0b36e2a8a--- /dev/null+++ b/docs/astro/src/content/docs/zh/changelog-v061.mdx@@ -0,0 +1,48 @@+---+title: v0.6.1+description: ESEngine v0.6.1 更新日志+---++import { Aside } from '@astrojs/starlight/components';++<Aside type="tip">+v0.6.1 专注于播放模式可靠性提升,新增项目模板浏览器,修复多个渲染和编辑器问题。+</Aside>++## 模板浏览器++- 新建项目对话框新增模板浏览器,支持从模板创建项目+- 内置 **Space Shooter** 示例项目作为首个模板+- 模板以 zip 包形式打包,创建项目时自动解压++## 播放模式改进++- 用户脚本现在在共享播放模式中执行 — 自定义组件和系统直接在编辑器中运行+- 双向 Inspector 同步:编辑运行时实体属性并实时查看值更新+- 播放模式下 Inspector 正确显示资产字段(纹理、材质),不再显示原始数字句柄+- 暂停和速度状态在编辑器控件和 SDK `App` 实例之间正确同步+- 暂停状态下 Step Frame 按钮现在可以正常工作++## Bug 修复++### 渲染++- 修复 UIRect pivot 偏移导致的精灵渲染错位 — 非中心 pivot 不再导致视觉偏移+- 修复编辑器 UI 元素的 Gizmo 对齐 — Gizmo 现在考虑 pivot 到中心的偏移,与渲染位置一致++### 编辑器++- 修复嵌套预制体导航:打开嵌套预制体前先保存当前预制体+- 修复 Game View 面板的键盘输入处理+- 新项目自动创建默认 `asset-groups.json`++### SDK++- 修复使用 `assetServer.baseUrl` 作为场景资产预加载的回退路径+- 为 `AssetServer` 添加资产引用解析器,支持基于 UUID 的预制体引用++## 内部改动++- 预制体文件现在在磁盘上以 UUID 存储资产引用,保持一致性+- 引擎和 SDK 版本号作为构建时定义暴露+- 移除 `GameViewBridge`,改为直接集成播放模式服务diff --git a/docs/astro/src/content/docs/zh/getting-started/quick-start.mdx b/docs/astro/src/content/docs/zh/getting-started/quick-start.mdxindex 53f54ab4f..f56314298 100644--- a/docs/astro/src/content/docs/zh/getting-started/quick-start.mdx+++ b/docs/astro/src/content/docs/zh/getting-started/quick-start.mdx@@ -13,7 +13,9 @@ import { Steps, Aside } from '@astrojs/starlight/components';1. **打开编辑器**,点击 **New Project**-2. **命名项目**(如 "my-first-game"),点击 **Create**+2. **选择模板** — 选择 **Empty Project** 从空白开始,或选择内置模板(如 **Space Shooter**)从示例项目开始++3. **命名项目**(如 "my-first-game"),点击 **Create**编辑器会创建一个包含默认 Camera 实体的场景。