Skip to content

Commit

Permalink
release 21
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmasB committed Dec 28, 2023
1 parent b8bd611 commit 39329f4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 24 deletions.
18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ JavaFX Game Development Framework
### Why FXGL?

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

Otherwise, see:

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

### Maven

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

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

```xml
<dependency>
<groupId>com.github.almasb</groupId>
<artifactId>fxgl</artifactId>
<version>17.3</version>
<version>21</version>
</dependency>
```

Note: use `0.5.4` for Java 8-10 and `17.3` for Java 11+.

### Gradle

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

Please refer to the template if there are any errors.

Expand All @@ -97,12 +93,10 @@ repositories {
}
dependencies {
compile 'com.github.almasb:fxgl:17.3'
compile 'com.github.almasb:fxgl:21'
}
```

Note: use `0.5.4` for Java 8-10 and `17.3` for Java 11+.

### Modularity

If you wish to develop a modular application, here's a complete example of your `module-info.java`:
Expand Down
18 changes: 6 additions & 12 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ JavaFX 游戏开发框架
## 为什么选择FXGL ?

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

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

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

### Maven

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

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

```
<dependency>
<groupId>com.github.almasb</groupId>
<artifactId>fxgl</artifactId>
<version>17.3</version>
<version>21</version>
</dependency>
```

注意:`0.5.4``17.3` 分别适用于 Java 8-10 及 Java 11+。

### Gradle

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

如有错误请以模板为准。

Expand All @@ -92,12 +88,10 @@ repositories {
}
dependencies {
compile 'com.github.almasb:fxgl:17.3'
compile 'com.github.almasb:fxgl:21'
}
```

注意:`0.5.4``17.3` 分别适用于 Java 8-10 及 Java 11+。

### 模块化

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

0 comments on commit 39329f4

Please sign in to comment.