[Solved] Adding a new module to Love, help!

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: [Solved] Adding a new module to Love, help!

Post by Positive07 »

I think bartbes meant that instead of calling require "love.myModule" in boot.lua you could have done it in main.lua or any other Lua file that is part of your project and not necesarily inside of LÖVE source code.

PS (not related to what I just explained): You could also dynamically compile your module into a .dll or .so file without the need for it to be part of LÖVE
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 11 guests