User Tag List

Results 1 to 3 of 3

Thread: Slowing down a loop

  1. #1
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Apr 2009
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Slowing down a loop

    Is there any way to slow down the speed at which a loop executes? Maybe some sort of pause between each new loop.

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid 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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Make a new active object and place it off screen, then use one of it's Alterable Values to record how many loops have been executed.

    So if you want to have a loop the executes 50 times in 10 loop increments make events in this order:

    -While Active Object's Alterable Value A < 50
    -Set Active Object's Alterable Value A to Alterable Value A("Active Object")+10
    -Start loop "blah" 10 times

    -On loop "blah"
    -Do stuff

    There you go, a sub-loop that only executes a particular amount per main loop.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    That's what I usually do, but to save memory I use one of my existing active objects or a global value or counter.

Similar Threads

  1. fast loops slowing game down
    By brawltaunts22 in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 15th April 2012, 12:12 PM
  2. Slowing down/Speeding up a character
    By EggoBleeder in forum The Games Factory 2 - Technical Support
    Replies: 9
    Last Post: 23rd April 2011, 07:10 AM
  3. Active overlay is REALLY slowing things down...
    By CASEY in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 12th May 2007, 10:18 PM
  4. Slowing down fastloop
    By Horn in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 6th January 2007, 08:13 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
  •