Basic Usage (Java)
public class BasicGameApp extends GameApplication {
@Override
protected void initSettings(GameSettings settings) {
settings.setWidth(800);
settings.setHeight(600);
settings.setTitle("Basic Game App");
settings.setVersion("0.1");
// other settings
}
public static void main(String[] args) {
launch(args);
}
}
Basic Usage (Kotlin)
class BasicGameApp : GameApplication() {
override fun initSettings(settings: GameSettings) {
with(settings) {
width = 800
height = 600
title = "Basic Game App"
version = "0.1"
// other settings
}
}
}
fun main(args: Array) {
Application.launch(BasicGameApp::class.java, *args)
}