I'm optimistic about LÖVE.
However, it seems a bit limited, especially for a hobbyist.
Is it possible to extend the functions with external DLLs
and other librarys like wxLua?
Having an engine that's extendable would be brilliant.
Extending with DLLs? Other librarys?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Extending with DLLs? Other librarys?
Of course. Lua has built-in support for that. It is not possible to load a DLL from inside the .love-file, however. That would break cross-platform-ness.
Re: Extending with DLLs? Other librarys?
So i'm guessing I'd have to recomplile love?
Re: Extending with DLLs? Other librarys?
Nope, not at all.
I'm not sure what rude meant, but my best guess is the fact that you can't just import the public symbols of some random DLL. What you can do, however, is to use lua extensions (or whatever they're actually called) like LuaSocket (that one's already buldled since 0.5.0, though). I'm not sure, but maybe you can get wxLua to work.
Just don't expect the wxWindow to be drawn inside you LOVE window
I'm not sure what rude meant, but my best guess is the fact that you can't just import the public symbols of some random DLL. What you can do, however, is to use lua extensions (or whatever they're actually called) like LuaSocket (that one's already buldled since 0.5.0, though). I'm not sure, but maybe you can get wxLua to work.
Just don't expect the wxWindow to be drawn inside you LOVE window
Teh Blog -> http://cryodreams.com.ar
Re: Extending with DLLs? Other librarys?
Just to clarify what rude said;
Lua modules are generally shared libraries, DLLs for Windows, SOs for Linux/OS X. DLLs don't work on Linux, SOs don't work on Windows.
Edit: And they don't work in .love files..
Lua modules are generally shared libraries, DLLs for Windows, SOs for Linux/OS X. DLLs don't work on Linux, SOs don't work on Windows.
Edit: And they don't work in .love files..
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Extending with DLLs? Other librarys?
I thought that require looked in the working dir (and the install dir, etc), so you might be able to distribute a dll or so (still, not recommended) together with the .love.
Re: Extending with DLLs? Other librarys?
Modules work when distributed with love+game.love executables too (not inside the love file).
Re: Extending with DLLs? Other librarys?
Correct, as far as I know.bartbes wrote:I thought that require looked in the working dir (and the install dir, etc), so you might be able to distribute a dll or so (still, not recommended) together with the .love.
Who is online
Users browsing this forum: Semrush [Bot] and 5 guests