CI | status |
---|---|
Travis CI | |
AppVeyor | |
CircleCI | |
CodeShip |
An easy, light, native game engine running on JVM.
View APIs or wiki to learn more about Frice Engine.
A flappy bird game uses just 65 lines of code only.
Written in Kotlin, also work on Java, JRuby, Groovy and Scala.
The release build jar is about 200kb only.
This engine is completely platform-independent: no JNI linkage, no native methods, everything is written in pure Kotlin.
Add code below to your gradle scrip:
allprojects {
repositories {
/// ...
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.icela:FriceEngine:v1.0.3'
}
- Kotlin
- Java
- Groovy
- Scala
- Game Objects (from image or shape, image from file or web)
- Life cycle
- Collision detecting
- Audio playing (*.wav only)
- Dialogs
- Cursor overriding
- Clock system
- Animations (frames, moving, scaling, accelerations, etc.)
- A simple key-value database
- Screen cut
- Buttons
- Particle effects
- Easy time controlling
- Language extensions(for Kotlin only)
- Smart auto garbage collection(you can close it)
FriceEngine is based on the life cycle mode.
To build games based on frice engine, follow these steps:
- Import the jar in the latest release to your project.
- Create a class extends Game in org.frice.game package.
- Implement the abstract methods, just understand them by name.
- call the empty constructor in the public static void main.
- For full API doc please view APIs
see FriceDemo