Feedback is welcomed
https://github.com/rayaman/multi
On the github readme you will see how to use the library and all of its features.
Code: Select all
-- In love you require like this
require("multi.compat.love2d")
-- if you plan on using my GuiManager library (WIP) then un-comment the next line since it is older and uses older features of the multi library
--require("multi.compat.backwards[1,5,0]") -- allows the old syntax to work for some methods
alarm=multi:newAlarm(3)
alarm:OnRing(function(self)
print("3 seconds have passed!")
end)
-- No need for multi:mainloop() since the love.run function is overwritten to make a seamless integration
To see working examples of all of my libraries around the love2d engine check out: https://github.com/rayaman/IntroSoftwareProject
There I used love2d to write a chat client for a project I had. The server runs using luajit and works on both linux, mac and windows