Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .changeset/stamp-size.md

This file was deleted.

22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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


Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.openpatch</groupId>
<artifactId>scratch</artifactId>
<version>5.0.2</version>
<version>5.0.3</version>
<packaging>jar</packaging>

<name>Scratch for Java</name>
Expand Down
Loading