User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Execution order of behaviors at several objects

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Execution order of behaviors at several objects

    In what order are they executed when several objects have "Behavior"?

  2. #2
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Execution order of behaviors at several objects

    This is an excellent question. My behaviours don't have any order-dependent events in them but I'm working on the assumption that they are executed after the main events and then, I imagine, they are executed, by alphabetical order of the object's name.

    Having said that, I could be totally wrong...

  3. #3
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Execution order of behaviors at several objects

    I suspect that they are executed in relation to their internal (not visible) order. I bet is correlates with spread value.

    EDIT: I found some interesting results...
    http://mfa.aquadasoft.com/view/1287023657-Behaviors
    Working as fast as I can on Fusion 3

  4. #4
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Re: Execution order of behaviors at several objects

    Strange... Are blue objects made earlier than red objects at start of frame?

  5. #5
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Execution order of behaviors at several objects

    Quote Originally Posted by LB
    I suspect that they are executed in relation to their internal (not visible) order. I bet is correlates with spread value.

    EDIT: I found some interesting results...
    http://mfa.aquadasoft.com/view/1287023657-Behaviors
    If you go to the frame editor and choose "sort objects -> no" (instead of A-Z, in the object list at the side of the frame), then Z is first. I guess this is why its behaviour happens first.

  6. #6
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Re: Execution order of behaviors at several objects

    Quote Originally Posted by Dynasoft
    If you go to the frame editor and choose "sort objects -> no" (instead of A-Z, in the object list at the side of the frame), then Z is first. I guess this is why its behaviour happens first.
    The list in the left of the frame editor can be permuted by dragging it.

    However, the behavior order didn't change.

  7. #7
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Execution order of behaviors at several objects

    True.

    Hmm.

    Maybe it's just the original order you created the objects in then.

  8. #8
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Re: Execution order of behaviors at several objects

    Quote Originally Posted by Dynasoft
    Maybe it's just the original order you created the objects in then.
    http://mfa.aquadasoft.com/view/1287052098-Behaviors_create_object
    Both objects "Create at start" are disabled, and set the create object action in frame event.

    However, the behavior of a blue object is executed earlier than red objects.

    Can't change the order of same condition behaviors at different objects?

  9. #9
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Execution order of behaviors at several objects

    No you can't change the order. It's an internal order (it's sometimes the creation order, but it's usually different if you have deleted objects and created new ones).


  10. #10
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Re: Execution order of behaviors at several objects

    Hmm.
    Thanks Yves.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. MMF2 can change execution order of the behaviors?
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 12th July 2013, 09:55 PM
  2. Groups > Activated - Deactivated and order of execution of events
    By bupaje in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th April 2012, 05:55 PM
  3. How to order objects by it's X and Y coordinates?
    By Enertron in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 31st October 2009, 04:45 PM
  4. How to control the order of execution ?
    By Valerien in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 11th July 2008, 08:12 AM

Posting Permissions

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