Skip to content

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.

docs(changelog): note the edit view following the viewport and terrain strokes keeping only their tiles

yhhafb01965bb86
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 48060b317..68d31142f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -36,6 +36,7 @@ published separately; it ships inside the editor.
### Fixed
+- **While editing, foliage and generated worlds follow the viewport.** A `WorldStreamingSource` in the scene used to hold foliage, generated worlds and voxels around itself in the edit view while terrain detail followed the viewport, and a 2D view counted as no viewpoint at all. Sculpting and painting a terrain also no longer copies the whole ground at each stroke: it keeps 32 by 32 tiles as they are first touched, so a diagonal stroke's undo holds what it reached and not the square around it.
- **Zooming in on outlined text no longer freezes the editor.** Growing a bitmap glyph into its outline cost the fourth power of its size on screen, and a label did it again for every glyph at each step of the zoom: past 1500% a single frame took more than 15 seconds, and showing a hidden label at full zoom hung the editor. The outline now costs what the glyph's size does and looks the same, a frame stays under about 70 ms through the whole zoom, and `Auto` text at 128 screen pixels or more draws from a distance field wide enough to hold its outline. `Bitmap` is still honored where it is set, at the new cost.
- **Labels no longer come back as black boxes after a change between Plays.** Stopping left each label's geometry in the engine, by entity number. Adding, removing or dragging anything before pressing Play again moved those numbers, so the old labels drew on other entities from an atlas already released.
- **Particles and plain sprites in a Canvas paint by their place in its tree.** An emitter listed after a panel went under it, and one listed before a plain `Sprite` went over it. Both now follow the hierarchy like the controls round them, and the `layer` they were authored with is no longer overwritten. A `Sprite` with no `UINode` under a Canvas may change place as a result; a non-zero `layer` keeps the old order.
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index 4c101c64d..4fb58e428 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -4248,4 +4248,6 @@ export const NOTED = {
{"note": "A 2D character can be rigged in the editor, with no other program."},
"fix(text): a glyph's outline costs what its size does, and text too large for a bitmap glyph draws from a distance field":
{"note": "Zooming in on outlined text no longer freezes the editor."},
+ "fix(editor): what grows round the view follows the viewport in 2D and 3D, and a terrain stroke keeps only the tiles it touched":
+ {"note": "While editing, foliage and generated worlds follow the viewport."},
};