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(gates): the animator parameter census reads a blend over a plane
esengine1a159ecb4a2f
diff --git a/tools/check-animator-parameters.mjs b/tools/check-animator-parameters.mjsindex af04c1609..b5f8a429e 100644--- a/tools/check-animator-parameters.mjs+++ b/tools/check-animator-parameters.mjs@@ -59,10 +59,16 @@ function consumers(scope, into = new Set()) {return into;}+// A blend2d selects on two and nests under `points`; reading only the 1D shape+// calls its parameters dead and misses every blend stopped inside one.function collectMotion(motion, into) {if (!motion || typeof motion !== 'object') return;- if (typeof motion.parameter === 'string') into.add(motion.parameter);- for (const stop of motion.thresholds ?? []) collectMotion(stop.motion, into);+ for (const key of ['parameter', 'parameterX', 'parameterY']) {+ if (typeof motion[key] === 'string') into.add(motion[key]);+ }+ for (const stop of [...motion.thresholds ?? [], ...motion.points ?? []]) {+ collectMotion(stop.motion, into);+ }}const written = new Set(writtenByGameplay());diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex 6d0a9be98..2ac315e3c 100644--- a/tools/releaseNotes.mjs+++ b/tools/releaseNotes.mjs@@ -28,6 +28,10 @@ export const NOTES_FLOOR = 'v0.65.0';* the reader recognises anyway.*/export const NOTED = {+ 'fix(gates): the animator parameter census reads a blend over a plane':+ { internal: 'a gate reading a project\'s own animator files — a game plays the'+ + ' same whether or not the census can see a blend over a plane' },+// — after 0.66.0 —'feat(gates): a feature that ships without a note fails the build':{ internal: 'a gate over this repository\'s own release process — a creator'