Skip to content

Commit 35dc24b

Browse files
committed
Merge branch 'main' of github.com:openpatch/scratch-for-java
2 parents e3f1932 + 90c5485 commit 35dc24b

3 files changed

Lines changed: 22 additions & 20 deletions

File tree

‎.changeset/stamp-size.md‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎CHANGELOG.md‎

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,29 @@
11
---
22
name: Changelog
3-
index: 63
3+
index: 64
44
lang: en
55
---
66

7+
## 5.0.3
8+
9+
10+
11+
Draw stamps at the sprite's size.
12+
13+
A sprite scaled with `setSize` left stamps at the costume file's natural size:
14+
shrink a sprite to a quarter and every stamp it left behind was still four
15+
times too big. The stamp was drawn straight from the untouched source image,
16+
which ignores the costume's current width and height.
17+
18+
Stamps now use the costume's size, so a stamp looks like the sprite that left
19+
it.
20+
21+
A stamp drawn more than once also kept turning. Each draw subtracted 90 degrees
22+
from the stamp's own heading and stored it back, so the angle drifted a quarter
23+
turn per frame and a stamp on screen spun. The heading is now worked out
24+
without changing the stamp.
25+
26+
727
## 5.0.2
828

929

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.openpatch</groupId>
77
<artifactId>scratch</artifactId>
8-
<version>5.0.2</version>
8+
<version>5.0.3</version>
99
<packaging>jar</packaging>
1010

1111
<name>Scratch for Java</name>

0 commit comments

Comments
 (0)