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(changelog): the frame-cost probe, and what it found about instancing
esengine09c06fe1e0f3
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 945f2297b..96bc06be6 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -74,6 +74,24 @@ published separately; it ships inside the editor.player moves, releases it and they stop, dodges and the score rises, chases ablock and the run ends, presses Space and it begins again on a clear board.+- **Automation can read what a frame cost.** A probe could ask what a game was+ doing and not what it was paying: `Stats` is installed by StatsPlugin, which a+ play realm does not build, so the reading came back as a materialised default —+ a frame that drew nothing and a frame that drew a thousand things are the same+ zeroes. `renderStats()` reads the renderer directly and stands in the probe+ scope beside `find` and `step`.++ The first thing it was asked is the claim every scale feature rests on: 200+ copies of one mesh cost **1** more draw call, 212 runs coalesced into their+ neighbours. The instanced merge works, and now a check says so instead of the+ code saying so.++ It also found what turns it off. Indirect light is bound PER DRAW and the merge+ refuses a draw carrying it, so a single `LightProbeVolume` anywhere in the scene+ costs those same 200 copies 200 draw calls — nothing merges at all. The check+ takes the volume away and records why; closing that is what the scale work+ starts from.+- **A graph can call another graph.** The last thing a `.esgraph` could not dowas reuse itself: a long graph could only be tidied by moving nodes around,and the same four nodes were redrawn everywhere the same question got asked.diff --git a/desktop b/desktopindex 2554554ac..9085b6f6d 160000--- a/desktop+++ b/desktop@@ -1 +1 @@-Subproject commit 2554554ac62f5c79bc9ddddb75521d4386a5d99d+Subproject commit 9085b6f6d660ff036f3365392610481da70bca4fdiff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex 6e94f7bd7..9b5282d11 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): what a frame costs, and the first check to ask about scale':+ { note: 'Automation can read what a frame cost.' },+'feat(logic): a graph can call another graph, and pay for it out of one budget':{ note: 'A graph can call another graph.' },