Skip to content

Commit 39329f4

Browse files
committed
release 21
1 parent b8bd611 commit 39329f4

File tree

2 files changed

+12
-24
lines changed

2 files changed

+12
-24
lines changed

README.md

+6-12
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ JavaFX Game Development Framework
2121
### Why FXGL?
2222

2323
* No installation or setup is required
24-
* "Out of the box": Java 8-17, Win/Mac/Linux/Android 8+/iOS 11.0+/Web
24+
* "Out of the box": Java 8-21, Win/Mac/Linux/Android 8+/iOS 11.0+/Web
2525
* Simple and clean API, higher level than other engines
2626
* Superset of JavaFX: no need to learn new UI API
2727
* Real-world game development techniques: Entity-Component, interpolated animations, particles, and [many more](https://github.com/AlmasB/FXGL/wiki/Core-Features)
@@ -60,7 +60,7 @@ For a quick dive into code, see standalone [basic examples](https://github.com/A
6060

6161
Otherwise, see:
6262

63-
* [FXGL 17 book](https://link.springer.com/book/10.1007/978-1-4842-8625-8?sap-outbound-id=3352BB472E8E602B4B29844F1A86CCC4374DDF6E)
63+
* [FXGL book](https://link.springer.com/book/10.1007/978-1-4842-8625-8?sap-outbound-id=3352BB472E8E602B4B29844F1A86CCC4374DDF6E)
6464
* [Showcase Trailer](https://youtu.be/fuDQg7W0v4g)
6565
* [Use FXGL with IntelliJ](https://youtu.be/LhmlFC6KE2Q)
6666
* [Wiki & written tutorials](https://github.com/AlmasB/FXGL/wiki)
@@ -71,23 +71,19 @@ Otherwise, see:
7171

7272
### Maven
7373

74-
* [Maven](https://github.com/AlmasB/FXGL-MavenGradle) template project if you use Java and/or Kotlin (Java 17+)
75-
76-
Make sure to set `<release>17</release>` for `maven-compiler-plugin`.
74+
* [Maven](https://github.com/AlmasB/FXGL-MavenGradle) template project if you use Java and/or Kotlin
7775

7876
```xml
7977
<dependency>
8078
<groupId>com.github.almasb</groupId>
8179
<artifactId>fxgl</artifactId>
82-
<version>17.3</version>
80+
<version>21</version>
8381
</dependency>
8482
```
8583

86-
Note: use `0.5.4` for Java 8-10 and `17.3` for Java 11+.
87-
8884
### Gradle
8985

90-
* [Gradle](https://github.com/AlmasB/FXGL-MavenGradle) template project if you use Java and/or Kotlin (Java 17+)
86+
* [Gradle](https://github.com/AlmasB/FXGL-MavenGradle) template project if you use Java and/or Kotlin
9187

9288
Please refer to the template if there are any errors.
9389

@@ -97,12 +93,10 @@ repositories {
9793
}
9894
9995
dependencies {
100-
compile 'com.github.almasb:fxgl:17.3'
96+
compile 'com.github.almasb:fxgl:21'
10197
}
10298
```
10399

104-
Note: use `0.5.4` for Java 8-10 and `17.3` for Java 11+.
105-
106100
### Modularity
107101

108102
If you wish to develop a modular application, here's a complete example of your `module-info.java`:

README_CN.md

+6-12
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ JavaFX 游戏开发框架
1818
## 为什么选择FXGL ?
1919

2020
- 无需安装或设置
21-
- “开箱即用”:Java 8-17、Win/Mac/Linux/Android 8+/iOS 11.0+/Web
21+
- “开箱即用”:Java 8-21、Win/Mac/Linux/Android 8+/iOS 11.0+/Web
2222
- 简单干净的API,相比起其他引擎API级别更高
2323
- JavaFX 的超集:无需学习新的 UI API
2424
- 真实世界的游戏开发技术:实体组件、插值动画、粒子[等等](https://github.com/AlmasB/FXGL/wiki/Core-Features)
@@ -55,7 +55,7 @@ public class BasicGameApp extends GameApplication {
5555

5656
如需快速深入了解代码,请参阅独立的[基本示例](https://github.com/AlmasB/FXGL/tree/dev/fxgl-samples/src/main/java/basics)。否则,请参阅:
5757

58-
- [FXGL 17 ](https://link.springer.com/book/10.1007/978-1-4842-8625-8?sap-outbound-id=3352BB472E8E602B4B29844F1A86CCC4374DDF6E)
58+
- [FXGL 书](https://link.springer.com/book/10.1007/978-1-4842-8625-8?sap-outbound-id=3352BB472E8E602B4B29844F1A86CCC4374DDF6E)
5959
- [预告片展示](https://youtu.be/fuDQg7W0v4g)
6060
- [在IntelliJ中使用FXGL](https://youtu.be/LhmlFC6KE2Q)
6161
- [维基和书面教程](https://github.com/AlmasB/FXGL/wiki)
@@ -66,23 +66,19 @@ public class BasicGameApp extends GameApplication {
6666

6767
### Maven
6868

69-
- [Maven](https://github.com/AlmasB/FXGL-MavenGradle)项目模板,编程语言为 Java 和/或 Kotlin (Java 17+)
70-
71-
确保设置`<release>17</release>``maven-compiler-plugin`.
69+
- [Maven](https://github.com/AlmasB/FXGL-MavenGradle)项目模板,编程语言为 Java 和/或 Kotlin
7270

7371
```
7472
<dependency>
7573
<groupId>com.github.almasb</groupId>
7674
<artifactId>fxgl</artifactId>
77-
<version>17.3</version>
75+
<version>21</version>
7876
</dependency>
7977
```
8078

81-
注意:`0.5.4``17.3` 分别适用于 Java 8-10 及 Java 11+。
82-
8379
### Gradle
8480

85-
- [Gradle项目模板](https://github.com/AlmasB/FXGL-MavenGradle),编程语言为 Java 和/或 Kotlin (Java 17+)
81+
- [Gradle项目模板](https://github.com/AlmasB/FXGL-MavenGradle),编程语言为 Java 和/或 Kotlin
8682

8783
如有错误请以模板为准。
8884

@@ -92,12 +88,10 @@ repositories {
9288
}
9389
9490
dependencies {
95-
compile 'com.github.almasb:fxgl:17.3'
91+
compile 'com.github.almasb:fxgl:21'
9692
}
9793
```
9894

99-
注意:`0.5.4``17.3` 分别适用于 Java 8-10 及 Java 11+。
100-
10195
### 模块化
10296

10397
如果您希望开发模块化应用程序,这里有一个完整的示例`module-info.java`

0 commit comments

Comments
 (0)