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
perf(editor): synchronize tile collision placement caching
yhh6ae9efe03ed6
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 7ef32b444..0ca051713 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -14,8 +14,14 @@ published separately; it ships inside the editor.## [Unreleased]+### Added++- **Neon Ascension adds a night-city grey-box example.** Authored materials and an HDR panorama provide a scene for inspecting environment reflections, emissive bloom and warm/cool light contrast. Known scene limitations are documented with the example.+### Fixed+- **Moving tile collision previews reuses local geometry.** Layer and parent translations place cached local outlines without scanning tiles or rebuilding collision geometry. Polygons, circles, sensor flags and one-way normals retain their authored shapes, depth-only changes reuse placed coordinates, and earlier preview snapshots remain unchanged. Cell dimensions, collision metadata and tile edits still invalidate the corresponding local geometry.+- **Tile collision edits read only changed native chunks.** Editor collision previews read a bounded coordinate/revision index and copy cells only for changed chunks, retaining independent arrays and geometry for untouched chunks. Edits avoid full-map serialization and decoding; imports, erasure, layer recreation and world changes refresh the correct data. Empty chunks retain only revision metadata. Temporary buffers are freed after each read, invalid output spans are rejected, and unavailable or failed readback falls back to the full-export path. Saved scene formats remain unchanged.- **Stable tile collision previews reuse their native content and geometry.** Editor refreshes skip tile export, decoding and plane mapping while the owning world, registry, core, layer generation and edit revision are unchanged. Metadata, cell size and origin changes reuse the encoded content; depth-only changes remap the existing geometry. Edits and undo retain incremental chunk rebuilds, replaced worlds and layers invalidate snapshots, and older cores without version stamps still read their current contents.diff --git a/desktop b/desktopindex b45037cc9..63dfb22d2 160000--- a/desktop+++ b/desktop@@ -1 +1 @@-Subproject commit b45037cc930d7f6d50449d8e7b18c4b73f7f1ba6+Subproject commit 63dfb22d2586301abb3010843b15febccd3a1d03diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex 24e7ab649..4d63fc54a 100644--- a/tools/releaseNotes.mjs+++ b/tools/releaseNotes.mjs@@ -28,6 +28,12 @@ export const NOTES_FLOOR = 'v0.65.0';* the reader recognises anyway.*/export const NOTED = {+ 'feat(examples): neon-ascension grey-box, a night city to test reflections and bloom':+ { note: 'Neon Ascension adds a night-city grey-box example.' },+ 'perf(editor): reuse local tile collision geometry while moving layers':+ { note: 'Moving tile collision previews reuses local geometry.' },+ 'perf(editor): synchronize tile collision placement caching':+ { internal: 'Pins local tile collision geometry caching and movement regressions, and records the existing upstream night-city example in the changelog.' },'perf(editor): read only changed collision chunks':{ note: 'Tile collision edits read only changed native chunks.' },'perf(tilemap): read collision chunks incrementally':