User Tag List

Results 1 to 4 of 4

Thread: Is running events through qualifiers faster then regular?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Question Is running events through qualifiers faster then regular?

    There have been one thing I have wondering for a time, is it faster to run events through a qualifier (less events) then through individual objects?

    Let say for example you want to check collision of 100 instances of 5 different objects.
    One method would be to have 5 events, one for each object.
    Or to set the 5 objects to one single qualifier and use one event.

    Is there any difference in the performance and speed of this?

  2. #2
    Clicker Multimedia Fusion 2

    Join Date
    Aug 2011
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It might be slightly faster to use a qualifer since MMF doesn't have to check each event before doing the calculation.

    If you had 10,000 events; it'd have to check each statement for true/false first before doing any calculations at the end of the loop, compared to just only checking 1 boolean and then doing the calculation.The less events that need to be checked through each loop = the faster. It doesn't update until a full loop is finished(finished reading every event), Atleast that's what I think.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Yes, it is faster to use qualifiers : the selection routines are only called once (even if they work more) instead of 5 times with just objects.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Ok thanks! How much faster is it? Is it so much faster that it should be something you think about? (like with loops for example).

Similar Threads

  1. A Faster Way for Events
    By evilpantsmaster in forum The Games Factory 2 - Technical Support
    Replies: 0
    Last Post: 15th August 2008, 01:50 AM
  2. Qualifiers in Global Events
    By Roseweave in forum Multimedia Fusion 2 - Technical Support
    Replies: 22
    Last Post: 30th December 2007, 09:41 AM
  3. Qualifiers In Global Events
    By UnknownMonkeyman in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 7th July 2007, 07:38 PM
  4. Qualifiers in global events
    By dustingunn in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 20th September 2006, 12:12 AM
  5. Qualifiers in Behavior events
    By deadeye in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 6th September 2006, 08:06 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
  •