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.

chore(tools): let the last baked things show before the capture is taken

yhh508909f4ba28
diff --git a/tools/launchers/launch-export.mjs b/tools/launchers/launch-export.mjs
index ef06b2fa0..023181c75 100644
--- a/tools/launchers/launch-export.mjs
+++ b/tools/launchers/launch-export.mjs
@@ -355,6 +355,8 @@ const SCENE = flag('scene', '');
if (now !== last && now) console.log(` baking: ${now}`);
last = now;
}
+ // The last things made are shown a frame or two after they are made.
+ await new Promise((r) => setTimeout(r, 2500));
console.log(` idle: ${quiet >= 6}`);
}