Page 1 of 1
Using other libraries
Posted: Wed Aug 25, 2010 2:36 am
by Tesselode
So let's say I wanted to use an audio library, like ProteaAudio, instead of love.audio (for obvious reasons). Would I just stick the .dll/.so file into the .love file? Would I stick it in the same folder as love.exe (outside the .love file)? Can I even do it at all?
Re: Using other libraries
Posted: Wed Aug 25, 2010 3:42 am
by Felipe Budinich
I already tested it :-)
It does work, you've got to put the dlls in the folder where LOVE is installed.
If you want to distribute, you've got to create the executable (you know, merge the .love with love.exe) and put the dlls outside. The problem is that i don't know how to do it for other operating systems.
edit: give me a few minutes while i go to my laptop and upload the files.
edit2: I just found a really weird bug. When i move the .love file or exe file out of the folder, the music does not play (but it doesn't crash either O_o)
Does not include the audio file i used (you've got put one yourself)
http://dl.dropbox.com/u/1043484/love/te ... _fail.love
I couldn't fix the bug by the way...