User Tag List

Page 25 of 43 FirstFirst ... 15 23 24 25 26 27 35 ... LastLast
Results 241 to 250 of 426

Thread: XLua extention beta

  1. #241
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XLua extention beta

    Updated version to help really large applications.

    Several additional, equivalent "On Function" conditions have been added, to help mitigate n*m overhead in condition checks when you've defined a large number of "On Function" events. This may have a large impact if you have any MMF functions that you call tens or hundreds of times per loop, since you'll be able to separate these busy functions into their own "group".

    Version 1.2: http://hocuspocus.taloncrossing.com/rii/xlua-dist.zip

  2. #242
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XLua extention beta

    Great, thanks for the update

    Edit -

    I was just thinking, someone should make a sticky if possible in the new LUA area with links to things like this extension thread and the LUA website and other resources. I don't really want to make the thread though as im no expert yet with LUA really but it's just a suggestion if anyone else thinks it would be useful. I think having a few things like that will help that area grow much bigger although im sure it will over time anyway.

  3. #243
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XLua extention beta

    Thats a great idea. I think retriever2 should do it!

  4. #244
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XLua extention beta

    Bugfix for the export object list being "cleared" if you shared a state between 2 frames simultaneously (e.g., if you share a state with a subapp). The automatic dead-object cleanup run by each XLua instance did not recognize objects that belonged to another frame, and thus removed them as dead objects.

    Also, a bugfix / API change for the mmf.Object.GetValue/SetValue/GetString/SetString functions. The documentation states these functions take 0-based indexes, but they actually took 1-based indexes. This has been changed back to 0-based indexes, to stay consistent with the documentation, ALT constants, and normal MMF behavior. If you use these functions, you must check your code.

    Version 1.2.1: http://hocuspocus.taloncrossing.com/rii/xlua-dist.zip

  5. #245
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XLua extention beta

    say I have a main app and a subapp. In the main app I have an active object that is exported to and using the mmf interface.
    Now I create an active object in the subapp and I want that active object to be handled the exact same way as the main app's active object. How would I do this? I tried exporting it to the same id but it disables the main app's active.

  6. #246
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XLua extention beta

    New XLua release available

    This update carries some significant bug fixes.

    - Coroutines are now fixed for calling MMF Functions or functions that access MMF directly, like print. Prior to this fix, calling MMF functions from inside a coroutine did nothing, as if there was no XLua object currently attached to the state.

    - Fixed a crash when calling the "Get String Variable" expression on an invalid variable name.

    - mmf.Object.GetActionY should now return the Y value, not the X value.

    - The "Unbind State" and "Destroy State" actions will no longer crash an application if called from inside an active call stack. Instead the XLua object will detach, and then the call stacks will safely unwind. And in the case of Destroy, the state will then be killed.

    - The new expression "Get Variable Type" has been added. The type will be returned as a string, such as "nil", "number", "string", "boolean", "function", "table", etc.

    Version 1.2.3: http://hocuspocus.taloncrossing.com/rii/xlua-dist.zip

  7. #247
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,716
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)

    Re: XLua extention beta

    Thank you.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  8. #248
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XLua extention beta

    Nice, thanks for the update

  9. #249
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XLua extention beta

    A fairly major XLua update

    - "XLua Interface" now available for inter-state communication (see documentation).
    - MAJOR safety improvement to MMF Interface functions when calling them on something other than AOs. For example, it was almost never safe to call visibility or alt value functions on non-AOs, but now it should be, as long as the object was meant to support the functions. Of course it's not 100% guarantee.
    - MMF Interface visibility functions keep internal state more consistent.
    - Export Object by Fixed ID action
    - Probably other things I've forgot.

    Version 1.3: http://hocuspocus.taloncrossing.com/rii/xlua-dist.zip

    As usual for major update keep a backup of your old copy.

  10. #250
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XLua extention beta

    Nice thanks, this sounds like a great update

Page 25 of 43 FirstFirst ... 15 23 24 25 26 27 35 ... LastLast

Similar Threads

  1. XLua
    By Retriever2 in forum Released Extensions
    Replies: 6
    Last Post: 13th August 2017, 07:42 PM
  2. Extention error with exe
    By Jinxtengu in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th October 2012, 03:47 AM
  3. SPC extention question
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 20th November 2009, 03:25 PM
  4. Lua+ or xLua?
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th October 2009, 10:55 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
  •