Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

is it possible to install a lua code/library ?

edited March 2013 in General Posts: 6

I've noticed that Lua has many useful libraries/codes but I have no clue how to 'install' them, once they're not at some .lua extension to put as a new class. is it even possible to use such codes inside Codea?

Tagged:

Comments

  • Posts: 69

    i believe the way you do it is that you make a new project with all of the code from the library your looking at and you just import it into the project your using by adding it under the class creation menu. but i might be wrong.

  • Posts: 2

    This would definitely be extremely useful. Does anybody out there have some more detailed information on how to use .lua libraries? I've been trying to get it in as a class and that doesn't seem like it would make much sense for libraries that are just clusters of functions and not objects.

  • edited August 2013 Posts: 502

    you probably have to modify the code a bit to work with codea. If you show what library you are trying to use, maybe we can help you?

  • dave1707dave1707 Mod
    Posts: 7,605

    If I understand correctly, you want to install a Lua library into Codea. Codea is all there is, you can't add anything else to the Codea code. You can add your own libraries and include them as dependencies in your own code, but you can't add anything to Codea itself.

  • Posts: 437

    I think you have to export the project and then build the bridge between those libraries and Codea using the Addon class, like this:

    http://twolivesleft.com/Codea/Talk/discussion/2629/another-new-ish-tutorial-28-codea-v1-5-2:-objective-c-add-on-audio/p1

Sign In or Register to comment.