Create game in Haxe.
- Tutorial
- transpile from
.hx
to .lua
haxe Game.hx --lua game.lua
- convert to gly engine format
lua cli.lua tool-haxe-build game.lua
- build to html5 or another core
lua cli.lua build game.lua --core html5
- Template
@:expose
class Game {
public static var title = 'Your Awesome Game';
public static var author = 'IntellectualAuthor';
public static var version = '1.0.0';
public static var description = 'The best game in the world made in GlyEngine';
public static function init(std:Dynamic):Void {
}
public static function loop(std:Dynamic):Void {
}
public static function draw(std:Dynamic):Void {
}
public static function
exit(std:Dynamic):Void {
}
}