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
test(golden): the release argument covers the world that became 3D
yhh9e1ada59f38c
diff --git a/tools/goldenProjects.mjs b/tools/goldenProjects.mjsindex 2129c38f7..0e5e58efc 100644--- a/tools/goldenProjects.mjs+++ b/tools/goldenProjects.mjs@@ -52,7 +52,8 @@ export const CAPABILITIES = ['ecs', 'particles', 'audio','ui-layout', 'text', 'localization','spine', 'material', 'asset-lifecycle',- 'model-import', 'model-animation',+ 'model-import', 'model-animation', 'model-skinning',+ 'physics-3d', 'mesh-shadow', 'environment','tilemap', 'tile-collision','touch', 'safe-area', 'pause-resume','texture-atlas',@@ -92,6 +93,10 @@ export const EVIDENCE = {'model-import': /\.esmesh\b/,// The clip the import wrote, referenced by the prefab the scene places.'model-animation': /\.estimeline\b/,+ 'model-skinning': /\bMeshSkin\b/,+ 'physics-3d': /\b(RigidBody3D|CharacterController3D|BoxCollider3D|MeshCollider3D)\b/,+ 'mesh-shadow': /\bmeshShadows\b/,+ environment: /\.esenv\b/,'asset-lifecycle': /\b(Assets|loadGroup|releaseGroup|preload)\b/,tilemap: /\bTilemap(Layer)?\b/,'tile-collision': /\b(collision|Collider|tileCollision)\b/,@@ -130,6 +135,12 @@ export const KNOWN_GAPS = {// Measured: hello-world exports a 2.82MB single file, video-puzzle 3.22MB — so// the floor is the runtime, not the game, and no project reaches the 2MB cap.'startup-size': 'the playable runtime floor (~2.8MB) exceeds the 2MB default profile cap; see REARCH_EXPORT',+ // Three halves of the 3D stack that a pixel scene proves and no packaged game+ // carries: what a scene draws is judged in the editor, and what a package draws+ // is nobody's claim until a game ships one.+ 'model-skinning': 'the mesh-skin and mesh-skin-material pixel gates deform a bound mesh; model-import\'s robot has no skin, so no corpus project packages one',+ 'mesh-shadow': 'the mesh-shadow pixel gate casts one mesh onto another; no corpus project has a Directional light with meshShadows on',+ environment: 'the mat-env and mat-env-mirror pixel gates light and reflect an .esenv; no corpus project ships one',};/**@@ -185,6 +196,16 @@ export const GOLDEN = [// chain it certifies is the import's — products, refs, prefab, package.interactGap: 'a placed model has nothing to drive; the import chain is what this certifies',},+ {+ id: 'physics-3d',+ certifies: ['physics-3d'],+ targets: ['web'],+ tier: 'nightly',+ // The character walks on the key it declares, and the debug overlay it draws+ // moves with it — the whole picture is the solver's, so a package that lost+ // the 3D world draws an empty room rather than a still one.+ interact: { keys: ['KeyW'], frames: 40 },+ },{id: 'ui-controls',certifies: ['ui-layout', 'text'],diff --git a/tools/releaseGate.mjs b/tools/releaseGate.mjsindex 5d3b6e9eb..4b272722d 100644--- a/tools/releaseGate.mjs+++ b/tools/releaseGate.mjs@@ -1,7 +1,7 @@// SPDX-License-Identifier: Apache-2.0// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team/**- * @file releaseGate.mjs — what 0.49 has to be able to say, and what says it.+ * @file releaseGate.mjs — what a release has to be able to say, and what says it.** "Do not open 0.50 until these hold" is only a rule if the list is somewhere a* machine reads. Written down anywhere else it decays the usual way: a criterion@@ -15,7 +15,7 @@* This says the criteria are OWNED. Whether they PASS is what running them says.*/-export const RELEASE = '0.50';+export const RELEASE = '0.54';/*** `answeredBy` is a shell command run from the repo root; `needs` are the files@@ -53,6 +53,16 @@ export const CRITERIA = ['tools/verify-native-boot.mjs',],},+ {+ id: '3d-runs-where-it-ships',+ says: 'a game whose world is 3D packages, launches and answers input — on the web and on a device',+ // Two ways for the solver to be absent — a side module fetched beside the+ // engine, a library compiled into a native host — and both leave a game+ // that starts and draws an empty room.+ answeredBy: 'node tools/verify-golden.mjs --tier release'+ + ' && node tools/verify-native-boot.mjs --platform android --examples all',+ needs: ['examples/physics-3d/project.esproject', 'tools/verify-native-boot.mjs'],+ },{id: 'every-pixel-gate-runs',says: 'every declared pixel gate has run, not just the ones CI happens to list',