Create game in Javascript.
- Precondition
- javascript/typescript is only supported with WebAssembly (wasmoon), it cannot be build with
--fengari
flag.
- Todo
- explain better about JS
- Template
const Game = {
meta: {
title:
"Your Awesome Game",
author: "IntellectualAuthor",
description: "The best game in the world made in GlyEngine",
version: "1.0.0"
},
callbacks: {
init: (std) => {
},
loop: (std) => {
},
draw: (std) => {
},
}
}
}
local function title(window_name)