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

Create games and apps with Lua.

Template
  • modern
    local Game = {
    title = 'Your Awesome Game',
    author = 'IntellectualAuthor',
    description = 'The best game in the world made in GlyEngine',
    version = '1.0.0'
    }
    function Game.init(std, data)
    end
    function Game.loop(std, data)
    end
    function Game.draw(std, data)
    end
    function Game.exit(std, data)
    end
    return Game
    local function title(window_name)
    @decorator
  • classic
    local function init(std, data)
    end
    local function loop(std, data)
    end
    local function draw(std, data)
    end
    local function exit(std, data)
    end
    local P = {
    meta={
    title = 'Your Awesome Game',
    author = 'IntellectualAuthor',
    description = 'The best game in the world made in GlyEngine',
    version = '1.0.0'
    },
    init=init,
    loop=loop,
    }
    }
    return P;
    local function exit()
    @decorator
    local function draw(src, pos_x, pos_y)
    local function callbacks(handler)