User Tag List

Results 1 to 2 of 2

Thread: Lua calling extensions - crazy idea?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lua calling extensions - crazy idea?

    I have been playing the Lua, pretty powerful object. I spent a number of hours trying to get the SQLite Lua extension module to load, but unfortunately I could not get it working. Having Lua do advanced processing, store results in a database, then read that data through a global SQLDB object could be pretty powerful. I can always pass it back to SQLDB through MMF it is just more complicated that way.

    However while doing this I was thinking about that fact that Lua has the ability to call out to C function libraries written in a DLL. So I had the idea, could Lua actually call extensions in mfx files, if the appropriate bridge was built? Like calling actions, responding to events, etc like MMF does.

    If so, Lua could provide a very powerful method to script together multiple mfx files into a single virtual object written in Lua that could then be used from MMF.

    I must admit my knowledge of MMF internals and the MMF/extension relationship is still pretty weak. So this may be totally impossible. But if not, a bridge such as this could take extension building to a totally new level by allowing the aggregation of Moo, blowfish, SQLDB, and other existing extensions together inside new virtual extension objects written in Lua that could totally re-use the pre-existing functionality.

    So I thought I would throw this idea out there see what people think. Not being able to combine extensions together easily into a new simple packages like one of the biggest limitations of the current MMF model. Subapps are good but dont go far enough.

  2. #2
    No Products Registered

    Join Date
    Jun 2006
    Location
    Texas
    Posts
    1,002
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lua calling extensions - crazy idea?

    I am not sure how possible that would be. I could share my Lua runtime structure when I get back tommorow so that people could "possibly" register their own functions to the lua engine through their extensions.

Similar Threads

  1. Calling a File
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th May 2011, 02:07 AM
  2. Calling A web Page
    By Kisguri in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 28th March 2011, 11:28 PM
  3. Calling a method
    By JoKa in forum SWF/Flash Export Module Version 2.0
    Replies: 6
    Last Post: 9th November 2010, 04:14 PM
  4. Calling you mathemagicians...
    By Asholay in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th December 2009, 11:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •