diff --git a/.changeset/pixel-art-feature-and-faces.md b/.changeset/pixel-art-feature-and-faces.md deleted file mode 100644 index 553ae510..00000000 --- a/.changeset/pixel-art-feature-and-faces.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@typeonce/ritmo": patch ---- - -The `ritmo-pixel-art` skill has four new principles from two blind tests: name each kind of piece by one exaggerated feature, starting from what it does in the game; give a solid three tones (top and two sides) chosen per piece, and make a line between parts a choice; draw details on a slanted face flat and lay them on it along the view's slope; and judge a set side by side and in pure black. diff --git a/.changeset/pixel-grid-subject.md b/.changeset/pixel-grid-subject.md deleted file mode 100644 index c5265f5b..00000000 --- a/.changeset/pixel-grid-subject.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@typeonce/ritmo-tools": minor ---- - -`ritmo-tools pixel`: find the grid of a small sprite on a large canvas, and never call an upscale pixel art at its own size. Measured with the benchmark of [xprite-pixelate](https://github.com/rhinoc/xprite-pixelate) (MIT) and [pixel-bench](https://github.com/Retro-Diffusion/pixel-bench) (MIT). - -- **The grid is read on the subject.** `pixel check`, `pixel fix`, and the page find the cell size on the picture's visible pixels, or, on an opaque picture whose border is one color (an image generator's off-white page), on the pixels away from that color, then place the grid on the whole picture. A sprite filling a fifth of its canvas came out with cells several times too large; on the AI benchmark, exact sizes rise from 65% to 76%, and from 24% to 99% for a small sprite on a clear canvas. -- **An upscale is not pixel art at its own size.** A picture whose neighbouring pixels rarely change color and that has more than 32 colors is judged as a fix, so a grid that cannot be found reports `needs-person` ("Unsure of the grid") where it reported `clean` or `fixable` at the picture's full size. Flat pixel art of a few colors (a parallax layer) is still pixel art at its own size. diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index 964e9056..db454d91 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -1,5 +1,12 @@ # @typeonce/ritmo-browser +## 0.24.0 + +### Patch Changes + +- Updated dependencies [d2f2543] + - @typeonce/ritmo@0.24.0 + ## 0.23.0 ### Minor Changes diff --git a/packages/browser/package.json b/packages/browser/package.json index 180b3c00..4e2c26d7 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/ritmo-browser", - "version": "0.23.0", + "version": "0.24.0", "description": "Browser fixed-step loop, keyboard, gamepad, pointer, and touch actions, merged input, local multiplayer, and input capture for Ritmo", "author": "Sandro Maglione", "license": "MIT", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 2c04949a..9e48ee15 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # @typeonce/ritmo +## 0.24.0 + +### Patch Changes + +- d2f2543: The `ritmo-pixel-art` skill has four new principles from two blind tests: name each kind of piece by one exaggerated feature, starting from what it does in the game; give a solid three tones (top and two sides) chosen per piece, and make a line between parts a choice; draw details on a slanted face flat and lay them on it along the view's slope; and judge a set side by side and in pure black. + ## 0.23.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 4cb2bcac..d48d304f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/ritmo", - "version": "0.23.0", + "version": "0.24.0", "description": "The agent-first, type-safe ECS runtime for TypeScript", "author": "Sandro Maglione", "license": "MIT", diff --git a/packages/devtools/CHANGELOG.md b/packages/devtools/CHANGELOG.md index 122557af..a665f523 100644 --- a/packages/devtools/CHANGELOG.md +++ b/packages/devtools/CHANGELOG.md @@ -1,5 +1,13 @@ # @typeonce/ritmo-devtools +## 0.24.0 + +### Patch Changes + +- Updated dependencies [d2f2543] + - @typeonce/ritmo@0.24.0 + - @typeonce/ritmo-netcode@0.24.0 + ## 0.23.0 ### Minor Changes diff --git a/packages/devtools/package.json b/packages/devtools/package.json index 2dc88a6b..4af17886 100644 --- a/packages/devtools/package.json +++ b/packages/devtools/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/ritmo-devtools", - "version": "0.23.0", + "version": "0.24.0", "description": "Headless debug sessions, trace history, text reports, replays, and fuzzing for Ritmo runtimes", "author": "Sandro Maglione", "license": "MIT", diff --git a/packages/devtools/src/internal/version.ts b/packages/devtools/src/internal/version.ts index 48725457..0baec02e 100644 --- a/packages/devtools/src/internal/version.ts +++ b/packages/devtools/src/internal/version.ts @@ -3,4 +3,4 @@ * `package.json` by `scripts/sync-version.ts` (run by \`pnpm version-packages\`) * and checked by a test. */ -export const libraryVersion = "0.23.0" +export const libraryVersion = "0.24.0" diff --git a/packages/math/CHANGELOG.md b/packages/math/CHANGELOG.md index 77815625..352dea45 100644 --- a/packages/math/CHANGELOG.md +++ b/packages/math/CHANGELOG.md @@ -1,5 +1,12 @@ # @typeonce/ritmo-math +## 0.24.0 + +### Patch Changes + +- Updated dependencies [d2f2543] + - @typeonce/ritmo@0.24.0 + ## 0.23.0 ### Patch Changes diff --git a/packages/math/package.json b/packages/math/package.json index b84daa2e..a3f8da7e 100644 --- a/packages/math/package.json +++ b/packages/math/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/ritmo-math", - "version": "0.23.0", + "version": "0.24.0", "description": "The 2D helpers most Ritmo games would otherwise rewrite (vectors, angles, swept collision, flow field), plain data in and out, built on Ops so they replay the same on every engine", "author": "Sandro Maglione", "license": "MIT", diff --git a/packages/netcode/CHANGELOG.md b/packages/netcode/CHANGELOG.md index 1a025a61..f6c7c7c7 100644 --- a/packages/netcode/CHANGELOG.md +++ b/packages/netcode/CHANGELOG.md @@ -1,5 +1,12 @@ # @typeonce/ritmo-netcode +## 0.24.0 + +### Patch Changes + +- Updated dependencies [d2f2543] + - @typeonce/ritmo@0.24.0 + ## 0.23.0 ### Minor Changes diff --git a/packages/netcode/package.json b/packages/netcode/package.json index 32e31a6a..60d767d5 100644 --- a/packages/netcode/package.json +++ b/packages/netcode/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/ritmo-netcode", - "version": "0.23.0", + "version": "0.24.0", "description": "Rollback and lockstep sessions over any transport for Ritmo: input timelines, checkpoint history, pacing, resync, and desync checks", "author": "Sandro Maglione", "license": "MIT", diff --git a/packages/oxlint-plugin/CHANGELOG.md b/packages/oxlint-plugin/CHANGELOG.md index 1d2c17fe..1f43dc0f 100644 --- a/packages/oxlint-plugin/CHANGELOG.md +++ b/packages/oxlint-plugin/CHANGELOG.md @@ -1,5 +1,9 @@ # @typeonce/oxlint-plugin-ritmo +## 0.24.0 + +No changes in this release. + ## 0.23.0 ### Minor Changes diff --git a/packages/oxlint-plugin/package.json b/packages/oxlint-plugin/package.json index 45c1a3e6..6874a9dd 100644 --- a/packages/oxlint-plugin/package.json +++ b/packages/oxlint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/oxlint-plugin-ritmo", - "version": "0.23.0", + "version": "0.24.0", "description": "Oxlint rules for Ritmo games: deterministic, headless simulation code and checked runtime results", "author": "Sandro Maglione", "license": "MIT", diff --git a/packages/pixi/CHANGELOG.md b/packages/pixi/CHANGELOG.md index 49837a3d..f5b35b09 100644 --- a/packages/pixi/CHANGELOG.md +++ b/packages/pixi/CHANGELOG.md @@ -1,5 +1,11 @@ # @typeonce/ritmo-pixi +## 0.24.0 + +### Patch Changes + +- @typeonce/ritmo-render@0.24.0 + ## 0.23.0 ### Patch Changes diff --git a/packages/pixi/package.json b/packages/pixi/package.json index 94a34185..d5df6d80 100644 --- a/packages/pixi/package.json +++ b/packages/pixi/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/ritmo-pixi", - "version": "0.23.0", + "version": "0.24.0", "description": "Pixi container adapter for Ritmo render-node registries", "author": "Sandro Maglione", "license": "MIT", diff --git a/packages/render/CHANGELOG.md b/packages/render/CHANGELOG.md index 3319ee15..da317f27 100644 --- a/packages/render/CHANGELOG.md +++ b/packages/render/CHANGELOG.md @@ -1,5 +1,12 @@ # @typeonce/ritmo-render +## 0.24.0 + +### Patch Changes + +- Updated dependencies [d2f2543] + - @typeonce/ritmo@0.24.0 + ## 0.23.0 ### Minor Changes diff --git a/packages/render/package.json b/packages/render/package.json index a958ba34..74c28923 100644 --- a/packages/render/package.json +++ b/packages/render/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/ritmo-render", - "version": "0.23.0", + "version": "0.24.0", "description": "Renderer-agnostic entity-to-node mirroring for Ritmo", "author": "Sandro Maglione", "license": "MIT", diff --git a/packages/tools/CHANGELOG.md b/packages/tools/CHANGELOG.md index bc91a975..7dd7d1f6 100644 --- a/packages/tools/CHANGELOG.md +++ b/packages/tools/CHANGELOG.md @@ -1,5 +1,14 @@ # @typeonce/ritmo-tools +## 0.24.0 + +### Minor Changes + +- 571c0ea: `ritmo-tools pixel`: find the grid of a small sprite on a large canvas, and never call an upscale pixel art at its own size. Measured with the benchmark of [xprite-pixelate](https://github.com/rhinoc/xprite-pixelate) (MIT) and [pixel-bench](https://github.com/Retro-Diffusion/pixel-bench) (MIT). + + - **The grid is read on the subject.** `pixel check`, `pixel fix`, and the page find the cell size on the picture's visible pixels, or, on an opaque picture whose border is one color (an image generator's off-white page), on the pixels away from that color, then place the grid on the whole picture. A sprite filling a fifth of its canvas came out with cells several times too large; on the AI benchmark, exact sizes rise from 65% to 76%, and from 24% to 99% for a small sprite on a clear canvas. + - **An upscale is not pixel art at its own size.** A picture whose neighbouring pixels rarely change color and that has more than 32 colors is judged as a fix, so a grid that cannot be found reports `needs-person` ("Unsure of the grid") where it reported `clean` or `fixable` at the picture's full size. Flat pixel art of a few colors (a parallax layer) is still pixel art at its own size. + ## 0.23.0 ### Minor Changes diff --git a/packages/tools/package.json b/packages/tools/package.json index fb0719e9..31078c87 100644 --- a/packages/tools/package.json +++ b/packages/tools/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/ritmo-tools", - "version": "0.23.0", + "version": "0.24.0", "description": "Asset tools for games made with Ritmo, for agents: fixes AI-made pixel art and animation sheets onto a true pixel grid and a palette, makes normal maps for art a game lights, keeps game sounds as JSON recipes, writes game music as JSON songs built around a hum, and draws pixel art effects as code, each with a review page for a person, pixel art included", "author": "Sandro Maglione", "license": "MIT", diff --git a/packages/tools/src/internal/version.ts b/packages/tools/src/internal/version.ts index a3734713..5e0b3ddf 100644 --- a/packages/tools/src/internal/version.ts +++ b/packages/tools/src/internal/version.ts @@ -3,4 +3,4 @@ * `package.json` by `scripts/sync-version.ts` (run by `pnpm version-packages`) * and checked by a test. */ -export const toolsVersion = "0.23.0" +export const toolsVersion = "0.24.0"