Hello,
I am just investigating LOVE2d (and Lua), and was wondering if it is possible to use other Lua libraries together with Love2d. Such as using the proteaudio library with love2d. The proteaudio library: http://viremo.eludi.net/proteaAudio/proteaaudiolua.html
If so how is it accomplished?
Thank you for any info, much appreciated.
Axe
Using external library with LOVE?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- dreadkillz
- Party member
- Posts: 223
- Joined: Sun Mar 04, 2012 2:04 pm
- Location: USA
Re: Using external library with LOVE?
Yes, you can use external libaries. Since LOVE uses standard Lua 5.1 as its backend, you can use 5.1 compatible modules.
See http://www.lua.org/manual/5.1/manual.html#pdf-require . Also see http://lua-users.org/wiki/LuaAddons for libraries/modules (there are many).
If you want to test non-LOVE specific modules, you can download and use the stand alone interpreter from the official webpage (also good for experimenting in Lua too).
If you want to learn more about loading external libaries, read Chapter 15 in http://www.lua.org/pil/index.html.
See http://www.lua.org/manual/5.1/manual.html#pdf-require . Also see http://lua-users.org/wiki/LuaAddons for libraries/modules (there are many).
If you want to test non-LOVE specific modules, you can download and use the stand alone interpreter from the official webpage (also good for experimenting in Lua too).
If you want to learn more about loading external libaries, read Chapter 15 in http://www.lua.org/pil/index.html.
Last edited by dreadkillz on Mon May 07, 2012 12:46 am, edited 2 times in total.
Re: Using external library with LOVE?
Hello,
Thanks very much for the info.
Sincerely,
Axe
Thanks very much for the info.
Sincerely,
Axe
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest