User Tag List

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

Thread: Fastloop problem

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

    Exclamation Fastloop problem

    I have a problem that I can't seem to solve.
    Here is the events: https://dl.dropbox.com/u/4047131/MyPublic/ccc.PNG

    What I am trying to do is having all the blue characters (the one that is created on line 4) wear a hat. (the blue characters is represented by the apple qualifier).

    It works fine at the start of frame, all the 8 characters have a hat each.

    But if i press space to create a new character it all gets messed up, the hats change position and so on.

    What line 5 is doing is giving the new character an ID. Because all characters default ID value is "-1" i thought this would work. At start of frame the NewID global value is set to "8".

    I just can't understand why this works at start of frame but not when a new character is created?

    I spread the value 0 at start of frame in all characters so they have the values 0,1,2,3,4,5,6,7. And then when I create a new one he will get the ID 8 from the NewID..

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    You can avoid the headache by just putting an Always event above your fastloop trigger event and then always spread the value through the objects.

    You also have an issue where you're spreading the value through the hats AFTER you've run the main hats fastloop... you need to put spread values in separate events from the start of their respective fast loop, and you also need to make sure spread value goes before the fast loops because otherwise it's going to spread the value afterward which means it will still work in this situation but only on the second frame at the start. (since it didn't spread any hat values the first time the fastloop runs)

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Order of events should be like this:


  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Also, you don't need fastloops for this at all. Use the automatic pairing feature in MMF.

    http://www.diybandits.com.au/MMF/tut...nstances5.html

  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,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the answers Konidias I will try this! The strange thing is that it was ChrissBurrows (the guy who wrote that article) that said to use fastloops for this hmm...

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    You're welcome. Hmmm maybe he knows something I don't? :p

    You can probably get away with just using the fastloop method to be honest. Just make sure you follow proper event order. The spread value/fast loop thing is a bug with MMF, which I guess not everyone knows about, but yeah... you can't spread value and also start the fast loop in the same event... it just breaks.

  7. #7
    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,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Konidias View Post
    You're welcome. Hmmm maybe he knows something I don't? :p

    You can probably get away with just using the fastloop method to be honest. Just make sure you follow proper event order. The spread value/fast loop thing is a bug with MMF, which I guess not everyone knows about, but yeah... you can't spread value and also start the fast loop in the same event... it just breaks.
    I actually tried this other method now, and its the same problem :P it works at start of frame, but as soon as i create a new object it mess up :S https://dl.dropbox.com/u/4047131/MyPublic/new.PNG

  8. #8
    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,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Ok now i am getting more confused :S I have an example here where I have managed to make it to work.. but only in the first event group. If I disable the first even group and enable the second it does not work?:S:S Even though they are the same, apart from which character is spawned (they are part of the same qualifier!)
    Attached files Attached files

  9. #9
    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,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    omg.. im going crazy over this. Ok so now i tried to looping thing again. And it works, except for the first and third time an object is created.. what is this?? Am i missing something because i am totally confused at this point. (Oh wait... maybe I forgot to set global value A to 8...)
    Attached files Attached files

  10. #10
    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,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Ok I *think* I got it to work with the fastloops. The problem now is that I cant get it to work if I destroy one of the characters and its hat..
    hmmm.mfa

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Fastloop Problem
    By Brosephus in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th March 2013, 10:33 PM
  2. Problem moving to layer in fastloop
    By mikec in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 13th November 2011, 11:41 PM
  3. Fastloop logical problem
    By Tiles in forum File Archive
    Replies: 5
    Last Post: 18th August 2009, 11:16 AM
  4. fastloop problem
    By maVado in forum File Archive
    Replies: 3
    Last Post: 6th January 2008, 01:14 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
  •