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: retake every guide picture against the current editor and update the paths and steps that changed
yhhe611e4b3f10b
diff --git a/.github/workflows/editor-acceptance.yml b/.github/workflows/editor-acceptance.ymlindex d74541d20..86e1e0aa4 100644--- a/.github/workflows/editor-acceptance.yml+++ b/.github/workflows/editor-acceptance.yml@@ -65,8 +65,8 @@ jobs:OUT: ${{ github.workspace }}/output/editor-acceptanceESTELLA_MCP_EDITOR_VISIBLE: '1'ELECTRON_DISABLE_SANDBOX: '1'- # The runner has no keychain; the obfuscated store lets the agent pictures keep a stand-in key.- ESTELLA_MCP_EDITOR_ARGS: '--password-store=basic'+ # The runner has no keychain; this lets the agent pictures keep a stand-in key anyway.+ ESTELLA_SECRETS_PLAINTEXT: '1'run: |read -r -a names <<< "$CHECK_NAMES"xvfb-run -a --server-args="-screen 0 1920x1080x24" node scripts/editor-checks/run.mjs "${names[@]}"diff --git a/desktop b/desktopindex cf28866fc..b4e438f82 160000--- a/desktop+++ b/desktop@@ -1 +1 @@-Subproject commit cf28866fc6da94952c8923b65a14c4c4a64a321b+Subproject commit b4e438f82b20b5ad99d16119866d1e180174190adiff --git a/docs/astro/src/assets/guides/en/ai-bt.png b/docs/astro/src/assets/guides/en/ai-bt.pngindex 74db77ee0..a9e174d60 100644Binary files a/docs/astro/src/assets/guides/en/ai-bt.png and b/docs/astro/src/assets/guides/en/ai-bt.png differdiff --git a/docs/astro/src/assets/guides/en/ai-fsm.png b/docs/astro/src/assets/guides/en/ai-fsm.pngindex 36983d4ac..a411e4f51 100644Binary files a/docs/astro/src/assets/guides/en/ai-fsm.png and b/docs/astro/src/assets/guides/en/ai-fsm.png differdiff --git a/docs/astro/src/assets/guides/en/animator-graph.png b/docs/astro/src/assets/guides/en/animator-graph.pngindex 11bcf706b..73498a56c 100644Binary files a/docs/astro/src/assets/guides/en/animator-graph.png and b/docs/astro/src/assets/guides/en/animator-graph.png differdiff --git a/docs/astro/src/assets/guides/en/build-dialog.png b/docs/astro/src/assets/guides/en/build-dialog.pngindex ecd89b0ca..da79d8e9f 100644Binary files a/docs/astro/src/assets/guides/en/build-dialog.png and b/docs/astro/src/assets/guides/en/build-dialog.png differdiff --git a/docs/astro/src/assets/guides/en/build-mobile.png b/docs/astro/src/assets/guides/en/build-mobile.pngdeleted file mode 100644index 8cf04124f..000000000Binary files a/docs/astro/src/assets/guides/en/build-mobile.png and /dev/null differdiff --git a/docs/astro/src/assets/guides/en/collision-matrix.png b/docs/astro/src/assets/guides/en/collision-matrix.pngindex 21a686781..17b8ada31 100644Binary files a/docs/astro/src/assets/guides/en/collision-matrix.png and b/docs/astro/src/assets/guides/en/collision-matrix.png differdiff --git a/docs/astro/src/assets/guides/en/collision-palette.png b/docs/astro/src/assets/guides/en/collision-palette.pngindex c838e6c26..7b7f1bf10 100644Binary files a/docs/astro/src/assets/guides/en/collision-palette.png and b/docs/astro/src/assets/guides/en/collision-palette.png differdiff --git a/docs/astro/src/assets/guides/en/controllers-strip.png b/docs/astro/src/assets/guides/en/controllers-strip.pngindex 24474d4dc..ee4c22fae 100644Binary files a/docs/astro/src/assets/guides/en/controllers-strip.png and b/docs/astro/src/assets/guides/en/controllers-strip.png differdiff --git a/docs/astro/src/assets/guides/en/dragonbones-inspector.png b/docs/astro/src/assets/guides/en/dragonbones-inspector.pngindex 0d055d518..518385a20 100644Binary files a/docs/astro/src/assets/guides/en/dragonbones-inspector.png and b/docs/astro/src/assets/guides/en/dragonbones-inspector.png differdiff --git a/docs/astro/src/assets/guides/en/dragonbones-shared.png b/docs/astro/src/assets/guides/en/dragonbones-shared.pngindex aba8f8622..1039f2da4 100644Binary files a/docs/astro/src/assets/guides/en/dragonbones-shared.png and b/docs/astro/src/assets/guides/en/dragonbones-shared.png differdiff --git a/docs/astro/src/assets/guides/en/editor-overview.png b/docs/astro/src/assets/guides/en/editor-overview.pngindex a3bf40ca6..7611bfe9e 100644Binary files a/docs/astro/src/assets/guides/en/editor-overview.png and b/docs/astro/src/assets/guides/en/editor-overview.png differdiff --git a/docs/astro/src/assets/guides/en/events-fsm.png b/docs/astro/src/assets/guides/en/events-fsm.pngindex 2286932cf..e1cbc1666 100644Binary files a/docs/astro/src/assets/guides/en/events-fsm.png and b/docs/astro/src/assets/guides/en/events-fsm.png differdiff --git a/docs/astro/src/assets/guides/en/events-palette.png b/docs/astro/src/assets/guides/en/events-palette.pngindex fa3280420..0ff51ab6a 100644Binary files a/docs/astro/src/assets/guides/en/events-palette.png and b/docs/astro/src/assets/guides/en/events-palette.png differdiff --git a/docs/astro/src/assets/guides/en/events-section.png b/docs/astro/src/assets/guides/en/events-section.pngindex 5fecef779..eaf4e3785 100644Binary files a/docs/astro/src/assets/guides/en/events-section.png and b/docs/astro/src/assets/guides/en/events-section.png differdiff --git a/docs/astro/src/assets/guides/en/flipbook.png b/docs/astro/src/assets/guides/en/flipbook.pngindex 74d5a42a1..389a523a5 100644Binary files a/docs/astro/src/assets/guides/en/flipbook.png and b/docs/astro/src/assets/guides/en/flipbook.png differdiff --git a/docs/astro/src/assets/guides/en/game-target-screen.png b/docs/astro/src/assets/guides/en/game-target-screen.pngindex 956f7fef5..ecbc08fa4 100644Binary files a/docs/astro/src/assets/guides/en/game-target-screen.png and b/docs/astro/src/assets/guides/en/game-target-screen.png differdiff --git a/docs/astro/src/assets/guides/en/hot-update-build-cdn.png b/docs/astro/src/assets/guides/en/hot-update-build-cdn.pngindex fa180abc4..11fb2953e 100644Binary files a/docs/astro/src/assets/guides/en/hot-update-build-cdn.png and b/docs/astro/src/assets/guides/en/hot-update-build-cdn.png differdiff --git a/docs/astro/src/assets/guides/en/hot-update-cdn-badge.png b/docs/astro/src/assets/guides/en/hot-update-cdn-badge.pngindex c98bb7bfd..dd7219892 100644Binary files a/docs/astro/src/assets/guides/en/hot-update-cdn-badge.png and b/docs/astro/src/assets/guides/en/hot-update-cdn-badge.png differdiff --git a/docs/astro/src/assets/guides/en/hot-update-delivery-menu.png b/docs/astro/src/assets/guides/en/hot-update-delivery-menu.pngindex 43862f1e9..7bfdba8d9 100644Binary files a/docs/astro/src/assets/guides/en/hot-update-delivery-menu.png and b/docs/astro/src/assets/guides/en/hot-update-delivery-menu.png differdiff --git a/docs/astro/src/assets/guides/en/import-platform-overrides.png b/docs/astro/src/assets/guides/en/import-platform-overrides.pngindex 746e39412..83a8ea5c9 100644Binary files a/docs/astro/src/assets/guides/en/import-platform-overrides.png and b/docs/astro/src/assets/guides/en/import-platform-overrides.png differdiff --git a/docs/astro/src/assets/guides/en/input-map.png b/docs/astro/src/assets/guides/en/input-map.pngindex e80b906bb..60d780533 100644Binary files a/docs/astro/src/assets/guides/en/input-map.png and b/docs/astro/src/assets/guides/en/input-map.png differdiff --git a/docs/astro/src/assets/guides/en/inspector-flex.png b/docs/astro/src/assets/guides/en/inspector-flex.pngindex 24c2bcec5..55a41954e 100644Binary files a/docs/astro/src/assets/guides/en/inspector-flex.png and b/docs/astro/src/assets/guides/en/inspector-flex.png differdiff --git a/docs/astro/src/assets/guides/en/lighting.png b/docs/astro/src/assets/guides/en/lighting.pngindex dba9dec96..dedd9f49b 100644Binary files a/docs/astro/src/assets/guides/en/lighting.png and b/docs/astro/src/assets/guides/en/lighting.png differdiff --git a/docs/astro/src/assets/guides/en/localization.png b/docs/astro/src/assets/guides/en/localization.pngindex 54987d23e..9bc3092fe 100644Binary files a/docs/astro/src/assets/guides/en/localization.png and b/docs/astro/src/assets/guides/en/localization.png differdiff --git a/docs/astro/src/assets/guides/en/marker-inspector.png b/docs/astro/src/assets/guides/en/marker-inspector.pngindex 154116940..3c7683c07 100644Binary files a/docs/astro/src/assets/guides/en/marker-inspector.png and b/docs/astro/src/assets/guides/en/marker-inspector.png differdiff --git a/docs/astro/src/assets/guides/en/material-shader.png b/docs/astro/src/assets/guides/en/material-shader.pngindex a635c3531..ede635d34 100644Binary files a/docs/astro/src/assets/guides/en/material-shader.png and b/docs/astro/src/assets/guides/en/material-shader.png differdiff --git a/docs/astro/src/assets/guides/en/nine-slice-drag.png b/docs/astro/src/assets/guides/en/nine-slice-drag.pngindex 11fc25b91..83a8ea5c9 100644Binary files a/docs/astro/src/assets/guides/en/nine-slice-drag.png and b/docs/astro/src/assets/guides/en/nine-slice-drag.png differdiff --git a/docs/astro/src/assets/guides/en/orient-hex.png b/docs/astro/src/assets/guides/en/orient-hex.pngindex ba9d10b9a..c0831a21f 100644Binary files a/docs/astro/src/assets/guides/en/orient-hex.png and b/docs/astro/src/assets/guides/en/orient-hex.png differdiff --git a/docs/astro/src/assets/guides/en/orient-staggered.png b/docs/astro/src/assets/guides/en/orient-staggered.pngindex eaf949b59..4824db30e 100644Binary files a/docs/astro/src/assets/guides/en/orient-staggered.png and b/docs/astro/src/assets/guides/en/orient-staggered.png differdiff --git a/docs/astro/src/assets/guides/en/particle-view.png b/docs/astro/src/assets/guides/en/particle-view.pngindex eb3178dd9..77e20c1b2 100644Binary files a/docs/astro/src/assets/guides/en/particle-view.png and b/docs/astro/src/assets/guides/en/particle-view.png differdiff --git a/docs/astro/src/assets/guides/en/physics-collider.png b/docs/astro/src/assets/guides/en/physics-collider.pngindex 0240d16c0..964e1a9fe 100644Binary files a/docs/astro/src/assets/guides/en/physics-collider.png and b/docs/astro/src/assets/guides/en/physics-collider.png differdiff --git a/docs/astro/src/assets/guides/en/prefab-mode.png b/docs/astro/src/assets/guides/en/prefab-mode.pngindex 5e6f21d42..b954bcba9 100644Binary files a/docs/astro/src/assets/guides/en/prefab-mode.png and b/docs/astro/src/assets/guides/en/prefab-mode.png differdiff --git a/docs/astro/src/assets/guides/en/seq-curves.png b/docs/astro/src/assets/guides/en/seq-curves.pngindex 28116bfe8..15bc7e148 100644Binary files a/docs/astro/src/assets/guides/en/seq-curves.png and b/docs/astro/src/assets/guides/en/seq-curves.png differdiff --git a/docs/astro/src/assets/guides/en/seq-dopesheet.png b/docs/astro/src/assets/guides/en/seq-dopesheet.pngindex 2849a79d4..92124d448 100644Binary files a/docs/astro/src/assets/guides/en/seq-dopesheet.png and b/docs/astro/src/assets/guides/en/seq-dopesheet.png differdiff --git a/docs/astro/src/assets/guides/en/settings-screen-presets.png b/docs/astro/src/assets/guides/en/settings-screen-presets.pngindex ac8025e7e..15ca29325 100644Binary files a/docs/astro/src/assets/guides/en/settings-screen-presets.png and b/docs/astro/src/assets/guides/en/settings-screen-presets.png differdiff --git a/docs/astro/src/assets/guides/en/steam-channel.png b/docs/astro/src/assets/guides/en/steam-channel.pngindex c4b381898..236abcd62 100644Binary files a/docs/astro/src/assets/guides/en/steam-channel.png and b/docs/astro/src/assets/guides/en/steam-channel.png differdiff --git a/docs/astro/src/assets/guides/en/tilemap-new.png b/docs/astro/src/assets/guides/en/tilemap-new.pngindex 7919e479f..4bf369dc1 100644Binary files a/docs/astro/src/assets/guides/en/tilemap-new.png and b/docs/astro/src/assets/guides/en/tilemap-new.png differdiff --git a/docs/astro/src/assets/guides/en/tilemap-overview.png b/docs/astro/src/assets/guides/en/tilemap-overview.pngindex 513d12996..18d749bc3 100644Binary files a/docs/astro/src/assets/guides/en/tilemap-overview.png and b/docs/astro/src/assets/guides/en/tilemap-overview.png differdiff --git a/docs/astro/src/assets/guides/en/tilemap-tools.png b/docs/astro/src/assets/guides/en/tilemap-tools.pngindex c8fc004b0..6055a4cac 100644Binary files a/docs/astro/src/assets/guides/en/tilemap-tools.png and b/docs/astro/src/assets/guides/en/tilemap-tools.png differdiff --git a/docs/astro/src/assets/guides/en/tileset-animation.png b/docs/astro/src/assets/guides/en/tileset-animation.pngindex db27657ee..5660255db 100644Binary files a/docs/astro/src/assets/guides/en/tileset-animation.png and b/docs/astro/src/assets/guides/en/tileset-animation.png differdiff --git a/docs/astro/src/assets/guides/en/tileset-collision.png b/docs/astro/src/assets/guides/en/tileset-collision.pngindex 916da7dcb..6d09adb16 100644Binary files a/docs/astro/src/assets/guides/en/tileset-collision.png and b/docs/astro/src/assets/guides/en/tileset-collision.png differdiff --git a/docs/astro/src/assets/guides/en/tileset-terrain.png b/docs/astro/src/assets/guides/en/tileset-terrain.pngindex 447cbc5a2..61a81e92a 100644Binary files a/docs/astro/src/assets/guides/en/tileset-terrain.png and b/docs/astro/src/assets/guides/en/tileset-terrain.png differdiff --git a/docs/astro/src/assets/guides/en/ui-screen.png b/docs/astro/src/assets/guides/en/ui-screen.pngindex 0a146e851..88036d533 100644Binary files a/docs/astro/src/assets/guides/en/ui-screen.png and b/docs/astro/src/assets/guides/en/ui-screen.png differdiff --git a/docs/astro/src/assets/guides/en/widgets-gallery.png b/docs/astro/src/assets/guides/en/widgets-gallery.pngindex 286fb8462..4ac396334 100644Binary files a/docs/astro/src/assets/guides/en/widgets-gallery.png and b/docs/astro/src/assets/guides/en/widgets-gallery.png differdiff --git a/docs/astro/src/assets/guides/zh/ai-bt.png b/docs/astro/src/assets/guides/zh/ai-bt.pngindex 7cd45b7d8..48b30833e 100644Binary files a/docs/astro/src/assets/guides/zh/ai-bt.png and b/docs/astro/src/assets/guides/zh/ai-bt.png differdiff --git a/docs/astro/src/assets/guides/zh/ai-fsm.png b/docs/astro/src/assets/guides/zh/ai-fsm.pngindex 41f99857f..e33eb0452 100644Binary files a/docs/astro/src/assets/guides/zh/ai-fsm.png and b/docs/astro/src/assets/guides/zh/ai-fsm.png differdiff --git a/docs/astro/src/assets/guides/zh/animator-graph.png b/docs/astro/src/assets/guides/zh/animator-graph.pngindex 39adb819f..4729d8b77 100644Binary files a/docs/astro/src/assets/guides/zh/animator-graph.png and b/docs/astro/src/assets/guides/zh/animator-graph.png differdiff --git a/docs/astro/src/assets/guides/zh/build-dialog.png b/docs/astro/src/assets/guides/zh/build-dialog.pngindex d6f8a2181..60dbf11df 100644Binary files a/docs/astro/src/assets/guides/zh/build-dialog.png and b/docs/astro/src/assets/guides/zh/build-dialog.png differdiff --git a/docs/astro/src/assets/guides/zh/build-mobile.png b/docs/astro/src/assets/guides/zh/build-mobile.pngdeleted file mode 100644index c86b37216..000000000Binary files a/docs/astro/src/assets/guides/zh/build-mobile.png and /dev/null differdiff --git a/docs/astro/src/assets/guides/zh/collision-matrix.png b/docs/astro/src/assets/guides/zh/collision-matrix.pngindex 1c8a6b728..18fcca263 100644Binary files a/docs/astro/src/assets/guides/zh/collision-matrix.png and b/docs/astro/src/assets/guides/zh/collision-matrix.png differdiff --git a/docs/astro/src/assets/guides/zh/collision-palette.png b/docs/astro/src/assets/guides/zh/collision-palette.pngindex f87c906d3..cec83010d 100644Binary files a/docs/astro/src/assets/guides/zh/collision-palette.png and b/docs/astro/src/assets/guides/zh/collision-palette.png differdiff --git a/docs/astro/src/assets/guides/zh/controllers-strip.png b/docs/astro/src/assets/guides/zh/controllers-strip.pngindex da2c927d1..804b94a67 100644Binary files a/docs/astro/src/assets/guides/zh/controllers-strip.png and b/docs/astro/src/assets/guides/zh/controllers-strip.png differdiff --git a/docs/astro/src/assets/guides/zh/dragonbones-inspector.png b/docs/astro/src/assets/guides/zh/dragonbones-inspector.pngindex 0297bcb29..2c82a8016 100644Binary files a/docs/astro/src/assets/guides/zh/dragonbones-inspector.png and b/docs/astro/src/assets/guides/zh/dragonbones-inspector.png differdiff --git a/docs/astro/src/assets/guides/zh/dragonbones-shared.png b/docs/astro/src/assets/guides/zh/dragonbones-shared.pngindex aba8f8622..5cf8a3eae 100644Binary files a/docs/astro/src/assets/guides/zh/dragonbones-shared.png and b/docs/astro/src/assets/guides/zh/dragonbones-shared.png differdiff --git a/docs/astro/src/assets/guides/zh/editor-overview.png b/docs/astro/src/assets/guides/zh/editor-overview.pngindex ece071e2f..81cc364df 100644Binary files a/docs/astro/src/assets/guides/zh/editor-overview.png and b/docs/astro/src/assets/guides/zh/editor-overview.png differdiff --git a/docs/astro/src/assets/guides/zh/events-fsm.png b/docs/astro/src/assets/guides/zh/events-fsm.pngindex b4c54bd76..35eb98dd7 100644Binary files a/docs/astro/src/assets/guides/zh/events-fsm.png and b/docs/astro/src/assets/guides/zh/events-fsm.png differdiff --git a/docs/astro/src/assets/guides/zh/events-palette.png b/docs/astro/src/assets/guides/zh/events-palette.pngindex 9c90c62f8..c83d27fe7 100644Binary files a/docs/astro/src/assets/guides/zh/events-palette.png and b/docs/astro/src/assets/guides/zh/events-palette.png differdiff --git a/docs/astro/src/assets/guides/zh/events-section.png b/docs/astro/src/assets/guides/zh/events-section.pngindex 6ea83f418..43fbb1a3d 100644Binary files a/docs/astro/src/assets/guides/zh/events-section.png and b/docs/astro/src/assets/guides/zh/events-section.png differdiff --git a/docs/astro/src/assets/guides/zh/flipbook.png b/docs/astro/src/assets/guides/zh/flipbook.pngindex c08dbda78..9eb01ee5d 100644Binary files a/docs/astro/src/assets/guides/zh/flipbook.png and b/docs/astro/src/assets/guides/zh/flipbook.png differdiff --git a/docs/astro/src/assets/guides/zh/game-target-screen.png b/docs/astro/src/assets/guides/zh/game-target-screen.pngindex 250bd9723..9388b42a7 100644Binary files a/docs/astro/src/assets/guides/zh/game-target-screen.png and b/docs/astro/src/assets/guides/zh/game-target-screen.png differdiff --git a/docs/astro/src/assets/guides/zh/hot-update-build-cdn.png b/docs/astro/src/assets/guides/zh/hot-update-build-cdn.pngindex 65c0f854e..0fc9c0b6d 100644Binary files a/docs/astro/src/assets/guides/zh/hot-update-build-cdn.png and b/docs/astro/src/assets/guides/zh/hot-update-build-cdn.png differdiff --git a/docs/astro/src/assets/guides/zh/hot-update-cdn-badge.png b/docs/astro/src/assets/guides/zh/hot-update-cdn-badge.pngindex c98bb7bfd..dd7219892 100644Binary files a/docs/astro/src/assets/guides/zh/hot-update-cdn-badge.png and b/docs/astro/src/assets/guides/zh/hot-update-cdn-badge.png differdiff --git a/docs/astro/src/assets/guides/zh/hot-update-delivery-menu.png b/docs/astro/src/assets/guides/zh/hot-update-delivery-menu.pngindex ed5cbfa7c..1e5c63ebc 100644Binary files a/docs/astro/src/assets/guides/zh/hot-update-delivery-menu.png and b/docs/astro/src/assets/guides/zh/hot-update-delivery-menu.png differdiff --git a/docs/astro/src/assets/guides/zh/import-platform-overrides.png b/docs/astro/src/assets/guides/zh/import-platform-overrides.pngindex 96d3b265c..a92f0dc52 100644Binary files a/docs/astro/src/assets/guides/zh/import-platform-overrides.png and b/docs/astro/src/assets/guides/zh/import-platform-overrides.png differdiff --git a/docs/astro/src/assets/guides/zh/input-map.png b/docs/astro/src/assets/guides/zh/input-map.pngindex 1b071a427..c7a741f05 100644Binary files a/docs/astro/src/assets/guides/zh/input-map.png and b/docs/astro/src/assets/guides/zh/input-map.png differdiff --git a/docs/astro/src/assets/guides/zh/inspector-flex.png b/docs/astro/src/assets/guides/zh/inspector-flex.pngindex 412bbaef2..b8d1473e6 100644Binary files a/docs/astro/src/assets/guides/zh/inspector-flex.png and b/docs/astro/src/assets/guides/zh/inspector-flex.png differdiff --git a/docs/astro/src/assets/guides/zh/lighting.png b/docs/astro/src/assets/guides/zh/lighting.pngindex 2a695e79a..4f4599201 100644Binary files a/docs/astro/src/assets/guides/zh/lighting.png and b/docs/astro/src/assets/guides/zh/lighting.png differdiff --git a/docs/astro/src/assets/guides/zh/localization.png b/docs/astro/src/assets/guides/zh/localization.pngindex da79ecdc7..f4c4f3c0e 100644Binary files a/docs/astro/src/assets/guides/zh/localization.png and b/docs/astro/src/assets/guides/zh/localization.png differdiff --git a/docs/astro/src/assets/guides/zh/marker-inspector.png b/docs/astro/src/assets/guides/zh/marker-inspector.pngindex 0e0531a12..200fff485 100644Binary files a/docs/astro/src/assets/guides/zh/marker-inspector.png and b/docs/astro/src/assets/guides/zh/marker-inspector.png differdiff --git a/docs/astro/src/assets/guides/zh/material-shader.png b/docs/astro/src/assets/guides/zh/material-shader.pngindex 04b399f9e..608b4b93a 100644Binary files a/docs/astro/src/assets/guides/zh/material-shader.png and b/docs/astro/src/assets/guides/zh/material-shader.png differdiff --git a/docs/astro/src/assets/guides/zh/nine-slice-drag.png b/docs/astro/src/assets/guides/zh/nine-slice-drag.pngindex 10d54a939..a92f0dc52 100644Binary files a/docs/astro/src/assets/guides/zh/nine-slice-drag.png and b/docs/astro/src/assets/guides/zh/nine-slice-drag.png differdiff --git a/docs/astro/src/assets/guides/zh/orient-hex.png b/docs/astro/src/assets/guides/zh/orient-hex.pngindex 57220f540..674e2d2de 100644Binary files a/docs/astro/src/assets/guides/zh/orient-hex.png and b/docs/astro/src/assets/guides/zh/orient-hex.png differdiff --git a/docs/astro/src/assets/guides/zh/orient-staggered.png b/docs/astro/src/assets/guides/zh/orient-staggered.pngindex abfe86050..cb9c2e9be 100644Binary files a/docs/astro/src/assets/guides/zh/orient-staggered.png and b/docs/astro/src/assets/guides/zh/orient-staggered.png differdiff --git a/docs/astro/src/assets/guides/zh/particle-view.png b/docs/astro/src/assets/guides/zh/particle-view.pngindex 244bdbe2c..b4272e083 100644Binary files a/docs/astro/src/assets/guides/zh/particle-view.png and b/docs/astro/src/assets/guides/zh/particle-view.png differdiff --git a/docs/astro/src/assets/guides/zh/physics-collider.png b/docs/astro/src/assets/guides/zh/physics-collider.pngindex bd82b7bd8..1ae328495 100644Binary files a/docs/astro/src/assets/guides/zh/physics-collider.png and b/docs/astro/src/assets/guides/zh/physics-collider.png differdiff --git a/docs/astro/src/assets/guides/zh/prefab-mode.png b/docs/astro/src/assets/guides/zh/prefab-mode.pngindex 9f635a5f3..56a387fae 100644Binary files a/docs/astro/src/assets/guides/zh/prefab-mode.png and b/docs/astro/src/assets/guides/zh/prefab-mode.png differdiff --git a/docs/astro/src/assets/guides/zh/seq-curves.png b/docs/astro/src/assets/guides/zh/seq-curves.pngindex 03ac727a2..1ee8e3f96 100644Binary files a/docs/astro/src/assets/guides/zh/seq-curves.png and b/docs/astro/src/assets/guides/zh/seq-curves.png differdiff --git a/docs/astro/src/assets/guides/zh/seq-dopesheet.png b/docs/astro/src/assets/guides/zh/seq-dopesheet.pngindex 23c680615..fdfe6748b 100644Binary files a/docs/astro/src/assets/guides/zh/seq-dopesheet.png and b/docs/astro/src/assets/guides/zh/seq-dopesheet.png differdiff --git a/docs/astro/src/assets/guides/zh/settings-screen-presets.png b/docs/astro/src/assets/guides/zh/settings-screen-presets.pngindex 1ad133394..fc11156f0 100644Binary files a/docs/astro/src/assets/guides/zh/settings-screen-presets.png and b/docs/astro/src/assets/guides/zh/settings-screen-presets.png differdiff --git a/docs/astro/src/assets/guides/zh/steam-channel.png b/docs/astro/src/assets/guides/zh/steam-channel.pngindex 355258dab..59c596e16 100644Binary files a/docs/astro/src/assets/guides/zh/steam-channel.png and b/docs/astro/src/assets/guides/zh/steam-channel.png differdiff --git a/docs/astro/src/assets/guides/zh/tilemap-new.png b/docs/astro/src/assets/guides/zh/tilemap-new.pngindex b9dba2673..2c6d1436f 100644Binary files a/docs/astro/src/assets/guides/zh/tilemap-new.png and b/docs/astro/src/assets/guides/zh/tilemap-new.png differdiff --git a/docs/astro/src/assets/guides/zh/tilemap-overview.png b/docs/astro/src/assets/guides/zh/tilemap-overview.pngindex cab72b5bd..a2d11ec17 100644Binary files a/docs/astro/src/assets/guides/zh/tilemap-overview.png and b/docs/astro/src/assets/guides/zh/tilemap-overview.png differdiff --git a/docs/astro/src/assets/guides/zh/tilemap-tools.png b/docs/astro/src/assets/guides/zh/tilemap-tools.pngindex a449f1554..7262d882d 100644Binary files a/docs/astro/src/assets/guides/zh/tilemap-tools.png and b/docs/astro/src/assets/guides/zh/tilemap-tools.png differdiff --git a/docs/astro/src/assets/guides/zh/tileset-animation.png b/docs/astro/src/assets/guides/zh/tileset-animation.pngindex 27513ec6b..b7b9e3ae3 100644Binary files a/docs/astro/src/assets/guides/zh/tileset-animation.png and b/docs/astro/src/assets/guides/zh/tileset-animation.png differdiff --git a/docs/astro/src/assets/guides/zh/tileset-collision.png b/docs/astro/src/assets/guides/zh/tileset-collision.pngindex 3ee0ec84a..03ca389fe 100644Binary files a/docs/astro/src/assets/guides/zh/tileset-collision.png and b/docs/astro/src/assets/guides/zh/tileset-collision.png differdiff --git a/docs/astro/src/assets/guides/zh/tileset-terrain.png b/docs/astro/src/assets/guides/zh/tileset-terrain.pngindex c5732fdf5..0674fa9e8 100644Binary files a/docs/astro/src/assets/guides/zh/tileset-terrain.png and b/docs/astro/src/assets/guides/zh/tileset-terrain.png differdiff --git a/docs/astro/src/assets/guides/zh/ui-screen.png b/docs/astro/src/assets/guides/zh/ui-screen.pngindex 35e75235b..efbbde1f3 100644Binary files a/docs/astro/src/assets/guides/zh/ui-screen.png and b/docs/astro/src/assets/guides/zh/ui-screen.png differdiff --git a/docs/astro/src/assets/guides/zh/widgets-gallery.png b/docs/astro/src/assets/guides/zh/widgets-gallery.pngindex 657453eb4..7b95229fd 100644Binary files a/docs/astro/src/assets/guides/zh/widgets-gallery.png and b/docs/astro/src/assets/guides/zh/widgets-gallery.png differdiff --git a/docs/astro/src/content/docs/agents/built-in.mdx b/docs/astro/src/content/docs/agents/built-in.mdxindex 8fb7b4103..9a7ece4a9 100644--- a/docs/astro/src/content/docs/agents/built-in.mdx+++ b/docs/astro/src/content/docs/agents/built-in.mdx@@ -18,10 +18,10 @@ your Undo takes them back, and you can take the mouse at any moment.## Give it a model-The editor ships no key and calls nothing on its own. Open **Settings ▸ AI Agents**+The editor ships no key and calls nothing on its own. Open **Settings ▸ Editor ▸ Tools and AI ▸ AI Agents**and configure one provider — that is the whole setup.-+<Steps>@@ -33,7 +33,7 @@ and configure one provider — that is the whole setup.name that no longer exists is not refused — the endpoint quietly serves somethingsmaller instead, for the rest of the session.-3. Or add your own under **Your providers** — any endpoint at all, as many as you+3. Or add your own under **Your providers** (open the page's **Advanced** fold) — any endpoint at all, as many as youhave. Each row is a provider like the shipped ones: a name, which **protocol**it speaks, its address, its model names, and its own key. Expand a row to saywhat that endpoint can do.diff --git a/docs/astro/src/content/docs/agents/mcp.mdx b/docs/astro/src/content/docs/agents/mcp.mdxindex b07e7bd0d..7f16b6862 100644--- a/docs/astro/src/content/docs/agents/mcp.mdx+++ b/docs/astro/src/content/docs/agents/mcp.mdx@@ -77,7 +77,7 @@ instead of `--editor`:"args": ["<path-to>/editor-mcp.mjs", "--attach"]```-2. Turn on **Settings → AI Agents → Allow AI agents to connect**. The editor opens+2. Turn on **Settings → Editor → Tools and AI → AI Agents → Allow AI agents to connect**. The editor opensa local-only port and writes a discovery file `mcp-endpoint.json` into itsuser-data folder, which `--attach` finds on its own — pass an explicit path onlyif you moved it. The row reports the port it is listening on, and the setting isdiff --git a/docs/astro/src/content/docs/core-concepts/screen.mdx b/docs/astro/src/content/docs/core-concepts/screen.mdxindex ed84404c5..a4b28d0eb 100644--- a/docs/astro/src/content/docs/core-concepts/screen.mdx+++ b/docs/astro/src/content/docs/core-concepts/screen.mdx@@ -157,7 +157,7 @@ fit is on or off, a 1920×1080 window shows exactly one design box.`ScreenScaling` makes the design-resolution fit a *project* concern instead of a UIone — a scene with no `Canvas` (no UI) still letterboxes correctly. It is the-runtime image of **Project Settings → Display → Camera fit**.+runtime image of **Settings → Project → Game → Display → Camera fit**.| Field | Type | Default | Description ||---|---|---|---|@@ -253,7 +253,7 @@ const setupMinimap = defineSystem([GetWorld()], (world) => {```In the editor the mask is a multi-select of your project's **sorting layer names**-(Project Settings → Rendering → Layer names). The editor's own viewport ignores it+(Settings → Project → Rendering → Layer names). The editor's own viewport ignores itand always shows every layer, so culling never hides content while you author.<Aside type="caution">@@ -353,7 +353,7 @@ sub-pixel amounts. Facts from the implementation:## Project Display settings → runtime-Where each **Project Settings → Display** field lives and lands:+Where each **Settings → Project → Game → Display** field lives and lands:| Editor setting | Project manifest | Runtime effect ||---|---|---|@@ -385,7 +385,7 @@ applyBuildRuntimeConfig(app, {- **`Expand` (ShowAll) for content that must never be cut off** (UI-heavy, puzzle);draw backgrounds that bleed past the design frame. **`Shrink` (NoBorder) forfull-bleed art** where cropping the edges is acceptable.-- **Prefer the project fit** (`ScreenScaling` via Project Settings → Display) over+- **Prefer the project fit** (`ScreenScaling` via Settings → Project → Game → Display) overrelying on the UI `Canvas` — it works in scenes with no UI and keeps camera andUI concerns separate.- **Don't repurpose `pixelsPerUnit`** as a zoom or display scale; it only scalesdiff --git a/docs/astro/src/content/docs/editor/overview.mdx b/docs/astro/src/content/docs/editor/overview.mdxindex ce5720935..3622a60bb 100644--- a/docs/astro/src/content/docs/editor/overview.mdx+++ b/docs/astro/src/content/docs/editor/overview.mdx@@ -42,15 +42,14 @@ renaming a file doesn't break references.The default layout, from the outside in:-- **Activity Bar** — the far-left icon rail: the **editing mode** (Scene / UI / Tilemap), side panels, and project settings.-- **Menu Bar** — File · Edit · Entity · View · Build · Window · Help.-- **Toolbar** — Save, Undo/Redo, the transform tools, snapping, Show Grid, the **Play**- controls, Show Gizmos, and Build.-- **Viewport** (center) — the live WebGL scene view.+- **Activity Bar** — the far-left icon rail: the four **editing modes** (Tilemap / UI / World / Scene), the **Panels** menu (show or hide any docked panel), the Content Drawer, the Agent, and Settings.+- **Menu Bar** — File · Edit · Entity · View · Build · Window · Help. Save is in File; Undo and Redo are in Edit.+- **Header** — the **Play** controls (Play, Pause, Restart, and the menu that picks where the game runs), **Scan Preview** to run the game on a phone, and **Compile** for your scripts.+- **Viewport** (center) — the live WebGL scene view, with its own toolbar: the transform tools, snapping, 2D / 3D, the screen controls, **Show** and **Gizmos**.- **World Outliner** (right) — the scene's entity hierarchy.- **Details** (right) — the inspector for the current selection.-- **Content Browser** + **Output Log** (bottom tabs).-- **Status Bar** — edit mode, selection, cursor, FPS, draw calls, and the engine version.+- **Content Browser**, **Output Log** and **Profiler** (bottom tabs). Other panels — the Sequencer, the Tile Palette — open when you need them, from the Panels menu or the mode that owns them.+- **Status Bar** — the Content Drawer toggle, edit mode, whether the scene is saved, the loaded modules, FPS, entity count, memory, the graphics backend, and the engine version.Panels are dockable — drag a tab to re-arrange, split, or float it, and the layout issaved automatically. You can also summon the Content Browser as a slide-up overlaydiff --git a/docs/astro/src/content/docs/editor/settings.mdx b/docs/astro/src/content/docs/editor/settings.mdxindex a13259270..cc336f8d5 100644--- a/docs/astro/src/content/docs/editor/settings.mdx+++ b/docs/astro/src/content/docs/editor/settings.mdx@@ -2,30 +2,42 @@title: Project settingsdescription: "Editor preferences and the project-wide settings saved into project.esproject — display, UI theme, physics, rendering layers and packaging."----Open settings with **Ctrl / ⌘ + ,** or the Activity Bar's gear. Settings are grouped:+Open settings with **Ctrl / ⌘ + ,** or the Activity Bar's gear. The window has two tabs,+**Editor** and **Project**, and each is a short list of pages. Search at the top finds a+setting on any page.-- **Editor** — Appearance (**language**, accent color, UI scale), Viewport (grid,- snapping, gizmos), **Keyboard Shortcuts** (every shortcut below is rebindable- here), and Console.-- **Project** (saved into `project.esproject`):- - **Display** — the project design resolution (seeds new Canvases + drives the device- preview in any scene), the project-wide **screen orientation** (every export target- honors it; unset ⇒ derived from the design resolution's aspect), and the **camera fit**- (how the main camera scales the design resolution without a UI Canvas; `None` = off).- - **UI** — the project's widget **theme** (dark / light) and per-role **Theme- Colors** overrides, applied identically in the editor, Play, and every export.- See [UI widgets — theming](/docs/ui/widgets/#theming).+- **Editor** — yours, kept on this machine:+ - **General** — Appearance (**language**, accent color, interface font, UI scale),+ Performance, Console, and the renderer backend.+ - **Viewport** — grid, snapping, and the transform gizmos.+ - **Shortcuts** — every shortcut below is rebindable here.+ - **Tools and AI** — the external script / image editors and browser, and the+ built-in [agent](/docs/agents/built-in/): keys, models and endpoints of your own.+- **Project** — saved into `project.esproject` and shared with whoever opens it:+ - **Game** — **Display** (the project design resolution, which seeds new Canvases and+ drives the device preview in any scene; the project-wide **screen orientation**, which+ every export target honors and which, unset, is derived from the design resolution's+ aspect; and the **camera fit**, how the main camera scales the design resolution+ without a UI Canvas — `None` = off), **UI** (the widget **theme**, dark or light, and+ per-role **Theme Colors** overrides, applied identically in the editor, Play, and every+ export — see [UI widgets — theming](/docs/ui/widgets/#theming)), **Audio** and **Spine**.+ - **Rendering** — up to thirty-two named sorting layers that populate the inspector's+ layer dropdown, and which of them y-sort. The names are suggestions, not a limit:+ a render `layer` still accepts a number outside them. Quality tiers and the project+ environment live here too.- **Physics** — enable, gravity, sixteen collision-layer names and a 16×16 collisionmatrix, plus solver tuning (fixed timestep, sub-steps, contact Hz/damping/pushspeed, sleeping, continuous collision). See [Physics](/docs/gameplay/physics/).- - **Rendering** — up to thirty-two named sorting layers that populate the inspector's- layer dropdown, and which of them y-sort. The names are suggestions, not a limit:- a render `layer` still accepts a number outside them.- - **Packaging** — per-target metadata: WeChat AppID, Desktop app id / product name.+ - **Build and modules** — per-target packaging metadata (WeChat AppID, Desktop app id /+ product name, splash, achievements) and the engine modules the project includes.++Settings you set once and then leave alone — screen presets, solver tuning, the theme's+colors, the module switches, the endpoints of your own AI providers — sit under a page's+**Advanced** fold, so a page's body is what people actually touch.## Editor languageThe editor ships in **English** and **简体中文** and follows your system language on-first launch. Switch it under **Settings → Appearance → Language** — the change+first launch. Switch it under **Settings → Editor → General → Appearance → Language** — the changeapplies after a reload (the editor prompts for one). The editor's UI strings run onthe same [localization engine](/docs/assets/localization/) your game uses at runtime.diff --git a/docs/astro/src/content/docs/editor/shortcuts.mdx b/docs/astro/src/content/docs/editor/shortcuts.mdxindex 9ce160d75..7456f8373 100644--- a/docs/astro/src/content/docs/editor/shortcuts.mdx+++ b/docs/astro/src/content/docs/editor/shortcuts.mdx@@ -6,7 +6,7 @@ description: "Every default shortcut, all of them rebindable, plus the Command Pimport { Aside } from '@astrojs/starlight/components';`mod` is **⌘** on macOS and **Ctrl** elsewhere. All of these are rebindable under-Settings → Keyboard Shortcuts.+Settings → Editor → Shortcuts.| Action | Shortcut ||---|---|diff --git a/docs/astro/src/content/docs/editor/viewport.mdx b/docs/astro/src/content/docs/editor/viewport.mdxindex 687462b36..1c7d532b5 100644--- a/docs/astro/src/content/docs/editor/viewport.mdx+++ b/docs/astro/src/content/docs/editor/viewport.mdx@@ -59,7 +59,7 @@ selection changes recompute the target; leaving the canvas clears it. Navigationpaint, picking and contributed tools keep their own pointer routing. Hover alonedoes not change transforms or begin an undo transaction.-**Settings → Viewport → Gizmos → Transform handle size** scales the transform+**Settings → Editor → Viewport → Gizmos → Transform handle size** scales the transformarrows, center plane, rotation rings and hit areas together from 0.5 to 2 (default1). The preference persists across editor sessions. Changing it during a handledrag takes effect after release; the current drag retains its size and sensitivity.@@ -102,8 +102,8 @@ their fields directly (light radius, collider size, emitter shape, joint anchors## Editing modes-The Activity Bar's top three icons switch the **editing mode** — **Scene**, **UI**, or-**Tilemap**. The mode also *follows your selection*: pick a `Canvas` or `UINode` and the+The Activity Bar's first four icons switch the **editing mode** — **Tilemap**, **UI**, **World**,+or **Scene**. The mode also *follows your selection*: pick a `Canvas` or `UINode` and theeditor suggests **UI** mode, a `TilemapLayer` suggests **Tilemap** — switching that mode'stools and viewport aids **without** disturbing your panel layout. To open a mode'scompanion panels (UI Widgets, the Tilemap painter), click its Activity Bar icon or the@@ -112,14 +112,15 @@ clicks won't clear — re-click it to go back to following the selection.**The design frame + device preview.** A scene is authored against a **design resolution** —a fixed reference size (e.g. `1920 × 1080` landscape or `750 × 1334` portrait). This is a-**project-level** value (Project Settings → Display), not a UI-layer one: the viewport's-**Design** and **Device** controls work in **every** editor mode (Scene / UI / Tilemap), so+**project-level** value (Settings → Project → Game → Display), not a UI-layer one: the viewport's+**design resolution** and **Device** controls work in **every** editor mode, soyou can preview a gameplay-only scene on a real device **without** a UI Canvas. When thescene has a Canvas, UI additionally lays out inside the frame per its scale mode.-- **Design** dropdown (viewport toolbar) — sets the design resolution and reframes to it- (undoable). With a Canvas it edits that Canvas; otherwise it edits the project value.-- **Device** dropdown — picks the **target screen** (iPhone / iPad / 1080p …) in any mode.+- **Design resolution** dropdown (viewport toolbar, reading the current size such as `800×600`) —+ sets the design resolution and reframes to it (undoable). With a Canvas it edits that Canvas; otherwise it edits the project value.+- **Device** dropdown (its button reads `Design` while no device is simulated) — picks the **target+ screen** (iPhone / iPad / 1080p …) in any mode.While editing it draws that screen's aspect as letterbox bars + safe-area insets overyour scene; when you press **Play** the running game is letterboxed to the same shape,in the viewport and in the **Game** panel alike. It never changes your design@@ -127,7 +128,7 @@ scene has a Canvas, UI additionally lays out inside the frame per its scale mode- **Orientation** (same dropdown) — swaps the device's width and height. It applies to a**device**, so it is disabled while `Design` is selected: with no screen simulatedthere is nothing to rotate.-- **Camera Fit** (Project Settings → Display) — how the **main camera** scales the design+- **Camera Fit** (Settings → Project → Game → Display) — how the **main camera** scales the designresolution, independent of any UI Canvas. `None` (default) keeps the camera's ownorthoSize; any other mode letterboxes the game the same way on every device, and thedevice preview then shows the **real** framing (WYSIWYG for gameplay, not just UI).@@ -143,7 +144,8 @@ happened to be dragged to.### Project screen presetsThe built-in device list is a guess. A team that ships to specific hardware corrects it-in **Project Settings → Display → Screen presets**: add a row with an id, a name and the+in **Settings → Project → Game → Advanced → Screen presets** (settings you set once per project+sit under the page's **Advanced** fold): add a row with an id, a name and theportrait size, and it joins the dropdown for everyone who opens the project.- **Id** is what a saved selection resolves through, so keep it stable. Reusing a built-indiff --git a/docs/astro/src/content/docs/gameplay/physics.mdx b/docs/astro/src/content/docs/gameplay/physics.mdxindex 704be6f62..0813a894e 100644--- a/docs/astro/src/content/docs/gameplay/physics.mdx+++ b/docs/astro/src/content/docs/gameplay/physics.mdx@@ -154,9 +154,9 @@ chain) are refused in the editor too, and say which limit they hit.## Collision filtering-+-*Project Settings → Physics: name your 16 collision layers, then toggle which pairs collide in the matrix (alongside the solver tuning below).*+*Settings → Project → Physics: name your 16 collision layers, then toggle which pairs collide in the matrix (alongside the solver tuning below).*`categoryBits` (what layer a body is on) and `maskBits` (what it collides with) are16-bit filters. Two bodies collide only if each one's category is in the other's mask:diff --git a/docs/astro/src/content/docs/graphics/camera.mdx b/docs/astro/src/content/docs/graphics/camera.mdxindex 3c65d76be..cc78df980 100644--- a/docs/astro/src/content/docs/graphics/camera.mdx+++ b/docs/astro/src/content/docs/graphics/camera.mdx@@ -87,7 +87,7 @@ the project's design resolution (default 1920×1080) into the actual screen aspethe visible half-height is computed from `designResolution.y / 2` and a scale mode,so world units stay design pixels on every device. The fit source is, in order:-1. the **`ScreenScaling`** resource (Project Settings → Display → Camera fit), when+1. the **`ScreenScaling`** resource (Settings → Project → Game → Display → Camera fit), whenits `scaleMode` is a real mode (`≥ 0`);2. else the scene's **`Canvas`** component, if one exists;3. else none — the camera renders its raw `orthoSize`.diff --git a/docs/astro/src/content/docs/graphics/lighting.mdx b/docs/astro/src/content/docs/graphics/lighting.mdxindex 8da1a872a..ca4c8d748 100644--- a/docs/astro/src/content/docs/graphics/lighting.mdx+++ b/docs/astro/src/content/docs/graphics/lighting.mdx@@ -446,7 +446,7 @@ Linear mode is also the door to **HDR**: where float render targets are availablhalf-float, so a light with `intensity` above 1 pushes real over-range energy into[bloom and tonemap](/docs/graphics/post-processing/) — bright lights glow.-Enable it in **Project Settings → Rendering → Color space → Linear**. Shaders compile+Enable it in **Settings → Project → Rendering → Color space → Linear**. Shaders compileagainst the mode, so it is fixed at engine boot — the editor prompts for a reload. Thesetting rides the project manifest: the viewport, Play, and every export — web, desktop,WeChat, playable — boot the same pipeline. Code-first projects pass it at app creation:diff --git a/docs/astro/src/content/docs/graphics/sprites.mdx b/docs/astro/src/content/docs/graphics/sprites.mdxindex 45f9d7d9a..6e9467162 100644--- a/docs/astro/src/content/docs/graphics/sprites.mdx+++ b/docs/astro/src/content/docs/graphics/sprites.mdx@@ -100,8 +100,7 @@ screen — which is why `pivot: {0, 0}` is the **bottom-left** corner, not the t## Draw order & sorting layersWhen sprites overlap, draw order decides what's on top. Order is set by the **sorting-layer** (`sprite.layer`) — a named layer list you define in **Project Settings →-Rendering**, so the inspector shows a dropdown of *Background*, *Default*, *Foreground*,+layer** (`sprite.layer`) — a named layer list you define in **Settings → Project → Rendering**, so the inspector shows a dropdown of *Background*, *Default*, *Foreground*,etc. instead of a raw number. Lower layers draw first (behind).@@ -224,8 +223,7 @@ world.applyEntityOrder([other, another, card]);### Y-sort (top-down occlusion)-For top-down games, check a layer under **Project Settings → Rendering → Y-sorted-layers** and every sprite, shape, and text on that layer draws in world-Y order:+For top-down games, check a layer under **Settings → Project → Rendering → Advanced → Y-sorted layers** and every sprite, shape, and text on that layer draws in world-Y order:entities lower on screen draw on top, so a character walking below a tree appears infront of it — no manual `layer` or z juggling.@@ -237,7 +235,7 @@ front of it — no manual `layer` or z juggling.### Depth layers (2.5D)-Check a layer under **Project Settings → Rendering → Depth-sorted layers** and it+Check a layer under **Settings → Project → Rendering → Advanced → Depth-sorted layers** and itstops using paint order entirely: what covers what is decided by the depth buffer,from each entity's `Transform` z. With a perspective camera that is 2.5D — spritesat different depths occlude each other correctly from any angle, with no sort orderdiff --git a/docs/astro/src/content/docs/publishing/ads-sharing.mdx b/docs/astro/src/content/docs/publishing/ads-sharing.mdxindex b216e87e8..89c449628 100644--- a/docs/astro/src/content/docs/publishing/ads-sharing.mdx+++ b/docs/astro/src/content/docs/publishing/ads-sharing.mdx@@ -312,7 +312,7 @@ dialog, and the part that goes wrong is behind it.## Poki Web exports-In Project Settings → Packaging → Web, select **Poki**. The same choice can be+In Settings → Project → Build and modules → Packaging → Web, select **Poki**. The same choice can besaved in `packaging.platforms.web.channel` as `"poki"`, including a named Webexport profile. Standalone is the default.diff --git a/docs/astro/src/content/docs/publishing/android-ios.mdx b/docs/astro/src/content/docs/publishing/android-ios.mdxindex 148b53f15..61b3eabb8 100644--- a/docs/astro/src/content/docs/publishing/android-ios.mdx+++ b/docs/astro/src/content/docs/publishing/android-ios.mdx@@ -130,7 +130,7 @@ are not the same severity:<Steps>-1. **File → Build…**, then pick **Android** or **iOS** under **MOBILE**.+1. **Build → Package Project…**, then pick **Android** or **iOS** under **MOBILE**.2. Choose a build config and an output folder (`dist-android` / `dist-ios` bydefault). Source maps are not offered — there is no browser devtools toconsume them.@@ -177,14 +177,14 @@ folder holds the finished app:A native app has OS-level properties the engine never reads — the runtime cannotrotate a phone, and a store keeps a bundle id forever — so they are declared for-whoever assembles the app, in **Project Settings → Packaging**:+whoever assembles the app, in **Settings → Project → Build and modules → Packaging**:| Setting | What it becomes ||---|---|| **App Icon** | The launcher icon on both platforms — one project-relative square PNG (1024×1024 is ideal). Android takes it as the launcher mipmap, iOS as the asset catalog Xcode derives every size from, so nothing is resized and one image is all you keep. Left empty, the app ships Estella's mark rather than the platform's placeholder. || **Application ID** | The Android manifest package and the iOS bundle id (reverse-DNS). Left empty it is derived from the project name; a published app should set its own. || **Android Version Code** | The integer Google Play orders builds by — it must increase with every upload. The version users see comes from the project version. |-| **Orientation** | *Project Settings → Display → Orientation*, one project-wide setting every target honors. Left unset it follows the design resolution's aspect. |+| **Orientation** | *Settings → Project → Game → Display → Orientation*, one project-wide setting every target honors. Left unset it follows the design resolution's aspect. |The export writes these into `app.config.json` beside the content — deliberately**not** in `game.config.json`, which is what the runtime reads.diff --git a/docs/astro/src/content/docs/publishing/hot-update.mdx b/docs/astro/src/content/docs/publishing/hot-update.mdxindex 7b8c8d188..617bebf01 100644--- a/docs/astro/src/content/docs/publishing/hot-update.mdx+++ b/docs/astro/src/content/docs/publishing/hot-update.mdx@@ -92,7 +92,7 @@ Remote-group assets need a **root URL** to fetch from — your CDN. It is apackaging setting of the project (`packaging.remoteRoot` in `project.esproject`),and an **export profile** can override it, so a test build and a production buildpoint at different CDNs. The export bakes the root it resolves into the shipped-game. Set it in the **Package Project** dialog (**File → Build…**), under+game. Set it in the **Package Project** dialog (**Build → Package Project…**), under**Advanced**:diff --git a/docs/astro/src/content/docs/publishing/overview.mdx b/docs/astro/src/content/docs/publishing/overview.mdxindex 02ae1d59f..4a8c877f7 100644--- a/docs/astro/src/content/docs/publishing/overview.mdx+++ b/docs/astro/src/content/docs/publishing/overview.mdx@@ -14,19 +14,22 @@ so what you shipped is what you tested (*play == ship*).-*The Package Project dialog: pick a **target** from the categorized list, a configuration, the output folder, and the [cook options](#asset-cook-options) — then Package.*+*The Package Project dialog: pick a **target** from the categorized list on the left, then that target's settings, a **profile**, a configuration, compression, the output folder and the scenes to ship — then Package.*<Steps>-1. Open **File → Build…** to bring up the **Package Project** dialog.+1. Open **Build → Package Project…** to bring up the **Package Project** dialog.2. Pick a **target** from the list — grouped as *General* (Web / Desktop /- Playable), *Mini-games* (WeChat and any the project added), and *Mobile*+ Playable), *Mini-games* (WeChat, Douyin, Kuaishou, Bilibili, quick games, Alipay, Huawei — see+ [Mini-game platforms](/docs/publishing/minigame-platforms/)), and *Mobile*(Android / iOS). A target that ships to more than one place lists them beneathit: Desktop branches into *Standalone* and *[Steam](/docs/publishing/steam/)*.3. Fill in that target's own settings, shown on its page — what the app is calledand identified by, and anything the store it goes to needs.-4. Choose a **build config** — *Development* or *Shipping* (Shipping minifies) — an- **output folder**, source maps, and the [asset cook options](#asset-cook-options).+4. Choose a **profile** (the project's settings, or a saved one), a **build config** —+ *Development* or *Shipping* (Shipping minifies) — the **compression** choice (the+ [asset cook options](#asset-cook-options)), an **output folder**, and under **Advanced**+ the CDN root, a size budget and source maps.5. Check the **Scenes in build** list — untick scenes you don't want to ship, andpin a different startup scene if needed (see below).6. Click **Package** and watch the live build log. When it finishes, the output@@ -333,7 +336,7 @@ keeps one file per asset, since an update downloads assets one by one.## Packaging settingsWhat one *target* is called, where it goes and what a store knows it by is edited-on that target's page in **File → Build…**, beside the build it changes:+on that target's page in **Build → Package Project…**, beside the build it changes:- **WeChat** — AppID.- **Desktop** — application id override, the product name (which names the app),@@ -342,8 +345,7 @@ on that target's page in **File → Build…**, beside the build it changes:the build ends at an installable package or at the Gradle project, and whetheran App Bundle is written beside the APK.-What holds for the project *whatever* it ships to stays in **Project Settings →-Packaging**, and is saved with the project:+What holds for the project *whatever* it ships to stays in **Settings → Project → Build and modules → Packaging**, and is saved with the project:- **Application ID** — the reverse-DNS id the installed app is known by: theAndroid manifest package, the iOS bundle id, the desktop installer id. Empty@@ -355,8 +357,7 @@ Packaging**, and is saved with the project:### Screen orientation-Orientation is **one project-wide setting**, not per-target: **Project Settings →-Display → Orientation** (portrait or landscape), right beside the design resolution.+Orientation is **one project-wide setting**, not per-target: **Settings → Project → Game → Display → Orientation** (portrait or landscape), right beside the design resolution.Every target honors it — the WeChat `game.json` `deviceOrientation`, the web build'srotate-to-fit prompt (and a best-effort `screen.orientation.lock`), the desktopwindow's aspect, and the native app's `app.config.json` (the engine can letterboxdiff --git a/docs/astro/src/content/docs/publishing/steam.mdx b/docs/astro/src/content/docs/publishing/steam.mdxindex c61486ee8..2689271d7 100644--- a/docs/astro/src/content/docs/publishing/steam.mdx+++ b/docs/astro/src/content/docs/publishing/steam.mdx@@ -42,7 +42,7 @@ fullscreen behave the way players expect them to.## Setting it up-Open **File → Build…** and pick **Steam**, listed under Desktop in the target+Open **Build → Package Project…** and pick **Steam**, listed under Desktop in the targetlist — Steam is a destination for the desktop build, so it branches that targetrather than standing beside it. Everything the channel needs is on that page.@@ -55,8 +55,7 @@ rather than standing beside it. Everything the channel needs is on that page.| **Steamworks SDK** | The SDK you downloaded. Its `redistributable_bin/<os>/` library ships inside the app. || **Depot IDs** | Leave at 0 to use `App ID + 1`, … Valve *assigns* these; the generated checklist tells you to check them. |-The **achievement ids** are not here: they live in **Project Settings →-Packaging**, because every store keeps that same list under a different name.+The **achievement ids** are not here: they live in **Settings → Project → Build and modules → Packaging**, because every store keeps that same list under a different name.Declaring them is what lets an unlock of an id no backend has be refused where ithappens, instead of being accepted and silently dropped.diff --git a/docs/astro/src/content/docs/publishing/wechat.mdx b/docs/astro/src/content/docs/publishing/wechat.mdxindex d33a9b05b..6c41ee1be 100644--- a/docs/astro/src/content/docs/publishing/wechat.mdx+++ b/docs/astro/src/content/docs/publishing/wechat.mdx@@ -35,11 +35,11 @@ node build-tools/cli.js build -t videodec-wechat # video (MPEG-1 wasm decoder)<Steps>-1. In **Project Settings → Packaging → WeChat**, set your AppID. Screen orientation- is project-wide — set it once in **Project Settings → Display → Orientation** (it+1. In **Settings → Project → Build and modules → Packaging → WeChat**, set your AppID. Screen orientation+ is project-wide — set it once in **Settings → Project → Game → Display → Orientation** (itdrives the `game.json` `deviceOrientation` below).-2. Open **File → Build…**, pick the **WeChat** platform in the Package Project+2. Open **Build → Package Project…**, pick the **WeChat** platform in the Package Projectdialog, review the **Scenes in build** list, and click **Package**. Estellacooks assets, bundles the SDK + your scripts (as CommonJS, via esbuild),transforms scenes, and writes a standalone MiniGame package.diff --git a/docs/astro/src/content/docs/ui/layout.mdx b/docs/astro/src/content/docs/ui/layout.mdxindex 75e30400e..cbd962460 100644--- a/docs/astro/src/content/docs/ui/layout.mdx+++ b/docs/astro/src/content/docs/ui/layout.mdx@@ -14,7 +14,7 @@ model overview start at [UI](/docs/ui/overview/).## Units: design pixelsEvery `px` in UI layout is a **design pixel** — a unit of the project's design-resolution (Project Settings → Display), not a device pixel. Scene cameras bake+resolution (Settings → Project → Game → Display), not a device pixel. Scene cameras bakethe design-resolution fit into their extents, so inside the UI layout box**1 world unit = 1 design px** and a `px(320)` panel is 320 design px wide onevery device; the canvas scale mode decides how that design box fits the realdiff --git a/docs/astro/src/content/docs/ui/theming.mdx b/docs/astro/src/content/docs/ui/theming.mdxindex 8b4117a5f..20e4a6690 100644--- a/docs/astro/src/content/docs/ui/theming.mdx+++ b/docs/astro/src/content/docs/ui/theming.mdx@@ -119,7 +119,7 @@ Semantics worth knowing:## Project-level themeYou normally don't call `switchTheme` for the *base* look — the project-declares it. **Project Settings → UI** in the editor writes two fields under+declares it. **Settings → Project → Game → UI** in the editor writes two fields under`features.ui` in the project manifest (`project.esproject`):| Setting | Manifest field | Meaning |diff --git a/docs/astro/src/content/docs/ui/widgets.mdx b/docs/astro/src/content/docs/ui/widgets.mdxindex 5cfe0b9cd..ff354c0e1 100644--- a/docs/astro/src/content/docs/ui/widgets.mdx+++ b/docs/astro/src/content/docs/ui/widgets.mdx@@ -432,7 +432,7 @@ the Canvas; the world and backgrounds can still fill the whole screen. TheWidget colors come from a shared token set with roles like `surface`, `control`,`primary`, and `track`; `switchTheme(world, tokens)` live-restyles everything on-screen, and a project declares its palette once in **Project Settings → UI**.+screen, and a project declares its palette once in **Settings → Project → Game → UI**.See **[UI Theme](/docs/ui/theming/)**.## Editor prefabsdiff --git a/docs/astro/src/content/docs/world/tilemaps.mdx b/docs/astro/src/content/docs/world/tilemaps.mdxindex a132178b6..539d1f4f0 100644--- a/docs/astro/src/content/docs/world/tilemaps.mdx+++ b/docs/astro/src/content/docs/world/tilemaps.mdx@@ -13,7 +13,7 @@ multi-tileset layers, per-tile animation, and infinite streaming maps.## How it works-There are three entry points. The editor's **Tilemap painter** authors layers+There are three entry points. The editor's **Tilemap mode** authors layersvisually, backed by a `.estileset` tileset asset. The **`Tilemap`** componentpoints an entity at a Tiled JSON file and, at load, spawns one **`TilemapLayer`**entity per layer. The **`Tilemaps`** resource is the imperative API for creating@@ -24,12 +24,13 @@ natively in the editor, or import it from a Tiled file with no extra setup.## Paint in the editor-+-*Select a `TilemapLayer` and the **Tilemap painter** opens on the left — tools on top, the tileset palette below. Paint straight into the viewport.*+*Select a `TilemapLayer` and the editor enters **Tilemap mode**: the paint tools and the active layer sit in the viewport toolbar, and the **Tile Palette** opens in the bottom dock with the tileset. Paint straight into the viewport.*-Select an entity with a `TilemapLayer` component and the **Tilemap painter**-panel opens with the tileset palette. Pick a tool and paint directly in the+Select an entity with a `TilemapLayer` component — the editor suggests **Tilemap mode**, or+click its icon in the Activity Bar — and the **Tile Palette** panel opens beside the Content+Browser with the tileset. Pick a tool from the viewport toolbar and paint directly in theviewport — a stamp ghost previews every stroke:| Tool | Key | What it does |@@ -47,24 +48,24 @@ viewport — a stamp ghost previews every stroke:While a paint tool is active, `H` / `V` flip the stamp and `R` rotates it 90°.`Q`, `W`, or `Esc` leave paint mode and hand the keys back to the transform tools.-+-*The painter panel up close: the tool row (brush, erase, rectangle, ellipse, line, bucket, select, eyedropper, terrain), the active tileset tab, and the tile palette you stamp from.*+*The Tile Palette up close: the tileset picker and the **Tiles / Terrain / Stamps** tabs on top, the atlas you stamp from, and the **Current brush** with flip, rotate, **Random** and **Save as stamp**. The paint tools themselves (brush, erase, rectangle, ellipse, line, bucket, select, eyedropper, terrain) are in the viewport toolbar.*- **Multi-tile stamps** — drag across the palette to grab a block of tiles as onestamp. The palette is keyboard-friendly too: **arrow keys** move the selection,**Shift + arrows** grow it into a stamp.-- **Saved stamps** — the bookmark button below the tools saves the current brush- into a per-project stamp library; click a chip to bring a pattern back, `×`- deletes it. Identical patterns deduplicate.-- **Random mode** — toggle the dice button (or press `D` while painting) and each+- **Saved stamps** — **Save as stamp**, under the current brush, saves it into a+ per-project stamp library; the **Stamps** tab lists them — click one to bring a+ pattern back, `×` deletes it. Identical patterns deduplicate.+- **Random mode** — toggle **Random** (or press `D` while painting) and eachpainted cell samples one tile at random from the stamp instead of repeating thepattern — quick scatter for grass, rubble, and other variation. Sampling honorseach tile's **probability** weight from the tileset editor's Properties mode(default 1; 0 = never scattered).-- **Layer strip** — when the scene has several tilemap layers, a strip at the top- of the panel switches the active layer and toggles per-layer visibility and- lock; **drag a layer chip** to reorder layers.+- **Layer picker** — when the scene has several tilemap layers, the layer picker in the+ viewport toolbar switches the active layer; its menu shows, hides, locks, renames,+ duplicates and deletes layers, and moves them **up or down** to reorder them.## Map orientations@@ -250,9 +251,9 @@ of two models:authors the color palette (add / rename / recolor / remove) and the per-tilecorners: each quarter of a tile is the click target for its corner — click ordrag a stroke to paint the active color, right button erases — and the- painter lists the colors to paint with.+ Tile Palette's **Terrain** tab lists the colors to paint with.-The painter's terrain brush dispatches on the set's model automatically. A+The terrain brush dispatches on the set's model automatically. Ablended-island corner-Wang demo ships in `examples/`.## Tilesets & collision@@ -309,8 +310,8 @@ know — brush / rectangle / fill tools, chunk storage, flip, and the greedybox-merge — with no second system to learn. At Play the painted cells spawn staticcolliders, exactly like per-tile collision.-**Create → 2D → Collision Layer** (or the *New Collision Layer* command) makes one,-seeds a 32 px grid, and opens the painter with the collision palette instead of a+The **New Collision Layer** command (run it from the Command Palette) makes one,+seeds a 32 px grid, and opens the Tile Palette with the collision palette instead of atileset.diff --git a/docs/astro/src/content/docs/zh-cn/agents/built-in.mdx b/docs/astro/src/content/docs/zh-cn/agents/built-in.mdxindex 7993bcbe3..304d990c9 100644--- a/docs/astro/src/content/docs/zh-cn/agents/built-in.mdx+++ b/docs/astro/src/content/docs/zh-cn/agents/built-in.mdx@@ -17,10 +17,10 @@ import { Aside, Steps } from '@astrojs/starlight/components';## 先给它一个模型-编辑器不附带任何密钥,也不会自己发起任何调用。打开**设置 ▸ AI 代理**,+编辑器不附带任何密钥,也不会自己发起任何调用。打开**设置 ▸ 编辑器 ▸ 工具与 AI ▸ AI 代理**,配好一个提供方,配置就算做完了。-+<Steps>@@ -31,7 +31,7 @@ import { Aside, Steps } from '@astrojs/starlight/components';厂商下次发布为止,而写了个已经不存在的名字并不会被拒绝——接口会悄悄改用一个更小的模型顶上,并且一整个会话都是如此。-3. 或者在**你的提供方**里添加自己的——任何接口都行,有几个加几个。每一行+3. 或者在**你的提供方**(展开该页的**高级**折叠)里添加自己的——任何接口都行,有几个加几个。每一行都和内置的提供方一样:名称、讲哪种**协议**、地址、模型名,以及它自己的密钥。展开一行还能说明这个接口**能做什么**。diff --git a/docs/astro/src/content/docs/zh-cn/agents/mcp.mdx b/docs/astro/src/content/docs/zh-cn/agents/mcp.mdxindex 3c7b40230..3928c6663 100644--- a/docs/astro/src/content/docs/zh-cn/agents/mcp.mdx+++ b/docs/astro/src/content/docs/zh-cn/agents/mcp.mdx@@ -71,7 +71,7 @@ claude mcp add estella --env ESTELLA_MCP_ALLOW_WRITES=1 -- \"args": ["<path-to>/editor-mcp.mjs", "--attach"]```-2. 打开**设置 → AI 代理 → 允许 AI 代理连接**。编辑器会开启一个仅限本机的端口,+2. 打开**设置 → 编辑器 → 工具与 AI → AI 代理 → 允许 AI 代理连接**。编辑器会开启一个仅限本机的端口,并往自己的 user-data 目录写一个发现文件 `mcp-endpoint.json`,`--attach` 会自己找到它——只有你把它挪了位置,才需要显式传路径。那一行会显示当前监听的端口;这个开关会被记住,所以此后你双击图标启动的编辑器同样是就绪状态。diff --git a/docs/astro/src/content/docs/zh-cn/core-concepts/screen.mdx b/docs/astro/src/content/docs/zh-cn/core-concepts/screen.mdxindex 2a43ad6cd..545e55631 100644--- a/docs/astro/src/content/docs/zh-cn/core-concepts/screen.mdx+++ b/docs/astro/src/content/docs/zh-cn/core-concepts/screen.mdx@@ -141,7 +141,7 @@ const halfH = computeEffectiveOrthoSize(## 项目级适配:`ScreenScaling` 资源`ScreenScaling` 把设计分辨率适配变成*项目*概念而非 UI 概念——没有 `Canvas`(没有 UI)的-场景照样正确 letterbox。它是**项目设置 → 显示 → 相机适配**的运行时映像。+场景照样正确 letterbox。它是**设置 → 项目 → 游戏 → 显示 → 相机适配**的运行时映像。| 字段 | 类型 | 默认 | 说明 ||---|---|---|---|@@ -221,7 +221,7 @@ const setupMinimap = defineSystem([GetWorld()], (world) => {});```-编辑器里这个遮罩是一个按**项目排序层名字**列出的多选框(项目设置 → 渲染 → 层名称)。+编辑器里这个遮罩是一个按**项目排序层名字**列出的多选框(设置 → 项目 → 渲染 → 层名称)。编辑器自己的视口不受它影响、永远显示所有层,所以剔除不会在创作时挡住内容。<Aside type="caution">@@ -258,7 +258,7 @@ window.addEventListener('resize', feed);feed();```-*发布*的方向是项目设置而非运行时状态:**项目设置 → 显示 → 方向**写一个值,所有导出目标+*发布*的方向是项目设置而非运行时状态:**设置 → 项目 → 游戏 → 显示 → 方向**写一个值,所有导出目标共同消费(微信 `game.json`、web/playable 的旋转提示、桌面窗口宽高比)。未设置时,由设计分辨率的宽高比推导。@@ -313,7 +313,7 @@ const buildHudRoot = defineSystem([GetWorld()], (world) => {## 项目显示设置 → 运行时-**项目设置 → 显示**的每个字段存在哪里、落到哪里:+**设置 → 项目 → 游戏 → 显示**的每个字段存在哪里、落到哪里:| 编辑器设置 | 项目 manifest | 运行时效果 ||---|---|---|@@ -343,7 +343,7 @@ applyBuildRuntimeConfig(app, {改选缩放模式。- **绝不能被裁的内容用 `Expand`(ShowAll)**(重 UI、解谜);把背景画出设计框外。**全屏出血的美术用 `Shrink`(NoBorder)**,可接受边缘裁剪时。-- **优先用项目适配**(项目设置 → 显示的 `ScreenScaling`)而非依赖 UI `Canvas`——它在无+- **优先用项目适配**(设置 → 项目 → 游戏 → 显示的 `ScreenScaling`)而非依赖 UI `Canvas`——它在无UI 的场景也工作,并让相机与 UI 关注点分离。- **别把 `pixelsPerUnit` 挪用**为缩放或显示比例;它只缩放物理米。缩放是 `orthoSize`(无适配时)或设计分辨率的选择。diff --git a/docs/astro/src/content/docs/zh-cn/editor/overview.mdx b/docs/astro/src/content/docs/zh-cn/editor/overview.mdxindex eeaf47239..0d3feedec 100644--- a/docs/astro/src/content/docs/zh-cn/editor/overview.mdx+++ b/docs/astro/src/content/docs/zh-cn/editor/overview.mdx@@ -39,14 +39,14 @@ Estella 编辑器是一个桌面应用(Electron + React),带 UE5 风格的**可从外到内的默认布局:-- **活动栏(Activity Bar)** — 最左侧的图标竖条:**编辑模式**(场景 / UI / 瓦片地图)、侧面板、项目设置。-- **菜单栏** — 文件 · 编辑 · 实体 · 视图 · 构建 · 窗口 · 帮助。-- **工具栏** — 保存、撤销/重做、各变换工具、吸附、显示网格、**运行**控制、显示 gizmo、构建。-- **视口**(中央) — 实时 WebGL 场景视图。+- **活动栏(Activity Bar)** — 最左侧的图标竖条:四种**编辑模式**(瓦片地图 / UI / 世界 / 场景)、**面板**菜单(显示或隐藏任何停靠面板)、内容抽屉、Agent 和设置。+- **菜单栏** — 文件 · 编辑 · 实体 · 视图 · 构建 · 窗口 · 帮助。保存在“文件”里,撤销和重做在“编辑”里。+- **顶栏** — **运行**控制(运行、暂停、重新运行,以及选择游戏在哪里运行的菜单)、**扫码预览**(在手机上运行游戏)、**编译**(编译脚本)。+- **视口**(中央) — 实时 WebGL 场景视图,自带工具栏:变换工具、吸附、2D / 3D、屏幕控制、**显示**和 **Gizmo**。- **World Outliner**(右) — 场景的实体层级。- **Details**(右) — 当前选中项的检视器。-- **内容浏览器** + **输出日志**(底部标签)。-- **状态栏** — 编辑模式、选中项、光标、FPS、draw calls、引擎版本。+- **内容浏览器**、**输出日志**和**性能分析器**(底部标签)。其他面板 —— 序列器、瓦片调色板 —— 在需要时打开:从“面板”菜单,或由拥有它的模式打开。+- **状态栏** — 内容抽屉开关、编辑模式、场景是否已保存、已加载的模块、FPS、实体数、内存、图形后端和引擎版本。面板可停靠——拖动标签即可重排、拆分或浮动,布局会自动保存。你也能用 **Ctrl / ⌘ + Space** 从任何地方把内容浏览器唤成上滑浮层(*内容抽屉*)。diff --git a/docs/astro/src/content/docs/zh-cn/editor/settings.mdx b/docs/astro/src/content/docs/zh-cn/editor/settings.mdxindex 1d5dad1bf..f627b941a 100644--- a/docs/astro/src/content/docs/zh-cn/editor/settings.mdx+++ b/docs/astro/src/content/docs/zh-cn/editor/settings.mdx@@ -2,24 +2,33 @@title: 项目设置description: "编辑器偏好,以及写入 project.esproject 的项目级设置——显示、UI 主题、物理、渲染层与打包。"----用 **Ctrl / ⌘ + ,** 或活动栏的齿轮打开设置。设置分组:+用 **Ctrl / ⌘ + ,** 或活动栏的齿轮打开设置。窗口有两个标签页,**编辑器**和**项目**,每个标签页是一份简短的+页面列表。顶部的搜索能找到任何一页上的设置。-- **编辑器** — 外观(**语言**、强调色、UI 缩放)、视口(网格、吸附、gizmo)、**键盘快捷键**(下面每个快捷键- 都能在这里重绑)、控制台。-- **项目**(存进 `project.esproject`):- - **显示** — 项目设计分辨率(播种新 Canvas + 驱动任意场景的设备预览)、项目级的**屏幕方向**- (所有导出目标都遵循它;留空则从设计分辨率的宽高比推导),以及**相机适配**(主相机如何在无 UI- Canvas 的情况下按设计分辨率缩放;`无`=关闭)。- - **UI** — 项目的控件**主题**(深色 / 浅色)与逐角色的**主题颜色**覆盖,在编辑器、Play- 和所有导出里一致生效。见 [UI 控件——主题](/docs/zh-cn/ui/widgets/#主题)。+- **编辑器** — 属于你本人,保存在这台机器上:+ - **常规** — 外观(**语言**、强调色、界面字体、UI 缩放)、性能、控制台,以及渲染后端。+ - **视口** — 网格、吸附和变换 gizmo。+ - **快捷键** — 下面每个快捷键都能在这里重绑。+ - **工具与 AI** — 外部脚本编辑器 / 图片编辑器 / 浏览器,以及内置 [Agent](/docs/zh-cn/agents/built-in/):+ 你自己的密钥、模型和接口。+- **项目** — 存进 `project.esproject`,谁打开这个项目都共用:+ - **游戏** — **显示**(项目设计分辨率:播种新 Canvas,驱动任意场景的设备预览;项目级的**屏幕方向**:+ 所有导出目标都遵循它,留空则从设计分辨率的宽高比推导;以及**相机适配**:主相机如何在无 UI Canvas+ 的情况下按设计分辨率缩放,`无`=关闭)、**UI**(控件**主题**,深色 / 浅色,与逐角色的**主题颜色**+ 覆盖,在编辑器、Play 和所有导出里一致生效——见 [UI 控件——主题](/docs/zh-cn/ui/widgets/#主题))、+ **音频**和 **Spine**。+ - **渲染** — 最多三十二个命名排序层,填充检视器里的层下拉,以及其中哪些参与 Y 轴排序。+ 名字只是建议,不是上限:渲染组件的 `layer` 照样接受名单以外的数字。画质档位和项目环境也在这里。- **物理** — 启用、重力、十六个碰撞层名字和一个 16×16 碰撞矩阵,以及解算器调参(固定时间步、子步、接触 Hz/阻尼/推出速度、允许睡眠、连续碰撞)。见 [物理](/docs/zh-cn/gameplay/physics/)。- - **渲染** — 最多三十二个命名排序层,填充检视器里的层下拉,以及其中哪些参与 Y 轴排序。- 名字只是建议,不是上限:渲染组件的 `layer` 照样接受名单以外的数字。- - **打包** — 每目标元数据:微信 AppID、桌面应用 id / 产品名。+ - **构建与模块** — 每目标的打包元数据(微信 AppID、桌面应用 id / 产品名、启动页、成就)和项目包含的+ 引擎模块。++设一次就不再动的设置——屏幕预设、解算器调参、主题的各个颜色、模块开关、你自己的 AI 提供方接口——收在+页面的**高级**折叠下,这样页面主体就是大家真正会碰的东西。## 编辑器语言-编辑器内置 **English** 和 **简体中文**,首次启动跟随系统语言。在 **设置 → 外观 → 语言** 切换——+编辑器内置 **English** 和 **简体中文**,首次启动跟随系统语言。在 **设置 → 编辑器 → 常规 → 外观 → 语言** 切换——更改在重新加载后生效(编辑器会弹出提示)。编辑器界面文案跑在与游戏运行时相同的[本地化引擎](/docs/zh-cn/assets/localization/)上。diff --git a/docs/astro/src/content/docs/zh-cn/editor/shortcuts.mdx b/docs/astro/src/content/docs/zh-cn/editor/shortcuts.mdxindex 4e67e0a7e..588c3fcd7 100644--- a/docs/astro/src/content/docs/zh-cn/editor/shortcuts.mdx+++ b/docs/astro/src/content/docs/zh-cn/editor/shortcuts.mdx@@ -5,7 +5,7 @@ description: "全部默认快捷键(均可重绑),以及命令面板与编辑器import { Aside } from '@astrojs/starlight/components';-`mod` 在 macOS 上是 **⌘**,其他平台是 **Ctrl**。以下全部可在设置 → 键盘快捷键里重绑。+`mod` 在 macOS 上是 **⌘**,其他平台是 **Ctrl**。以下全部可在设置 → 编辑器 → 快捷键里重绑。| 动作 | 快捷键 ||---|---|diff --git a/docs/astro/src/content/docs/zh-cn/editor/viewport.mdx b/docs/astro/src/content/docs/zh-cn/editor/viewport.mdxindex bb97bd86e..56fb5fe8b 100644--- a/docs/astro/src/content/docs/zh-cn/editor/viewport.mdx+++ b/docs/astro/src/content/docs/zh-cn/editor/viewport.mdx@@ -50,7 +50,7 @@ W / E / R 单独工具仍可使用,T 仍为 Rect。缩放方向。相机或选择变化会重新判断,离开画布即清除。导航、绘制、拾取和贡献工具保留自己的指针路由;仅悬停不会修改变换或开启撤销事务。-在**设置 → 视口 → Gizmo → 变换手柄尺寸**中,可同步缩放箭头、中心平面、+在**设置 → 编辑器 → 视口 → Gizmo → 变换手柄尺寸**中,可同步缩放箭头、中心平面、旋转环和命中范围,范围为 0.5–2,默认 1,并在重启编辑器后保留。拖动手柄期间修改尺寸会在松开后生效;当前拖拽保持原有尺寸与操作灵敏度。@@ -83,25 +83,25 @@ gizmo(图标、视野矩形、光照范围/锥、碰撞体轮廓、关节锚点## 编辑模式-活动栏顶部三个图标切换**编辑模式**——**场景(Scene)**、**UI**、**瓦片地图(Tilemap)**。模式也会+活动栏前四个图标切换**编辑模式**——**瓦片地图(Tilemap)**、**UI**、**世界(World)**、**场景(Scene)**。模式也会*跟随你的选择*:选中 `Canvas` 或 `UINode`,编辑器建议 **UI** 模式,选中 `TilemapLayer` 建议**瓦片地图**模式——只切换该模式的工具和视口辅助,**不会**打乱你的面板布局。要打开某个模式的配套面板(UI 控件面板、瓦片地图绘制器),点它的活动栏图标或视口里的模式芯片;这也会把该模式**固定**成一个粘性锁,普通的选中点击不再清掉它——再点一次即可回到跟随选择。**设计框与设备预览。** 场景是对着**设计分辨率**创作的——一个固定的参考尺寸(比如横屏-`1920 × 1080` 或竖屏 `750 × 1334`)。它是**项目级**的值(项目设置 → 显示),不属于 UI 层:视口的-**Design** 和 **Device** 控件在**每种**编辑模式(场景 / UI / 瓦片地图)都可用,所以纯玩法场景**无需**+`1920 × 1080` 或竖屏 `750 × 1334`)。它是**项目级**的值(设置 → 项目 → 游戏 → 显示),不属于 UI 层:视口的+**设计分辨率**和 **Device** 控件在**每种**编辑模式都可用,所以纯玩法场景**无需**UI Canvas 也能在真机上预览。场景里有 Canvas 时,UI 会额外按其缩放模式在框内布局。-- **Design** 下拉(视口工具栏)——设置设计分辨率并成帧到它(可撤销)。有 Canvas 时改的是该 Canvas,+- **设计分辨率**下拉(视口工具栏,显示当前尺寸,如 `800×600`)——设置设计分辨率并成帧到它(可撤销)。有 Canvas 时改的是该 Canvas,否则改的是项目值。-- **Device** 下拉——在任意模式选择**目标屏幕**(iPhone / iPad / 1080p …)。编辑时它在场景上画出该+- **Device** 下拉(没有模拟设备时按钮上写着“设计”)——在任意模式选择**目标屏幕**(iPhone / iPad / 1080p …)。编辑时它在场景上画出该屏幕宽高比的 letterbox 黑边和安全区;按下**运行**后,运行中的游戏也会被 letterbox 成同一形状——视口内运行和 **游戏** 面板都是如此。它不会改动你的设计分辨率,改的是你**透过什么**去看它。- **方向**(同一下拉)——交换设备的宽和高。它作用于**设备**,所以选中 `设计` 时是禁用的:没有模拟任何屏幕,也就没有东西可转。-- **相机适配**(项目设置 → 显示)——**主相机**如何按设计分辨率缩放,独立于任何 UI Canvas。`无`(默认)+- **相机适配**(设置 → 项目 → 游戏 → 显示)——**主相机**如何按设计分辨率缩放,独立于任何 UI Canvas。`无`(默认)保持相机自身的 orthoSize;其他模式让游戏在每台设备上一致 letterbox,设备预览也随之显示**真实**取景(玩法也所见即所得,不止 UI)。@@ -113,7 +113,7 @@ UI Canvas 也能在真机上预览。场景里有 Canvas 时,UI 会额外按其### 项目屏幕预设-内置设备清单只是一种猜测。发行到特定硬件的团队可以在**项目设置 → 显示 → 屏幕预设**里修正它:+内置设备清单只是一种猜测。发行到特定硬件的团队可以在**设置 → 项目 → 游戏 → 高级 → 屏幕预设**里修正它(每个项目只设一次的设置收在该页的**高级**折叠里):添加一行,填写标识、名称和竖屏尺寸,它就会出现在下拉中,对每个打开该项目的人生效。- **标识**是已保存的选择据以解析的键,请保持稳定。使用与内置相同的标识(`iphone`、`ipad`、diff --git a/docs/astro/src/content/docs/zh-cn/gameplay/physics.mdx b/docs/astro/src/content/docs/zh-cn/gameplay/physics.mdxindex 3b1c32995..a5104eb9e 100644--- a/docs/astro/src/content/docs/zh-cn/gameplay/physics.mdx+++ b/docs/astro/src/content/docs/zh-cn/gameplay/physics.mdx@@ -142,9 +142,9 @@ Box2D 本身只能做最多 8 个顶点的**凸**多边形,所以不满足这## 碰撞过滤-+-*项目设置 → 物理:给 16 个碰撞层命名,再在矩阵里切换哪些层两两相撞(下方还有求解器调参)。*+*设置 → 项目 → 物理:给 16 个碰撞层命名,再在矩阵里切换哪些层两两相撞(下方还有求解器调参)。*`categoryBits`(刚体在哪一层)和 `maskBits`(它与什么碰撞)是 16 位过滤器。仅当彼此的 category都在对方的 mask 里,两个刚体才碰撞:diff --git a/docs/astro/src/content/docs/zh-cn/graphics/camera.mdx b/docs/astro/src/content/docs/zh-cn/graphics/camera.mdxindex 0497c44ac..1fceeb634 100644--- a/docs/astro/src/content/docs/zh-cn/graphics/camera.mdx+++ b/docs/astro/src/content/docs/zh-cn/graphics/camera.mdx@@ -80,7 +80,7 @@ const zoomIn = defineSystem([Res(Tween)], (tween) => {`designResolution.y / 2` 加一个缩放模式算出,让世界单位在任何设备上都是设计像素。适配源按此顺序:-1. **`ScreenScaling`** 资源(项目设置 → 显示 → 相机适配),当其 `scaleMode` 是真实模式+1. **`ScreenScaling`** 资源(设置 → 项目 → 游戏 → 显示 → 相机适配),当其 `scaleMode` 是真实模式(`≥ 0`)时;2. 否则,场景的 **`Canvas`** 组件(若存在);3. 否则无——相机按原始 `orthoSize` 渲染。diff --git a/docs/astro/src/content/docs/zh-cn/graphics/lighting.mdx b/docs/astro/src/content/docs/zh-cn/graphics/lighting.mdxindex 1d7c15fbf..905dbe924 100644--- a/docs/astro/src/content/docs/zh-cn/graphics/lighting.mdx+++ b/docs/astro/src/content/docs/zh-cn/graphics/lighting.mdx@@ -348,7 +348,7 @@ Lighting 面板会说场景已经过期。`EXT_color_buffer_float`),后处理链就跑在半浮点上——`intensity` 大于 1 的灯把真正的超范围能量推进 [bloom 与 tonemap](/docs/zh-cn/graphics/post-processing/),亮光会发辉光。-在 **项目设置 → 渲染 → 色彩空间 → 线性** 启用。着色器按该模式编译,所以它在引擎启动时定死——+在 **设置 → 项目 → 渲染 → 色彩空间 → 线性** 启用。着色器按该模式编译,所以它在引擎启动时定死——编辑器会提示重新加载。设置随项目清单走:视口、运行预览和所有导出——web、桌面、微信、playable——启动同一条管线。纯代码项目在创建应用时传入:diff --git a/docs/astro/src/content/docs/zh-cn/graphics/sprites.mdx b/docs/astro/src/content/docs/zh-cn/graphics/sprites.mdxindex 7f0ceff4b..8455a9cee 100644--- a/docs/astro/src/content/docs/zh-cn/graphics/sprites.mdx+++ b/docs/astro/src/content/docs/zh-cn/graphics/sprites.mdx@@ -89,7 +89,7 @@ sprite.color = { r: 1, g: 1, b: 1, a: 0.5 }; // 50% 透明## 绘制顺序与排序层当精灵重叠时,绘制顺序决定谁在上面。顺序由**排序层**(`sprite.layer`)决定——一个你在-**项目设置 → 渲染**里定义的命名层列表,于是检视器显示 *Background*、*Default*、*Foreground* 等+**设置 → 项目 → 渲染**里定义的命名层列表,于是检视器显示 *Background*、*Default*、*Foreground* 等下拉,而不是裸数字。较低的层先画(在后面)。@@ -196,7 +196,7 @@ world.applyEntityOrder([other, another, card]);### Y 排序(俯视遮挡)-俯视视角游戏在 **Project Settings → Rendering → Y-sorted layers** 勾选某个层后,该层上的+俯视视角游戏在 **设置 → 项目 → 渲染 → 高级 → Y 轴排序层** 勾选某个层后,该层上的精灵、图形与文本都按世界 Y 坐标排序绘制:屏幕上越靠下的实体画在越上层,角色走到树下方时自然显示在树前——无需手动调 `layer` 或 z。@@ -207,7 +207,7 @@ world.applyEntityOrder([other, another, card]);### 深度层(2.5D)-在 **Project Settings → Rendering → Depth-sorted layers** 勾选某个层后,该层完全不再依赖+在 **设置 → 项目 → 渲染 → 高级 → 深度排序层** 勾选某个层后,该层完全不再依赖绘制顺序:谁遮住谁由深度缓冲判定,依据是各实体 `Transform` 的 z。配合透视相机就是 2.5D——不同深度的精灵在任意角度下都能正确互相遮挡,无需手工维护排序。diff --git a/docs/astro/src/content/docs/zh-cn/publishing/ads-sharing.mdx b/docs/astro/src/content/docs/zh-cn/publishing/ads-sharing.mdxindex f28a4307f..8e2f03785 100644--- a/docs/astro/src/content/docs/zh-cn/publishing/ads-sharing.mdx+++ b/docs/astro/src/content/docs/zh-cn/publishing/ads-sharing.mdx@@ -278,7 +278,7 @@ Play 模式里没有本地替身,理由和登录那节一样——一次不扣## Poki Web 导出-在项目设置 → 打包 → Web 中选择 **Poki**,或设置+在设置 → 项目 → 构建与模块 → 打包 → Web 中选择 **Poki**,或设置`packaging.platforms.web.channel` 为 `"poki"`;命名的 Web 导出配置也可以保存此设置。默认仍为独立发行。diff --git a/docs/astro/src/content/docs/zh-cn/publishing/android-ios.mdx b/docs/astro/src/content/docs/zh-cn/publishing/android-ios.mdxindex 35448b849..8f66b0696 100644--- a/docs/astro/src/content/docs/zh-cn/publishing/android-ios.mdx+++ b/docs/astro/src/content/docs/zh-cn/publishing/android-ios.mdx@@ -105,7 +105,7 @@ Android 的下限是 29,因为引擎的字体路径调用 `AFontMatcher_create`,<Steps>-1. **文件 → Build…**,在**移动**分组下选 **Android** 或 **iOS**。+1. **构建 → 打包项目…**,在**移动**分组下选 **Android** 或 **iOS**。2. 选构建配置和输出目录(默认 `dist-android` / `dist-ios`)。这里不提供 source map——没有浏览器 devtools 来消费它。3. 和其他目标一样检查**构建场景**列表。@@ -143,14 +143,14 @@ Android 的下限是 29,因为引擎的字体路径调用 `AFontMatcher_create`,## 应用身份原生应用有一些引擎永远不读的系统级属性——运行时转不动手机,而应用商店会永久沿用 bundle id-——所以它们是写给"组装应用的人"看的,位置在 **项目设置 → 打包**:+——所以它们是写给"组装应用的人"看的,位置在 **设置 → 项目 → 构建与模块 → 打包**:| 设置 | 它会变成什么 ||---|---|| **应用图标** | 两个平台的启动图标——项目内的一张方形 PNG(建议 1024×1024)。Android 用作 launcher mipmap,iOS 用作 Xcode 据以派生各尺寸的 asset catalog,所以不做任何缩放,只需保留这一张。留空则使用 Estella 的标识,而不是平台的占位图。 || **应用 ID** | Android 的 manifest package 和 iOS 的 bundle id(反向域名)。留空则按项目名推导;正式发布的应用应当自己指定。 || **Android 版本号** | Google Play 用来排序构建的整数,每次上传都必须递增。用户看到的版本号来自项目版本。 |-| **朝向** | *项目设置 → 显示 → 朝向*,一个项目级设置,所有目标都遵守。不设则跟随设计分辨率的宽高比。 |+| **朝向** | *设置 → 项目 → 游戏 → 显示 → 朝向*,一个项目级设置,所有目标都遵守。不设则跟随设计分辨率的宽高比。 |导出把这些写进内容旁边的 `app.config.json`——刻意**不**放进 `game.config.json`,后者才是运行时读的那份。diff --git a/docs/astro/src/content/docs/zh-cn/publishing/hot-update.mdx b/docs/astro/src/content/docs/zh-cn/publishing/hot-update.mdxindex fdb0f1e39..b217c185c 100644--- a/docs/astro/src/content/docs/zh-cn/publishing/hot-update.mdx+++ b/docs/astro/src/content/docs/zh-cn/publishing/hot-update.mdx@@ -64,7 +64,7 @@ Estella 的热更新是**内容寻址**、**原子**(要么全成、要么回### 设置 CDN 根地址-远端组资产需要一个**根 URL** 来拉取——你的 CDN。它是项目的打包设置(`project.esproject` 里的 `packaging.remoteRoot`),**导出配置档**可以覆盖它,于是测试构建和正式构建可以指向不同的 CDN。导出时会把最终确定的根地址烘进发布的游戏里。在**打包项目**对话框(**文件 → 构建…**)的**高级**里设置:+远端组资产需要一个**根 URL** 来拉取——你的 CDN。它是项目的打包设置(`project.esproject` 里的 `packaging.remoteRoot`),**导出配置档**可以覆盖它,于是测试构建和正式构建可以指向不同的 CDN。导出时会把最终确定的根地址烘进发布的游戏里。在**打包项目**对话框(**构建 → 打包项目…**)的**高级**里设置:diff --git a/docs/astro/src/content/docs/zh-cn/publishing/overview.mdx b/docs/astro/src/content/docs/zh-cn/publishing/overview.mdxindex 2dc59add0..eaa37127f 100644--- a/docs/astro/src/content/docs/zh-cn/publishing/overview.mdx+++ b/docs/astro/src/content/docs/zh-cn/publishing/overview.mdx@@ -13,18 +13,19 @@ import { Aside, Steps } from '@astrojs/starlight/components';-*打包项目对话框:从分组的列表里选一个**目标**、一个配置、输出目录,以及 [cook 选项](#资产烘焙选项)——然后 Package。*+*打包项目对话框:从左边分组的列表里选一个**目标**,再看这个目标自己的设置、**配置档**、构建配置、压缩方式、输出目录和要发布的场景——然后 Package。*<Steps>-1. 打开 **文件 → Build…** 调出 **打包项目(Package Project)** 对话框。+1. 打开 **构建 → 打包项目…** 调出 **打包项目(Package Project)** 对话框。2. 从列表里选一个**目标**——分为*通用*(Web / 桌面 / Playable)、*小游戏*- (微信,以及项目自己添加的)、*移动*(Android / iOS)。发往不止一个地方的目标会把这些+ (微信、抖音、快手、B 站、快游戏、支付宝、华为快游戏——见[小游戏平台](/docs/zh-cn/publishing/minigame-platforms/))、*移动*(Android / iOS)。发往不止一个地方的目标会把这些去处列在它下面:桌面分叉为*独立发行*与 *[Steam](/docs/zh-cn/publishing/steam/)*。3. 填这个目标自己的设置,就在它的页面上——应用叫什么、用什么 id 认它,以及它要发往的那个商店需要的东西。-4. 选一个**构建配置**——*Development* 或 *Shipping*(Shipping 会压缩)——一个**输出目录**、- source map,以及[资产烘焙选项](#资产烘焙选项)。+4. 选一个**配置档**(项目设置,或一份存好的)、一个**构建配置**——*Development* 或 *Shipping*+ (Shipping 会压缩)——**压缩**方式([资产烘焙选项](#资产烘焙选项))、一个**输出目录**,以及在+ **高级**里的 CDN 地址、体积预算和 source map。5. 检查**构建场景(Scenes in build)**列表——取消勾选不想发布的场景,需要的话换一个启动场景(见下文)。6. 点 **Package**,看实时构建日志。完成后输出目录会自动打开(有复选框可关掉),@@ -275,7 +276,7 @@ which a block-compressed texture must be## 打包设置-某**一个目标**叫什么、发往哪里、商店用什么认它,在 **文件 → Build…** 里那个目标自己的+某**一个目标**叫什么、发往哪里、商店用什么认它,在 **构建 → 打包项目…** 里那个目标自己的页面上编辑——就在它所改变的那次构建旁边:- **微信** —— AppID。@@ -284,7 +285,7 @@ which a block-compressed texture must be- **Android** —— 版本号(Google Play 用来排序构建的整数)、构建产出安装包还是 Gradle 工程,以及是否在 APK 之外再写一份 App Bundle。-**无论发往哪里都成立**的那些,留在 **项目设置 → 打包(Packaging)**,并随项目保存:+**无论发往哪里都成立**的那些,留在 **设置 → 项目 → 构建与模块 → 打包(Packaging)**,并随项目保存:- **应用 ID** —— 已安装应用的反向域名 id:Android 的 manifest package、iOS 的 bundle id、桌面安装包的 id。留空则按项目名推导;正式发布的应用应当自己指定,因为应用商店会永久沿用它。@@ -293,7 +294,7 @@ which a block-compressed texture must be### 屏幕方向-方向是**一个项目级设置**,而非逐平台:**项目设置 → 显示(Display) → 屏幕方向**(竖屏或横屏),就在设计分辨率旁边。所有目标都遵循它——微信 `game.json` 的 `deviceOrientation`、Web 构建的"请旋转设备"提示(以及尽力而为的 `screen.orientation.lock`)、桌面窗口的宽高比,以及原生应用的 `app.config.json`(引擎能 letterbox,却转不动手机)。留空则**从设计分辨率的宽高比推导**(更宽或方形 ⇒ 横屏,更高 ⇒ 竖屏),因此横屏设计零配置即在各处横屏发布。+方向是**一个项目级设置**,而非逐平台:**设置 → 项目 → 游戏 → 显示(Display) → 屏幕方向**(竖屏或横屏),就在设计分辨率旁边。所有目标都遵循它——微信 `game.json` 的 `deviceOrientation`、Web 构建的"请旋转设备"提示(以及尽力而为的 `screen.orientation.lock`)、桌面窗口的宽高比,以及原生应用的 `app.config.json`(引擎能 letterbox,却转不动手机)。留空则**从设计分辨率的宽高比推导**(更宽或方形 ⇒ 横屏,更高 ⇒ 竖屏),因此横屏设计零配置即在各处横屏发布。**试玩包是有意的例外**:它从不锁定页面方向。在广告 SDK 里,容器尺寸由 SDK 决定,因此"请旋转设备"这类遮罩可能把游戏永久挡住——玩家转了手机却毫无变化,因为那条 media query 一直在读容器而不是设备。试玩包保持自适应(各平台都要求如此),方向只在平台需要时**声明**出去,例如 Google 的 `ad.orientation` meta 标签。请为两种比例都设计,或用[相机适配](#)做 letterbox,让构图在任一比例下都成立。diff --git a/docs/astro/src/content/docs/zh-cn/publishing/steam.mdx b/docs/astro/src/content/docs/zh-cn/publishing/steam.mdxindex f0a2bb134..2556bbd4e 100644--- a/docs/astro/src/content/docs/zh-cn/publishing/steam.mdx+++ b/docs/astro/src/content/docs/zh-cn/publishing/steam.mdx@@ -37,7 +37,7 @@ Steam 是**桌面目标下的一个发行渠道**,不是一个单独的平台。## 怎么配-打开 **文件 → Build…**,在目标列表里选 **Steam**——它列在「桌面」下面。Steam 是桌面构建的+打开 **构建 → 打包项目…**,在目标列表里选 **Steam**——它列在「桌面」下面。Steam 是桌面构建的一个去处,所以它从那个目标分叉出来,而不是与它并列。这个渠道要填的东西都在这一页上。@@ -49,7 +49,7 @@ Steam 是**桌面目标下的一个发行渠道**,不是一个单独的平台。| **Steamworks SDK** | 你下载的那份 SDK。它 `redistributable_bin/<os>/` 下的库会被打进应用。 || **Depot ID** | 留 0 则用 `App ID + 1`、+2…。这些由 Valve **分配**,生成的清单会提示你去核对。 |-**成就 id 不在这一页**,它在 **项目设置 → 打包** 里——因为每个商店都有这份同样的清单,+**成就 id 不在这一页**,它在 **设置 → 项目 → 构建与模块 → 打包** 里——因为每个商店都有这份同样的清单,只是名字不同。声明它们,才能让「解锁一个后台根本没有的 id」在发生处就被拒绝,而不是被接受、然后悄无声息地丢掉。diff --git a/docs/astro/src/content/docs/zh-cn/publishing/wechat.mdx b/docs/astro/src/content/docs/zh-cn/publishing/wechat.mdxindex c03ddaf77..8f99100d2 100644--- a/docs/astro/src/content/docs/zh-cn/publishing/wechat.mdx+++ b/docs/astro/src/content/docs/zh-cn/publishing/wechat.mdx@@ -32,9 +32,9 @@ node build-tools/cli.js build -t videodec-wechat # 视频(MPEG-1 wasm 解码<Steps>-1. 在**项目设置 → 打包 → 微信**中,填写 AppID。屏幕方向是项目级设置——在**项目设置 → 显示 → 屏幕方向**里设一次即可(它驱动下面 `game.json` 的 `deviceOrientation`)。+1. 在**设置 → 项目 → 构建与模块 → 打包 → 微信**中,填写 AppID。屏幕方向是项目级设置——在**设置 → 项目 → 游戏 → 显示 → 屏幕方向**里设一次即可(它驱动下面 `game.json` 的 `deviceOrientation`)。-2. 打开**文件 → 构建…**,在 Package Project 对话框里选 **WeChat** 平台,+2. 打开**构建 → 打包项目…**,在 Package Project 对话框里选 **WeChat** 平台,检查**构建场景**列表,点击 **Package**。Estella 会烘焙资源,把 SDK 与你的脚本打包(用 esbuild 打成 CommonJS),转换场景,并写出一个独立的小游戏包。diff --git a/docs/astro/src/content/docs/zh-cn/ui/layout.mdx b/docs/astro/src/content/docs/zh-cn/ui/layout.mdxindex 0d06c7421..4d97dc95a 100644--- a/docs/astro/src/content/docs/zh-cn/ui/layout.mdx+++ b/docs/astro/src/content/docs/zh-cn/ui/layout.mdx@@ -11,7 +11,7 @@ UI 几何是一套 CSS 盒模型,由 C++ 内核中的单趟 flexbox 引擎(Yoga)## 单位:设计像素-UI 布局里的每个 `px` 都是**设计像素**——项目设计分辨率(Project Settings → Display)+UI 布局里的每个 `px` 都是**设计像素**——项目设计分辨率(设置 → 项目 → 游戏 → 显示)的单位,而非设备像素。场景相机把设计分辨率的适配烘焙进自己的视野范围,因此在 UI 布局框内**1 世界单位 = 1 设计像素**,一个 `px(320)` 的面板在任何设备上都是 320 设计像素宽;画布缩放模式决定这个设计框如何适配真实屏幕(letterbox、expand、match)。编辑器的自由缩放视图diff --git a/docs/astro/src/content/docs/zh-cn/ui/theming.mdx b/docs/astro/src/content/docs/zh-cn/ui/theming.mdxindex 10040c9b5..af1a4d20a 100644--- a/docs/astro/src/content/docs/zh-cn/ui/theming.mdx+++ b/docs/astro/src/content/docs/zh-cn/ui/theming.mdx@@ -115,7 +115,7 @@ switchTheme(world, getTheme() === DARK_TOKENS ? LIGHT_TOKENS : DARK_TOKENS);## 项目级主题*基础*外观通常不用你调 `switchTheme`——由项目声明。编辑器的-**项目设置 → UI** 会往项目清单(`project.esproject`)的 `features.ui` 下写两个+**设置 → 项目 → 游戏 → UI** 会往项目清单(`project.esproject`)的 `features.ui` 下写两个字段:| 设置项 | 清单字段 | 含义 |diff --git a/docs/astro/src/content/docs/zh-cn/ui/widgets.mdx b/docs/astro/src/content/docs/zh-cn/ui/widgets.mdxindex 6be3b55d9..cd8215dfe 100644--- a/docs/astro/src/content/docs/zh-cn/ui/widgets.mdx+++ b/docs/astro/src/content/docs/zh-cn/ui/widgets.mdx@@ -389,7 +389,7 @@ Enter/Space 激活,滑块接管方向键,聚焦的控件显示其 `focused` 交## 主题控件颜色来自共享的 token 集,角色如 `surface`、`control`、`primary`、`track`;-`switchTheme(world, tokens)` 实时重刷屏上一切,项目在 **Project Settings → UI**+`switchTheme(world, tokens)` 实时重刷屏上一切,项目在 **设置 → 项目 → 游戏 → UI**一次声明调色板。见 **[UI 主题](/docs/zh-cn/ui/theming/)**。## 编辑器预制体diff --git a/docs/astro/src/content/docs/zh-cn/world/tilemaps.mdx b/docs/astro/src/content/docs/zh-cn/world/tilemaps.mdxindex 6813cf7e5..108e59b2d 100644--- a/docs/astro/src/content/docs/zh-cn/world/tilemaps.mdx+++ b/docs/astro/src/content/docs/zh-cn/world/tilemaps.mdx@@ -12,7 +12,7 @@ Estella 在 C++/WebAssembly 内核里渲染瓦片图层,按图集纹理合批并## 工作原理-有三个入口。编辑器的**瓦片画笔面板**以可视方式创作图层,背后是 `.estileset` 图集资源。+有三个入口。编辑器的**瓦片地图模式**以可视方式创作图层,背后是 `.estileset` 图集资源。**`Tilemap`** 组件把实体指向一个 Tiled JSON 文件,加载时为每个图层生成一个**`TilemapLayer`** 实体。**`Tilemaps`** 资源是用代码创建与编辑图层的命令式 API。三种方式最终都落到同一个运行时图层模型。瓦片 id 是**从 1 开始**的(`0` = 空)。**正交、等距、交错@@ -21,12 +21,12 @@ Tiled 文件导入,无需额外设置。## 在编辑器里绘制-+-*选中一个 `TilemapLayer`,**瓦片画笔**就在左侧打开——上面是工具,下面是图集调色板。直接在视口里作画。*+*选中一个 `TilemapLayer`,编辑器就进入**瓦片地图模式**:绘制工具和当前图层在视口工具栏里,**瓦片调色板**在底部停靠区带着图集打开。直接在视口里作画。*-选中带 `TilemapLayer` 组件的实体,**瓦片画笔**面板会带着图集调色板打开。选一个工具,-直接在视口里绘制——每一笔都有印章虚影(stamp ghost)预览:+选中带 `TilemapLayer` 组件的实体——编辑器会建议**瓦片地图模式**,也可以点活动栏里它的图标——**瓦片调色板**+面板就会在内容浏览器旁带着图集打开。从视口工具栏选一个工具,直接在视口里绘制——每一笔都有印章虚影(stamp ghost)预览:| 工具 | 键 | 作用 ||---|---|---|@@ -43,19 +43,19 @@ Tiled 文件导入,无需额外设置。绘制工具激活期间,`H` / `V` 翻转印章,`R` 旋转 90°。按 `Q`、`W` 或 `Esc` 离开绘制模式,键位交还给变换工具。-+-*画笔面板特写:工具行(画笔、橡皮、矩形、椭圆、直线、油漆桶、框选、吸管、地形)、当前图集标签,以及你用来盖章的瓦片调色板。*+*瓦片调色板特写:顶部是图集选择和**图块 / 地形 / 图章**标签,中间是你用来盖章的图集,右边是**当前画笔**以及翻转、旋转、**随机**和**存为图章**。绘制工具本身(画笔、橡皮、矩形、椭圆、直线、油漆桶、框选、吸管、地形)在视口工具栏里。*- **多瓦片印章** —— 在调色板上拖动,把一整块瓦片抓成一个印章。调色板也支持键盘:**方向键**移动选择,**Shift + 方向键**扩成印章。-- **图章库** —— 工具行下方的书签按钮把当前画笔存进按项目持久化的图章库;点击章片- 即可换回该图案,`×` 删除。相同图案自动去重。-- **随机模式** —— 打开骰子按钮(或在绘制时按 `D`),每个落笔格从印章里随机取一个瓦片,+- **图章库** —— 当前画笔下方的**存为图章**把它存进按项目持久化的图章库;**图章**标签列出它们,+ 点击一个即可换回该图案,`×` 删除。相同图案自动去重。+- **随机模式** —— 打开**随机**(或在绘制时按 `D`),每个落笔格从印章里随机取一个瓦片,而不是重复图案——给草地、碎石等做变化最快的方式。采样按图集编辑器属性模式里每个瓦片的 **概率** 权重加权(默认 1;0 = 永不散布)。-- **图层条** —— 场景里有多个瓦片图层时,面板顶部的图层条切换活动图层,并可逐层切换- 可见性与锁定;**拖动图层章片**可以重排图层顺序。+- **图层选择器** —— 场景里有多个瓦片图层时,视口工具栏里的图层选择器切换活动图层;它的菜单可以+ 显示、隐藏、锁定、重命名、复制、删除图层,并**上移或下移**来调整顺序。## 地图朝向@@ -224,9 +224,9 @@ tilemap.setChunkTiles(layer, chunkX, chunkY, tiles, 32, 32);地形,画笔在**半格角网格**上绘制颜色——点在四块瓦片之间,解析器按角色精确匹配重排这四块(最近失配兜底),得到平滑的 marching-squares 边界。图集编辑器负责颜色调色板(添加 / 重命名 / 改色 / 删除)与逐瓦片的角:瓦片的每个四分之一区域就是- 对应角的点击目标——单击或拖动笔画绘制当前颜色,右键擦除;画笔面板列出可绘制的颜色。+ 对应角的点击目标——单击或拖动笔画绘制当前颜色,右键擦除;瓦片调色板的**地形**标签列出可绘制的颜色。-画笔的地形工具按地形集的模型自动分派。`examples/` 里有一个角 Wang 混合海岛演示。+地形工具按地形集的模型自动分派。`examples/` 里有一个角 Wang 混合海岛演示。## 图集与碰撞@@ -269,8 +269,8 @@ Tiled 地图享受同等待遇:在 **Tiled 瓦片碰撞编辑器** 里画的形管线——笔刷 / 矩形 / 填充工具、分块存储、翻转、贪心合并盒——没有第二套系统要学。播放时所画的格子生成静态碰撞体,与逐瓦片碰撞完全一样。-**Create → 2D → Collision Layer**(或 *New Collision Layer* 命令)创建一个,预置 32px-网格,并打开画笔面板——此时调色板是碰撞笔刷而非图集。+**新建碰撞层**命令(从命令面板运行)创建一个,预置 32px+网格,并打开瓦片调色板——此时调色板是碰撞笔刷而非图集。