User Tag List

Results 1 to 4 of 4

Thread: What is the object execution order?

  1. #1
    Clicker Fusion 2.5 DeveloperInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Sep 2016
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What is the object execution order?

    I would like to program persistent objects that do some system stuff before all other objects, but I wouldn't like to copypasta everything across the frame events every time I update.

    My objects are InputManager which manages input with 4 states (not pressed, pressed this frame, pressed for longer, unpressed this frame) and changeable controls. I have some more objects on my mind such as TextInputManager that's used for J2ME phone inputting text into a textbox.

    How do I do that?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    635
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    There are global events - click on your game name - round about the 5th icon is one called events.
    You can add in global events there that will trigger across every frame.

  3. #3
    Clicker Fusion 2.5 DeveloperInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Sep 2016
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do they trigger before all objects?

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,520
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    It's for an old version, but http://www.clickteam.com/creation_materials/tutorials/download/Fusion_runtime.pdf might be helpful in understanding the order of event execution.
    .:::.Joshtek.:::.

Similar Threads

  1. Event and Action execution order
    By EBMan in forum Fusion 2.5
    Replies: 2
    Last Post: 14th March 2016, 04:49 PM
  2. MMF2 can change execution order of the behaviors?
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 12th July 2013, 10:55 PM
  3. 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, 06:55 PM
  4. Execution order of behaviors at several objects
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 15th October 2010, 04:55 AM
  5. How to control the order of execution ?
    By Valerien in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 11th July 2008, 09: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
  •