neriudon / FXGL

Java / JavaFX / Kotlin Game Library (Engine)

Home Page:http://almasb.github.io/FXGL/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

promo

About

JavaFX Game Development Framework

Maven Central Javadoc CI Coverage Codacy

Why FXGL?

  • No native libraries, no installation, no setup required
  • Simple and clean API
  • Superset of JavaFX: no need to learn new API
  • Brings real-world game development techniques to JavaFX
  • Works with Java 8 and 9 "out of the box"
  • Games are easily packaged into a single executable .jar

Good for:

  • Any 2D genre (side-scroller / platformer / arcade / RPG)
  • Complex UI controls
  • Hobby / academic / commercial projects
  • Teaching / learning / improving game development skills
  • Fast prototyping of game ideas

Features

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

  • Maven project if you use Java
  • Maven project if you use Kotlin

Already have pom.xml? Then add:

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

Gradle

  • Gradle project if you use Java
  • Gradle project if you use Kotlin

Already have build.gradle? Then add:

repositories {
    jcenter()
}

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

Uber jar

Download the latest uber jar from Releases

Community

  • University of Brighton, UK
  • University of Nottingham, UK
  • Walton High School, USA
  • Zealand Institute of Business and Technology, Denmark

If your institution wants to use / is using FXGL, drop me an email to discuss how FXGL can aid your course.

Contribution & Support

If you want to build FXGL from sources or want to contribute, please see the Contribution Guide (including non-code).

You can support the FXGL development via PayPal or simply star the repo to show interest.

Contact

Chat with the friendly FXGL community or Gmail

About

Java / JavaFX / Kotlin Game Library (Engine)

http://almasb.github.io/FXGL/

License:MIT License


Languages

Language:Java 76.3%Language:Kotlin 22.5%Language:CSS 0.7%Language:Ragel 0.3%Language:JavaScript 0.2%