User Tag List

Results 1 to 3 of 3

Thread: Fast loops?

  1. #1
    Clicker Multimedia Fusion 2
    BrandonC's Avatar
    Join Date
    Jun 2006
    Location
    PA, USA
    Posts
    931
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fast loops?

    Do events containing fast loops work out of order to maintain the order of fast loops?

    For example, would events arranged like this:
    Start of level
    +--->Play Music
    +--->Start Loop "Create" 5 times
    +--->Destroy Object1
    On Loop "Create"
    +--->Create Object1

    Would this destroy the objects? Because the loop calling for their creation would be executed before the action that destroys them, but the actual event creating them, occurs after the event calling for the action to destroys them.

    And if this is the case, is it possible to have loops nested inside of other loops?

  2. #2
    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: Fast loops?

    It's regardless of which position the "On loop" condition is in your code. If you call a loop with "Start loop" all actions under the "On loop" event will be executed immediately. After that it process the following actions after the "Start loop" action. You can have nestet loops up to 32 levels if I remember correctly.

    Quote Originally Posted by BrandonC
    Start of level
    +--->Play Music
    +--->Start Loop "Create" 5 times
    +--->Destroy Object1
    On Loop "Create"
    +--->Create Object1
    In this special case the last created object will be destroyed. So four objects left in the application...
    An event triggered outside the event in which the objects are created will destroy all objects.

  3. #3
    Clicker Multimedia Fusion 2
    BrandonC's Avatar
    Join Date
    Jun 2006
    Location
    PA, USA
    Posts
    931
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fast loops?

    Exactly what I thought it would do. Thank you for confirming that for me.

Similar Threads

  1. Fast loops
    By Idn in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd March 2011, 07:43 PM
  2. Fast Loops vs Grouped Fast Loops vs ForEach
    By Ryan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 6th August 2010, 01:22 PM
  3. fast loops
    By willow in forum Multimedia Fusion 2 - Technical Support
    Replies: 20
    Last Post: 11th November 2009, 01:00 AM
  4. I don't get Fast Loops, please help.
    By Carlos182 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 12th September 2009, 09:43 AM
  5. fast loops
    By delusan in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 26th July 2007, 08:04 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
  •