Skip to content

Commit 8254fb8

Browse files
committed
Add changeset for stamp size fix
1 parent e4aca11 commit 8254fb8

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.changeset/stamp-size.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
type: patch
3+
---
4+
5+
Draw stamps at the sprite's size.
6+
7+
A sprite scaled with `setSize` left stamps at the costume file's natural size:
8+
shrink a sprite to a quarter and every stamp it left behind was still four
9+
times too big. The stamp was drawn straight from the untouched source image,
10+
which ignores the costume's current width and height.
11+
12+
Stamps now use the costume's size, so a stamp looks like the sprite that left
13+
it.
14+
15+
A stamp drawn more than once also kept turning. Each draw subtracted 90 degrees
16+
from the stamp's own heading and stored it back, so the angle drifted a quarter
17+
turn per frame and a stamp on screen spun. The heading is now worked out
18+
without changing the stamp.

0 commit comments

Comments
 (0)