![promo](https://raw.githubusercontent.com/AlmasB/git-server/master/storage/images/fxgl_promo.jpg)
## Languages
  English
  [简体中文](https://github.com/AlmasB/FXGL/blob/dev/README_CN.md)
## About
<img src="https://raw.githubusercontent.com/AlmasB/git-server/master/storage/images/fxgl_logo.png" width="128" />
JavaFX Game Development Framework
[![Maven Central](https://img.shields.io/maven-central/v/com.github.almasb/fxgl.svg)]()
[![Build Status](https://github.com/AlmasB/FXGL/workflows/Java%20CI%20with%20Maven/badge.svg)](https://github.com/AlmasB/FXGL/actions)
[![codecov](https://codecov.io/gh/AlmasB/FXGL/branch/dev/graph/badge.svg)](https://codecov.io/gh/AlmasB/FXGL)
[![sponsor](https://img.shields.io/badge/sponsor-%241-brightgreen)](https://github.com/sponsors/AlmasB)
[![JFXCentral](https://img.shields.io/badge/Find_me_on-JFXCentral-blue?logo=googlechrome&logoColor=white)](https://www.jfx-central.com/libraries/fxgl)
### Why FXGL?
* No installation or setup required
* "Out of the box": Java 8-17, 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)
* Games are easily packaged into a single executable .jar or native images
### Good for:
* Any 2D game (side-scroller / platformer / arcade / RPG)
* Any business application with complex UI controls / animations
* Experimental 3D
* Hobby / academic / commercial projects
* Teaching / learning / improving game development skills
* Fast prototyping of app ideas
### Minimal Example
```java
public class BasicGameApp extends GameApplication {
@Override
protected void initSettings(GameSettings settings) {
settings.setWidth(800);
settings.setHeight(600);
settings.setTitle("Basic Game App");
}
public static void main(String[] args) {
launch(args);
}
}
```
## Getting Started
For a quick dive into code, see standalone [basic examples](https://github.com/AlmasB/FXGL/tree/dev/fxgl-samples/src/main/java/basics).
Otherwise, see:
* [FXGL 17 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)
* [YouTube tutorials](https://www.youtube.com/playlist?list=PL4h6ypqTi3RTiTuAQFKE6xwflnPKyFuPp)
* [Sample code demos](fxgl-samples)
* [FXGL games](https://github.com/AlmasB/FXGLGames) (with source)
* [Published demos](https://fxgl.itch.io/) on itch.io
### 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`.
```xml
<dependency>
<groupId>com.github.almasb</groupId>
<artifactId>fxgl</artifactId>
<version>17.3</version>
</dependency>
```
Note: use `0.5.4` for Java 8-10 and `11.17` for Java 11-16.
### Gradle
* [Gradle](https://github.com/AlmasB/FXGL-MavenGradle) template project if you use Java and/or Kotlin (Java 17+)
Please refer to the template if there are any errors.
```gradle
repositories {
jcenter()
}
dependencies {
compile 'com.github.almasb:fxgl:17.3'
}
```
Note: use `0.5.4` for Java 8-10 and `11.17` for Java 11-16.
### Modularity
If you wish to develop a modular application, here's a complete example of your `module-info.java`:
```java
open module app.name {
requires com.almasb.fxgl.all;
}
```
### Uber jar
Download the latest uber jar from [Releases](https://github.com/AlmasB/FXGL/releases)
## Community
* University of Brighton, UK
* University of Nottingham, UK
* Georgia Institute of Technology, USA
* kidOYO, USA
* Walton High School, USA
* Conant High School, USA
* Zealand Institute of Business and Technology, Denmark
* Federal Institute of Education, Science and Technology of Rio Grande do Sul, Brazil
* FHNW School of Engineering / Computer Science, Switzerland
* Johann-Andreas-Schmeller-Gymnasium Nabburg, Germany
If your institution wants to use or is using FXGL, add a note in the [Chat](https://gitter.im/AlmasB/FXGL) to be added to the list.
Community tutorials:
- [Space Ranger](https://www.journaldev.com/40219/space-rangers-game-java-fxgl) at journaldev
- [Geometry Wars](https://webtechie.be/post/2020-05-07-getting-started-with-fxgl/) at webtechie
- [Mazela-Man](https://dykstrom.github.io/mazela-man-web/home/) by dykstrom
Community projects (identified using `fxgl` topic):
- [SOFTKNK.IO](https://github.com/softknk/softknk.io)
- [Consume](https://ergoscrit.itch.io/consume)
- [FXGL Sliding Puzzle](https://github.com/beryx/fxgl-sliding-puzzle)
If you'd like your project featured here, just add a note in the [Chat](https://gitter.im/AlmasB/FXGL).
### Development Team
Description of roles is given in the [Contribution Guide](CONTRIBUTING.md).
Maintainers (Collaborators):
* [Almas Baimagambetov](https://github.com/AlmasB)
Coordinators:
* [Chengen Zhao](https://github.com/chengenzhao)
Testers:
* [Carl Dea](https://github.com/carldea)
* [Frank Delporte](https://github.com/FDelporte)
### Contribution & Support
If you want to build FXGL from sources or want to contribute,
please see the [Contribution Guide](CONTRIBUTING.md) (including non-code).
FXGL is fully modular, so new contributors do not need to understand the entire codebase, only the module to which the contribution is made.
Contributions will be reviewed in accordance with the [Code of Conduct](CODE_OF_CONDUCT.md).
You can support the FXGL development or show interest by simply starring the repo or becoming a [sponsor](https://github.com/sponsors/AlmasB).
### Sponsors
Users:
* @Marsl10
* @SergeMerzliakov
* @mbains
* @sabit86
* @hendrikebbers
* @ImperaEtConquer
* @thejeed
* @chikega
Companies:
* @karakun
### Contact
* Ask questions via [GitHub Discussions](https://github.com/AlmasB/FXGL/discussions)
* Ask via [StackOverflow](https://stackoverflow.com/search?q=fxgl) with tags `javafx` and `fxgl`
* Tweet with [#fxgl](https://twitter.com/search?src=typd&q=%23fxgl)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
开发 2D,3D 和虚拟现实的 Java 游戏和应用程序的库,具有简单易用的 API 和多种游戏引擎集成,可以用于开发高性能和跨平台的游戏和应用程序。 Any 2D game (side-scroller / platformer / arcade / RPG) Any business application with complex UI controls / animations Experimental 3D Hobby / academic / commercial projects Teaching / learning / improving game development skills Fast prototyping of app ideas
资源推荐
资源详情
资源评论
收起资源包目录
开发 2D,3D 和虚拟现实的 Java 游戏和应用程序的库 (1318个子文件)
ball_1.bmp 593KB
fxgl_controllerinput.cpp 3KB
fxgl_dark.css 11KB
test.css 11KB
test_fxgl_light.css 10KB
test.css 3KB
test.css 3KB
fxgl_trade.css 3KB
dialogue_editor.css 2KB
chat.css 715B
SDL2.dll 1.27MB
fxgl_controllerinput.dll 60KB
test_ui.fxml 463B
test_ui.fxml 463B
.gitignore 423B
fxgl_controllerinput.h 2KB
ParticleSystem.java 91KB
Collision.java 47KB
World.java 43KB
ContactSolver.java 41KB
Body.java 32KB
Entity.java 29KB
PhysicsWorld.java 26KB
PrismaticJoint.java 24KB
Array.java 22KB
Island.java 20KB
Distance.java 19KB
DynamicTree.java 19KB
PolygonShape.java 19KB
RevoluteJoint.java 18KB
GearJoint.java 17KB
ArrayTest.java 14KB
WheelJoint.java 14KB
FXGLMath.java 14KB
HitBox.java 13KB
Vec2.java 13KB
BoundingBoxComponentTest.java 13KB
ParticleEmitter.java 12KB
WeldJoint.java 12KB
ParticleShowcaseSample2.java 12KB
PhysicsComponent.java 12KB
ProgressBar.java 11KB
PulleyJoint.java 11KB
ContactManager.java 11KB
MotorJoint.java 10KB
MultiplayerSample.java 10KB
DistanceJoint.java 10KB
ParticleMorphApp.java 9KB
Fixture.java 9KB
CustomLoadingSample.java 9KB
ReflectionUtils.java 9KB
UnoSample.java 9KB
ConstantVolumeJoint.java 9KB
TimeOfImpact.java 9KB
ParticleShowcaseSample3.java 9KB
EntityActionSample.java 9KB
RopeJoint.java 8KB
Contact.java 8KB
ParticleMorphSample.java 8KB
SeparationFunction.java 8KB
SimplexNoise.java 8KB
FrictionJoint.java 8KB
VoronoiDiagram.java 8KB
GridTest.java 8KB
VirtualControllerSample.java 8KB
ShapesSample.java 8KB
DefaultWorldPool.java 8KB
WorldManifold.java 7KB
FireworksSample2.java 7KB
PlatformerSample.java 7KB
SnookerPhysicsSample.java 7KB
DistanceJointSample.java 7KB
EdgeShape.java 7KB
Particle.java 7KB
ChainShape.java 7KB
ParticleShowcaseSample.java 7KB
MouseJoint.java 7KB
PolynomialFunctionSample.java 7KB
ParticleIntroApp.java 7KB
PhysicsPlaygroundSample.java 7KB
MapGenerationSample.java 7KB
AttractorSample.java 7KB
CircleNNApp.java 7KB
AABB.java 7KB
Endpoint.java 7KB
Grid.java 7KB
GameController.java 7KB
ParticleEmitters.java 6KB
GameApplication.java 6KB
BeatEmUpSample.java 6KB
CellMoveComponent.java 6KB
RobotComponent.java 6KB
CustomGameMenuSample2.java 6KB
RevoluteJointSample.java 6KB
CrystalApp2.java 6KB
PhysicsCollisionSample.java 6KB
RopeJointSample2.java 6KB
JBoxSettings.java 6KB
AStarMoveComponent.java 6KB
KeepInBoundsApp.java 6KB
共 1318 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
资源评论
猿来如此yyy
- 粉丝: 1764
- 资源: 165
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 使用ASP.NET Core和Entity Framework Core来构建一个基本的进销存系统.rar
- 深度学习经典数据集+FER2013面部表情识别+附带使用方法的python代码
- Python中,要实现连接多个相机并识别多个二维码.rar
- 使用FFT算法对一个信号进行分析.rar
- 171cms游戏应用下载系统源码.zip
- 基于jsp+servlet+mysql蛋糕甜品店购物网站源码+数据库(期末大作业).zip
- Java项目:在线蛋糕商城系统(java+jsp+mysql)源码+数据库+期末大作业.zip
- ZapyaClient10_7-1.apk
- 织梦cms站长导航网站源码.zip
- 基于SSM+MySQL的网络投票调查问卷系统源码+数据库(java期末大作业).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功