JVM game engine based on Swing/JavaFX.
AGPL-3.0 License
CI | status |
---|---|
Travis CI | |
AppVeyor | |
CircleCI | |
CodeShip |
An easy, light, native game engine running on JVM.
Why easy? A flappy bird game uses just 56 lines of Java code only. Written in Kotlin, also work on Java, JRuby, Groovy, Scala and other JVM languages.
Why light? The release build jar is about 1.6mb (with a 1mb Kotlin runtime) only.
Why native? This engine is completely platform-independent: no JNI linkage, no native methods.
View Document to learn how to use Frice Engine.
Gradle:
repositories { jcenter() }
dependencies { compile 'org.frice:engine:1.8.5' }
Alternatively, you can follow the instruction from JitPack. Alternatively, you can download a jar from the release page.
This engine is based on Java's built-in GUI framework, both Swing and JavaFX. "Platform" here refers to Swing/JavaFX.
These features are differently implemented in Swing/JavaFX. Since this project is still in progress, the unsupported features will soon be available.
Feature | Swing | JavaFX |
---|---|---|
Life cycle | √ | √ |
Dialogs | √ | √ |
Cursor overriding | √ | √ |
Screenshot | √ | √ |
Buttons | √ | √ |
Full screen | √ | √ |
Always on top | √ | √ |
Text font/size | √ | √ |
Multi-instances | √ | × |
Resizability | √ | √ |
Key listener | √ | √ |
Text measuring | √ | √ |
Feel free to open issue for feature request, bug reports, etc. This is generally a personal project, so please do give your genuine suggestions.
This project is using Issue-Driven-Development. Issues are well organized and used to managed tasks.
See FriceDemo And see TouhouDemo