Showcase your libraries, tools and other projects that help your fellow love users.
Ulydev
Party member
Posts: 445 Joined: Mon Nov 10, 2014 10:46 pm
Location: Paris
Contact:
Post
by Ulydev » Thu Feb 23, 2017 12:23 pm
Hey there,
I made this tiny library for a project I'm working on.
It lets you register commands and execute them by typing in the console.
Code: Select all
local cmd = require("lovecmd")
function love.load()
cmd.load() --init library
end
function love.update(dt)
cmd.update() --update library
end
cmd:on("myCommand", function()
print("it works!")
end)
Check it out on
https://github.com/Ulydev/lovecmd
Tjakka5
Party member
Posts: 243 Joined: Thu Dec 26, 2013 12:17 pm
Post
by Tjakka5 » Fri Feb 24, 2017 12:12 am
Very interesting. I'll end up using this.
Thanks!
Users browsing this forum: No registered users and 217 guests