GlyEngine 0.1.2
Create games and apps with lua
Loading...
Searching...
No Matches
Kotlin

Create games and apps with Kotlin.

Precondition
Kotlin is only supported in HTML5 platfoms exclusively with WebAssembly (wasmoon), it cannot be build with --fengari flag.

Applications made in kotlin with gly engine API can be used on HTML5 platforms like WebOS and Tizen.

Tutorial
Template
import kotlin.js.JsExport
@JsExport
class Game {
fun init(std: dynamic) {
}
fun loop(std: dynamic) {
}
fun draw(std: dynamic) {
}
fun exit(std: dynamic) {
}
}
local function exit()