GlyEngine 0.0.21
Create games and apps with lua
Loading...
Searching...
No Matches
Javascript

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) => {
},
exit: (std) => {
}
}
}
local function exit()
local function title(window_name)