User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Start each objects movement individually

  1. #1
    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
    824
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)

    Start each objects movement individually

    I have some items I want to move up and down, but I want them to be triggered at the start of frame to start sequentially so they are all at different stages of the path movement to add visual variety, how can I use the "for each" to start each objects movement sucessively one after another? I'm using path to move the object up and down, sinewave didn't seem to be able to use relative amounts?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    You can do it in different ways, an example could be:

    1) start of frame >>> spread value 1 in an alt. value of your objects

    2) alt.value = timer / 1000 >>> start movement
    (this will start them sequentially, one each second)

    You can change the parameters of a sinewave movement during runtime with the "clickteam movement controller" object
    (I just discovered this few months ago... thanks mobichan!)
    or you can use a custom sinewave movement if you want additional control,
    it could be easy depending on what you want to do

    i.e.

    start of frame
    >>> set alt. value Y to Y(object)

    always
    >>> add sin(timer) * 8 to alt. val. Y
    >>> set Y position to alt. val. Y

    to slow down/accelerate the movement
    or increase/decrease the distance moved,
    divide "timer" by some amount or multiply sin(timer) by some different amount

  3. #3
    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
    824
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Thanks @schrodinger, that makes a lot of sense, I haven't tried the CT movement controller yet, just had a look at sinewave. Do you have an mfa file that would examplify this? I've tried value spreading in the past and I usually screw up when I try!

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    Here's a quick example of things mentioned in the post above:

    timed_sw.mfa

    Spread value will simply put an incremental value, starting from the number you spread, in each instance of your object
    so that if you have 5 objects, and you spread value 1, your objects will have individual values of 1,2,3,4,5

  5. #5
    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
    824
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    That's perfect thankyou! Is there a way to slow down the speed of the sine?

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    yes, you can divide "timer" by some amount,
    this will also stretch the range though,
    so you would have to divide the distance also if you want to keep a similar movement range

    i.e.

    Sin(timer) * 15

    can become:

    Sin(timer/2.0) * 7


    You could also use a value instead of "timer"
    and add to that value with the timing you prefer
    so you can alter the speed however you want

  7. #7
    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
    824
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    That works spot on for the speed and height, now I've tried this with a qualifier, I've converted the flag to using Alt value B as I'd rather use Alt values than flags, but all the objects are moving at the same time, it seems this only works with objects not qualifier groups?

  8. #8
    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
    824
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Also, each object that's offset sines higher or lower than each other, is there a way of having them look more like they're at different stages of the sine rather than being moved higher or lower with the same sine?

  9. #9
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    679
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    I would personally ditch using the actual Fusion Timer and instead opt for an alterable value that increases by 1 every frame and wraps at 360. You could easily set it to tick and wrap with an always event like so:

    Set value to (value+1) mod 360

    Then you could simply set the value to be whatever you want at start, and it'll begin at that position in the sinewave.

  10. #10
    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
    824
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    I know it's clique, but could you whip me up a quick example, I've not used mod before! :/

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Multiple duplicate objects overlapping, not individually responding to Qualifiers.
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 5th July 2012, 09:20 PM
  2. Using FastLoops to handle objects individually ( not working )
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th February 2012, 09:11 PM
  3. Objects shooting individually.
    By MangoMan in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 6th October 2011, 03:03 PM
  4. Treating objects in Qualifiers individually
    By Gunnar in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd January 2010, 07:28 PM
  5. Need to control copied objects individually
    By Bernardo3D in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 3rd October 2009, 12:18 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
  •