KorGE Logo

Modern Multiplatform Game Engine for Kotlin

Write games for the JVM, JavaScript, Android and iOS in no time using Kotlin.

import com.soywiz.klock.* import com.soywiz.korge.* import com.soywiz.korge.tween.* import com.soywiz.korge.view.* import com.soywiz.korim.format.* import com.soywiz.korio.async.* import com.soywiz.korio.file.std.* import com.soywiz.korma.geom.* import com.soywiz.korma.interpolation.* suspend fun main() = Korge(width = 512, height = 512) { val minAngle = (-16).degrees val maxAngle = (+16).degrees val image = image(resourcesVfs["korge.png"].readBitmap()) { rotation = maxAngle anchor(.5, .5) scale(.8) position(256, 256) } launchImmediately { while (true) { image.tween( image::rotation[minAngle], time = 1.seconds, easing = Easing.EASE_IN_OUT ) image.tween( image::rotation[maxAngle], time = 1.seconds, easing = Easing.EASE_IN_OUT ) } } }

Real native multiplatform

KorGE is fully written in Kotlin. KorGE gradle plugin allows to target each platform natively: JVM for Android, JS for the Web and Native code for iOS and Desktop.


Small footprint

KorGE has a very small footprint. It has no external dependencies and only uses the libraries available on each platform. You can create small native games or games for the web, that are fast to download and require almost no space to store.

The JS sample of this page is just 383 KB gzipped (1.9 MB uncompressed). No emscripten. Just plain JS generated using Kotlin/JS.


Iterate fast, develop with pleasure

Since KorGE targets the JVM, you can develop your game, try it, debug it and test it using IntelliJ IDEA (including Community, Ultimate and Android Studio) integrated debugger. And then deploy to the other targets by using the provided gradle tasks.

You can also use KorGE as a library and for example integrated it in your android-only project.


Tons of features out of the box

KorGE is just the last layer of a larger stack (Korlibs) for multimedia development:

Date and Time utilities, Image Loading, Vector Rasterization, Pathfinding, Sound, Data Structures, Fast Memory Access, Virtual File Systems, WebSockets...

Also, it is extensible and include several plugins out of the box: DragonBones, Box2D, SWF and Admob. And more coming.

Carlos Ballesteros

KorGE is the result of two years of intense development. It is totally free and OpenSource. Hope you all enjoy it.

Carlos Ballesteros Velasco (soywiz) - Creator of KorGE

Try KorGE today