User Tag List

Results 1 to 5 of 5

Thread: What the difference between overlap with ForEachloops and without

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    117
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Question What the difference between overlap with ForEachloops and without

    Hello guys !
    I need some help with understanding...What the difference between checking overlap with For Each loops and without ?
    what_the_diff.mfa

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    902
    Mentioned
    13 Post(s)
    Tagged
    1 Thread(s)
    Basically it comes down to how Fusion scopes objects. The way you order conditions in your events will have an effect on the outcome. ForEach loops will let you test each object one by one in situations where it's hard to specify which object you are looking for.

    - On Line 6 you are telling Fusion "If none of the Group.Player objects are overlapping col then scale up Group.Player". So as long as at least one of the objects are overlapping col this event won't run = None of the objects will go back to scale 1.0 until nothing is overlapping col.

    - On Line 14 you have scoped a specific instance of Group.Good thanks to the On each of... loop name "zzz" condition, so the 2nd condition(Group.Good is not overlapping col2) already knows which object you are referring to.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    117
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Thank you !
    i appreciate you help

  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,306
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Visually looking at it as a casual, these are the differences.

    Left side:
    Move 2 objects down to the red. Then remove one from the red.
    The one just removed will not go back to the original size until the other one is removed.

    Right side:
    Move 2 objects down to the blue. Then remove one from the blue.
    The one just removed will return to normal. The other one will remain the same until moved.

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    117
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    perfect explanation.

Similar Threads

  1. What is the difference
    By Perry in forum Fusion 2.5
    Replies: 2
    Last Post: 5th October 2014, 02:51 PM
  2. I want to know what is the difference between MMF and MMF 2.0 2.5?
    By bernard48 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th May 2014, 05:56 PM
  3. Object overlap - Overlap area
    By Ls2 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 12th May 2012, 10:06 PM
  4. the difference between EXE and SWF
    By ASD in forum SWF/Flash Export Module Version 2.0
    Replies: 8
    Last Post: 29th October 2010, 06:38 AM
  5. What's the difference between GF2 and MF2?
    By Nusua in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 1st March 2009, 08:12 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
  •