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
fix(play): the game starts once when Play is pressed during the warm-up
esenginea3b31494095c
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex cba482b8c..8527647ae 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -33,6 +33,7 @@ published separately; it ships inside the editor.### Fixed+- **A game started right after the project opened no longer restarts itself about ten seconds in.** Pressing Play while the editor was still warming the game's engine up handed the scene over twice: once when the engine greeted the editor, and again when the warm-up's ten-second wait ran out — so the game restarted, and everything that had happened in it was gone. It now starts once, as soon as the engine is up.- A mini-game whose host's WebGL2 context also offers `OES_vertex_array_object` renders instead of hanging: the WebGL1 extensions WebGL2 made core are withheld from a WebGL2 context, as the spec says, so Emscripten no longer swaps in the host's broken extension path (vivo's).- `estella export` writes a mini-game's appid and project version as the build dialog does — a headless Bilibili package came out with an empty `appId`.- A mini-game on any host but WeChat no longer throws at boot. The lifecycle plugin knew one vendor by name and sent every other one down the web path, where the `document` stub every mini-game carries has no `addEventListener`; foreground/background now come from the host's own `onShow`/`onHide` for the whole family, as they already did for the native shell.diff --git a/desktop b/desktopindex d4fee2eac..c1dedfcdb 160000--- a/desktop+++ b/desktop@@ -1 +1 @@-Subproject commit d4fee2eac9947a83ba63f77592c6b281e11913e1+Subproject commit c1dedfcdb0b88c2b488e77fd00391ebcab499fa3diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex 76986caa5..bc14e5df6 100644--- a/tools/releaseNotes.mjs+++ b/tools/releaseNotes.mjs@@ -984,6 +984,10 @@ export const NOTED = {{ note: 'A frame can be captured draw call by draw call, and replayed up to any one of them.' },'feat(editor): the Frame Debugger panel lists a frame\'s draws, why each started, and replays up to one':{ note: 'A frame can be captured draw call by draw call, and replayed up to any one of them.' },+ 'fix(play): a Play pressed while the engine warms up starts the game once, not again ten seconds later':+ { note: 'A game started right after the project opened no longer restarts itself about ten seconds in.' },+ 'fix(play): the game starts once when Play is pressed during the warm-up':+ { note: 'A game started right after the project opened no longer restarts itself about ten seconds in.' },'feat(editor): the Frame Debugger panel ships with the editor':{ note: 'A frame can be captured draw call by draw call, and replayed up to any one of them.' },'fix(viewport): a paused game is not covered or dimmed; the ring says paused':