Create games and apps with javascript.
- Precondition
- Javascript is only supported in HTML5 platfoms exclusively with WebAssembly (wasmoon), it cannot be build with
--fengari
flag.
- Warning
- Is not recommended using the classic TSC (and similar) compiler from typescript to javascript, you can get better profits using TSTL which works with target lua, more information on the Typescript page.
- Template
const Game = {
meta: {
title:
"Your Awesome Game",
author: "IntellectualAuthor",
description: "The best game in the world made in GlyEngine",
version: "1.0.0"
},
init: (std) => {
},
loop: (std) => {
},
draw: (std) => {
},
}
}
}
local function title(window_name)
local function callbacks(handler)