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.

test(2d): recognize full-corner render criteria

yhh1152c08a834a
diff --git a/tools/check-render-scenes.mjs b/tools/check-render-scenes.mjs
index 4b0d43e54..eaa6442a7 100644
--- a/tools/check-render-scenes.mjs
+++ b/tools/check-render-scenes.mjs
@@ -47,7 +47,7 @@ for (const s of SCENES) {
|| s.env.ESTELLA_VERIFY_GRID || s.env.ESTELLA_VERIFY_PREVIEW
|| s.env.ESTELLA_VERIFY_MESH_PREVIEW || s.env.ESTELLA_VERIFY_DEPTH_LAYERS
|| s.env.ESTELLA_VERIFY_COUNTERS || s.env.ESTELLA_VERIFY_COUNTERS_MAX || s.env.ESTELLA_VERIFY_FRAME_DEBUG || s.env.ESTELLA_VERIFY_EDGE || s.env.ESTELLA_VERIFY_CUTOUT_EDGE || s.env.ESTELLA_VERIFY_MINIFIED || s.env.ESTELLA_VERIFY_TWINS
- || s.env.ESTELLA_VERIFY_DRAW_CALLS
+ || s.env.ESTELLA_VERIFY_DRAW_CALLS || s.env.ESTELLA_VERIFY_NINE_SLICE
|| s.env.ESTELLA_VERIFY_YSORT || s.id === 'sprite-default';
if (!asserts && !s.rendersOnly) {
fail(`"${s.id}" asserts nothing — give it an ESTELLA_VERIFY_EXPECT, or say in rendersOnly why it has none`);
diff --git a/tools/sprite-nine-slice-browser.mjs b/tools/sprite-nine-slice-browser.mjs
index 8972740ba..f5b2ef45d 100644
--- a/tools/sprite-nine-slice-browser.mjs
+++ b/tools/sprite-nine-slice-browser.mjs
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
// Serve the engine pixel probe in an ordinary browser. Does not launch Electron.
-// First: pnpm render-host. Then open the printed WebGL2 and WebGPU URLs.
import { createServer } from 'node:http';
import { readFile, stat, mkdir, writeFile } from 'node:fs/promises';
import path from 'node:path';