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
feat(editor): a scatter brush, and one stroke that undoes in one step
esengine51882b657dc4
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 500cf75ab..e05e43fb1 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -97,6 +97,30 @@ published separately; it ships inside the editor.Per-instance, not per-object-record, because the record was out of room at thetime. The entry below is the change that moved it.+- **A scatter brush.** Drag across the ground and copies of the selected object+ land across it, turned and sized a little differently each — the first of the+ authoring tools ruling 03 is about, since everything the renderer needed for+ scale was already there and nothing an author could do reached it.++ What it lays down are ORDINARY entities, which is the whole architecture. That+ was measured rather than assumed: the editor opens, walks and saves a scene of+ eight thousand of them in well under a second, so nothing new had to be+ invented, and instancing, LOD, culling, prefab overrides and selecting one of+ them all keep working on what the brush makes. What they cost is disk — about+ 634 bytes each, against maybe 40 bytes of information — and a check now holds+ that number so a field added to every scattered object is reported.++ One stroke is one undo step. It was not, and could not have been: the editor's+ transaction coalesced field EDITS, so a gesture that created things recorded+ one step per creation — a brush placing two hundred objects would have left two+ hundred rows in History and two hundred keystrokes to take back. Strokes now+ span a history group, which every drag gesture gets, not only this one.++ Contributed tools also have somewhere to live now: the registry has always+ taken them, and nothing showed them, so a plugin could register a viewport tool+ no human could arm. The floating tool palette lists them, and the brush reaches+ the palette and a keybinding through commands like any other action.+- **A mesh has somewhere to put its own vertex attributes.** All 16 vertexattribute slots had a semantic owner — 0-7 the mesh's own channels (serialisedin `.esmesh`), 8-15 the engine's per-object record — so a mesh that wanted todiff --git a/desktop b/desktopindex f1d31f932..dab33b347 160000--- a/desktop+++ b/desktop@@ -1 +1 @@-Subproject commit f1d31f932a42a12ed34442e2fcd4363b3f0014f3+Subproject commit dab33b34773ebdb882e456493ae897d307f5e938diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex 9e9fb27d2..422dd406b 100644--- a/tools/releaseNotes.mjs+++ b/tools/releaseNotes.mjs@@ -28,6 +28,9 @@ export const NOTES_FLOOR = 'v0.65.0';* the reader recognises anyway.*/export const NOTED = {+ 'feat(editor): a scatter brush, and one stroke that undoes in one step':+ { note: 'A scatter brush.' },+'feat(render): the per-object record leaves the vertex attributes':{ note: 'A mesh has somewhere to put its own vertex attributes.' },