JavaFX Game Development Framework
- No native libraries, no setup required
- Simple and clean API
- Brings real-world game development techniques to JavaFX
- Desktop 2D / casual games
- Hobby / academic / commercial projects
- Learning / improving game development skills
- Fast prototyping of game ideas
- 3D, mobile or web
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);
}
}
Already have pom.xml
? Then add:
<dependency>
<groupId>com.github.almasb</groupId>
<artifactId>fxgl</artifactId>
<version>0.3.7</version>
</dependency>
Already have build.gradle
? Then add:
repositories {
jcenter()
}
dependencies {
compile 'com.github.almasb:fxgl:0.3.7'
}
Download latest uber jar from Releases
Contribute to FXGL, or support FXGL on Gratipay. Alternatively star the repo to show interest.