User Tag List

Results 1 to 8 of 8

Thread: Global events or Frame events first?

  1. #1
    Clicker Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Sep 2008
    Location
    Western Australia
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Global events or Frame events first?

    I have a "Start of Frame" condition set up in my Global Events list, and I also have a "Start of frame" condition set up in a frame events list.

    I was expecting that the Global conditions would be run first, but this does not appear to be the case.

    Is the order of these events guaranteed?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Global events or Frame events first?

    I think the global events run after the frame event list.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Global events or Frame events first?

    Same with behaviors, I believe

  4. #4
    Clicker Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Sep 2008
    Location
    Western Australia
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Global events or Frame events first?

    That would match with my tests, but it surprises me; I had assumed that global events were "more important" than frame events, or perhaps, as they occur for every frame, they would occur first.

    I want a condition in the global event list to be checked prior to the frame event list, so thinking off the top of my head, I think I'll need to set a flag so that the frame event only occurs after the global event (which then sets the flag).

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

    Re: Global events or Frame events first?

    Or this:

    (In Frame Code) Start of Frame: Run Loop "Global Frame Start" 1 time

    (In Global Code) On Loop "Global Frame Start": Do stuff here
    Working as fast as I can on Fusion 3

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall CreatorUnicode Add-on

    Join Date
    Jul 2006
    Posts
    1,017
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Global events or Frame events first?

    Behaviors run before frame events. I don't know why...
    But I noticed this in a past project.

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

    Re: Global events or Frame events first?

    Are you very sure!? Evidence suggests otherwise. Make an event "Run this event once: set counter to 2" in the frame, and the same in behavior but make it set counter to 3. I am pretty sure it will display 3 and not 2.
    Working as fast as I can on Fusion 3

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall CreatorUnicode Add-on

    Join Date
    Jul 2006
    Posts
    1,017
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Global events or Frame events first?

    You are right. Sorry, I mixed this up with Sub-Apps.
    The code of Sub-Apps run before frame events...

Similar Threads

  1. Performance of behavior events vs frame events
    By Ryan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 4th July 2013, 06:24 AM
  2. Group of events & global events - performance?
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 9th June 2010, 04:00 PM
  3. Global Events
    By Angelfox in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th January 2009, 03:01 AM
  4. Global Events
    By Roseweave in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 12th June 2008, 07:36 PM
  5. Global Events
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th November 2006, 02:21 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
  •