Using other libraries

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.
Post Reply
User avatar
Tesselode
Party member
Posts: 555
Joined: Fri Jul 23, 2010 7:55 pm

Using other libraries

Post 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?
User avatar
Felipe Budinich
Citizen
Posts: 67
Joined: Thu Jul 29, 2010 1:36 pm

Re: Using other libraries

Post 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...
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 150 guests