User Tag List

Results 1 to 5 of 5

Thread: How do Child events work?

  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,202
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Question How do Child events work?

    I know that Child events where a big update to Fusion, but I have no idea how to use it. Where is the best place to learn about it? Is there some good tutorial etc?

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    819
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Exactly like programming, this is a non-child-event-style if statement:
    if {do something;}

    This is a child-event-style if statement:
    if {do something;
    if something {do something;}
    }

    So, basically you're doing another condition within a condition, it means you don't have to have lots of the same "parent" conditions for many different events, you can just check against each parent, almost like a flowchart with multiple options (sort of). It's a very convenient way of simplifying your events. You can also use "Always" as your child event conditions to break up otherwise long event sequences, or break up event sequences that would otherwise not work properly in the same sequence (for instance, you can just use "Always" and run a "For Loop" and you won't lose scope in your other events.)

  3. #3
    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,202
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by elvisish View Post
    Exactly like programming, this is a non-child-event-style if statement:
    if {do something;}

    This is a child-event-style if statement:
    if {do something;
    if something {do something;}
    }

    So, basically you're doing another condition within a condition, it means you don't have to have lots of the same "parent" conditions for many different events, you can just check against each parent, almost like a flowchart with multiple options (sort of). It's a very convenient way of simplifying your events. You can also use "Always" as your child event conditions to break up otherwise long event sequences, or break up event sequences that would otherwise not work properly in the same sequence (for instance, you can just use "Always" and run a "For Loop" and you won't lose scope in your other events.)
    Hmm it sounds good on paper, but it would be nice to see some example in practice on how it would be better compared to the regular way.

  4. #4
    Clicker Fusion 2.5

    Join Date
    Jan 2018
    Posts
    183
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    voici un exemple simple
    il ne faut pas négliger les evenements enfants car il rendent le programme bien plus rapide surtout sur android
    child evenement exemple.mfa

  5. #5
    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,202
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by fredetmumu View Post
    voici un exemple simple
    il ne faut pas négliger les evenements enfants car il rendent le programme bien plus rapide surtout sur android
    child evenement exemple.mfa
    Ok that made it clear! Thanks!

Similar Threads

  1. Replies: 9
    Last Post: 27th September 2019, 07:58 AM
  2. Breaking Out Of Child Events
    By grimmy in forum Fusion 2.5
    Replies: 3
    Last Post: 25th September 2019, 12:34 PM
  3. 2.5+ Parent & Child events: When to use it?
    By NaitorStudios in forum Fusion 2.5
    Replies: 14
    Last Post: 24th April 2019, 12:05 PM
  4. Simple Toggle Problem - Child events
    By grimmy in forum Fusion 2.5
    Replies: 3
    Last Post: 22nd April 2019, 01:49 AM
  5. Correct way of doing child events in order
    By elvisish in forum Fusion 2.5
    Replies: 16
    Last Post: 13th April 2019, 03:34 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
  •