What?

JavaFX Game Development Framework

Maven Central Javadoc CI Coverage Codacy

Why?

Good for …

Not so good for …

Features

promo

Minimal Example

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

Maven

Already have pom.xml? Then add:

<dependency>
    <groupId>com.github.almasb</groupId>
    <artifactId>fxgl</artifactId>
    <version>0.3.5</version>
</dependency>

Gradle

Already have build.gradle? Then add:

repositories {
    jcenter()
}

dependencies {
    compile 'com.github.almasb:fxgl:0.3.5'
}

Uber jar

Latest pre-compiled uber jar can be found in Releases

Contribution

Contribute to FXGL, or support FXGL on Gratipay. Alternatively star the repo to show interest.

Contact

Chat Gmail Survey Survey2