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 four fixes this round reach a reader
esengine125361d54fa9
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 6b0a99c95..cfb0f44f2 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -23,6 +23,26 @@ published separately; it ships inside the editor.### Fixed+- **An optional subsystem is installed again in builds where a bundler had dropped it.**+ Making the core runtime name no optional+ subsystem left each one registering itself when its module was imported — and a bare+ side-effect import is something a bundler may drop unless every layer has been told the+ file is impure. Neither layer had been, so the code shipped in every package and ran in+ none of them: a scene full of rigid bodies loaded with no solver, and said so only in a+ log nobody reads. Registration is a call now, which no tree-shake in any layer may drop,+ and every published entry declares itself side-effectful so a game's own bundler cannot+ repeat it with `esengine/physics3d`.++- **Sprite.drawMode is optional, so existing SpriteData code still compiles.** The field shipped required, which breaks any object literal written before+ it existed. Auto is the default; naming it was never meant to be mandatory.++- **Record, mute, delete and unsaved read as what they are, not as viewport colours.**+ The editor's viewport palette is chosen so a gizmo+ survives any backdrop, and its tokens name particular things — the X axis, a collider, the+ selection. Five panel elements had borrowed one for want of a token of their own, so a+ sequencer's record button was X-axis red and a muted track was too. Record now has its own+ colour, the rest use the ones that already existed, and a gate refuses the next borrowing.+- **A WeChat package no longer carries files the upload would refuse.** WeChat publishesthe file types its packer accepts, and an authored format outside that list — a behaviourtree, a locale table, a tileset, a prefab — was staged under its own suffix. Such a@@ -41,6 +61,11 @@ published separately; it ships inside the editor.### Added+- **Douyin is selectable in the build dialog and has its own texture Import Settings tab.**+ The export existed — the same runtime as WeChat, judged against Douyin's own 20MB cap —+ but the editor's platform list was written by hand, so nothing offered the target that+ had shipped. The list is the platform registry's now, in its order.+- **A mini-game says how far along its boot is, not just that it is loading.** The webexport got a start screen with a real progress bar; a mini-game could not have one,because the display canvas is already the GL surface and nothing can be drawn over it.diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex 193fb131d..d57936994 100644--- a/tools/releaseNotes.mjs+++ b/tools/releaseNotes.mjs@@ -29,19 +29,16 @@ export const NOTES_FLOOR = 'v0.65.0';*/export const NOTED = {'fix(sdk): a subsystem registers by being called, not by being imported':- { note: 'A scene with 3D physics, Spine or DragonBones gets its runtime again in'- + ' builds where a bundler had been dropping the registration.' },+ { note: 'An optional subsystem is installed again in builds where a bundler had dropped it.' },'fix(api): a new component field is optional, so a frozen promise holds':- { note: 'Sprite.drawMode is optional, so existing code that builds a SpriteData'- + ' still compiles.' },+ { note: 'Sprite.drawMode is optional, so existing SpriteData code still compiles.' },'feat(gates): a colour that names a thing only colours that thing':{ internal: "A repository gate over the editor's own palette; no creator runs it." },'fix(editor): a viewport colour names a thing, and four panels borrowed one':- { note: 'Record, mute, delete, unsaved and a refused licence each read as what they'- + ' are, instead of borrowing the viewport\'s colours.' },+ { note: 'Record, mute, delete and unsaved read as what they are, not as viewport colours.' },'feat(editor): the build dialog offers Douyin, because the registry says it exists':{ note: 'Douyin is selectable in the build dialog and has its own texture Import'