From 51000d835aafe683cf10b7fb356ac141db7a7900 Mon Sep 17 00:00:00 2001 From: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com> Date: Sat, 25 Jul 2026 14:09:24 +0000 Subject: [PATCH] chore: release v5.0.3 --- .changeset/stamp-size.md | 18 ------------------ CHANGELOG.md | 22 +++++++++++++++++++++- pom.xml | 2 +- 3 files changed, 22 insertions(+), 20 deletions(-) delete mode 100644 .changeset/stamp-size.md diff --git a/.changeset/stamp-size.md b/.changeset/stamp-size.md deleted file mode 100644 index b773af7f..00000000 --- a/.changeset/stamp-size.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -type: patch ---- - -Draw stamps at the sprite's size. - -A sprite scaled with `setSize` left stamps at the costume file's natural size: -shrink a sprite to a quarter and every stamp it left behind was still four -times too big. The stamp was drawn straight from the untouched source image, -which ignores the costume's current width and height. - -Stamps now use the costume's size, so a stamp looks like the sprite that left -it. - -A stamp drawn more than once also kept turning. Each draw subtracted 90 degrees -from the stamp's own heading and stored it back, so the angle drifted a quarter -turn per frame and a stamp on screen spun. The heading is now worked out -without changing the stamp. diff --git a/CHANGELOG.md b/CHANGELOG.md index e4f35552..ab382d5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,29 @@ --- name: Changelog -index: 63 +index: 64 lang: en --- +## 5.0.3 + + + +Draw stamps at the sprite's size. + +A sprite scaled with `setSize` left stamps at the costume file's natural size: +shrink a sprite to a quarter and every stamp it left behind was still four +times too big. The stamp was drawn straight from the untouched source image, +which ignores the costume's current width and height. + +Stamps now use the costume's size, so a stamp looks like the sprite that left +it. + +A stamp drawn more than once also kept turning. Each draw subtracted 90 degrees +from the stamp's own heading and stored it back, so the angle drifted a quarter +turn per frame and a stamp on screen spun. The heading is now worked out +without changing the stamp. + + ## 5.0.2 diff --git a/pom.xml b/pom.xml index 8c60473b..ca5c0795 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.openpatch scratch - 5.0.2 + 5.0.3 jar Scratch for Java