Skip to content

Commit 89fbe62

Browse files
committed
fix isTouchingSprite and previousCostume
1 parent 604c32d commit 89fbe62

File tree

12 files changed

+574
-387
lines changed

12 files changed

+574
-387
lines changed

Diff for: CHANGELOG.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ index: 4
44
lang: en
55
---
66

7-
## 4.17.0
7+
## 4.18.1
8+
9+
- 🐛 Fix: isTouchingSprite not working correctly, when the sprite is resized.
10+
- 🐛 Fix: The build is now comaptible with Java 17 again.
11+
- 🐛 Fix: Missing previousCostume method on the Sprite class.
12+
13+
## 4.18.0
814

915
- 🚀 Feat: Add texture sampling modes. These are useful if you want for example develop a pixelart game. The texture sampling mode can be set via the new global settings.
1016
- 🚀 Feat: Introducing global settings.
@@ -21,7 +27,7 @@ Text.SMOOTHING = false;
2127
```
2228

2329

24-
## 4.16.0
30+
## 4.17.0
2531

2632
- 🚀 Feat: Add better fullscreen mode. You can now set a target resolution, when using the fullscreen mode. This renders the stage at this resolution and scales it to the fullscreen size keeping the aspect-ratio.
2733

@@ -45,7 +51,7 @@ public class MyStage extends Stage {
4551
}
4652
```
4753

48-
## 4.15.2
54+
## 4.16.0
4955

5056
- 🚀 Feat: add Operators.round(value, precision) to round values. `Operators.round(2.3456, 2)` will return `2.35`.
5157
- 🐛 Fix: Random.randomInt not return the maximum value.

Diff for: docs/de/book/costumes-backdrops-sound.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Kostüme, Hintergrundbilder und Klänge
3-
index: 3
3+
index: 4
44
lang: de
55
---
66

@@ -39,4 +39,4 @@ Für Klänge kannst du die folgenden Quellen durchsuchen:
3939
Um Klänge zu modifizieren oder eigene zu erstellen, kannst du die folgenden Programme verwenden:
4040

4141
- [Audacity](https://www.audacityteam.org/)
42-
- [Ardour](https://ardour.org/)
42+
- [Ardour](https://ardour.org/)

Diff for: docs/de/book/differences-scratch.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Unterschiede zu Scratch
3-
index: 2
3+
index: 3
44
lang: de
55
---
66

@@ -71,4 +71,4 @@ public class MyProgram {
7171
Cat.hitCounter += 1;
7272
}
7373
}
74-
```
74+
```

Diff for: docs/de/book/setup.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
name: Setup
33
lang: de
4+
index: 2
45
---
56

67
# Setup

Diff for: docs/en/book/costumes-backdrops-sound.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Costumes, Backdrops and Sounds
3-
index: 3
3+
index: 4
44
---
55

66
# Costumes, Backdrops and Sounds
@@ -38,4 +38,4 @@ For sounds, you can search the following sources:
3838
For modifying or creating your own sounds you can use:
3939

4040
- [Audacity](https://www.audacityteam.org/)
41-
- [Ardour](https://ardour.org/)
41+
- [Ardour](https://ardour.org/)

Diff for: docs/en/book/differences-scratch.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Differences to Scratch
3-
index: 2
3+
index: 3
44
---
55

66
# Differences to Scratch
@@ -70,4 +70,4 @@ public class MyProgram {
7070
Cat.hitCounter += 1;
7171
}
7272
}
73-
```
73+
```

Diff for: docs/en/book/setup.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
name: Setup
3+
index: 2
34
---
45

56
# Setup

Diff for: resources/build.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Set the java version that should be used to compile your Library.
22

3-
java.target.version=21
3+
java.target.version=17
44

55

66
# Set the description of the Ant build.xml file.
@@ -40,7 +40,7 @@ author.url=https://openpatch.org
4040
# This is NOT a direct link to where to download it.
4141

4242
library.url=https://github.com/openpatch/scratch-for-java
43-
library.version=4.18.0
43+
library.version=4.18.1
4444

4545

4646
# Set the category (or categories) of your Library from the following list:
@@ -80,5 +80,5 @@ library.keywords=scratch
8080
# Include javadoc references into your project's javadocs.
8181

8282
#javadoc.java.href=http://docs.oracle.com/javase/7/docs/api/
83-
javadoc.java.href=http://docs.oracle.com/en/java/javase/21/docs/api/
83+
javadoc.java.href=http://docs.oracle.com/en/java/javase/17/docs/api/
8484
javadoc.processing.href=http://processing.github.io/processing-javadocs/core/

0 commit comments

Comments
 (0)