User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 26

Thread: Questions about a new fast loop

  1. #11
    Clicker Fusion 2.5 DeveloperiOS Export Module
    Czentnar's Avatar
    Join Date
    Jan 2007
    Location
    Budapest, Hungary
    Posts
    819
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Questions about a new fast loop

    For example: card games would be easier to make?
    This would be a useful feature.

  2. #12
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Questions about a new fast loop

    This sounds like a great additional feature. Question 2 sounds like it could benefit from having both features available, but with some way to set which method (I liked Dynamite's idea of using "0" or "1").

  3. #13
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Questions about a new fast loop

    Quote Originally Posted by Benicle
    As far as the options, I agree with Dines - that would work pretty much perfectly.
    Lol, I'm the only Dines here! (looks around suspiciously)

    This is a great idea, I'm all for it!

    Do both options, just like OR, but make the descriptions clear (the descriptions for OR aren't that self-explanatory I found).

    Also, I think as said before, a name suggesting its FOR-like nature would be good, but not just a For loop. Maybe just:

    "For Each Object"

    That would leave space if you later choose to implement a full For loop, as handled by other programming languages.


    Would the loop need to be called, or is there an option to just let it run inline? E.g. which would be more likely:

    A)
    Always
    --- For Each Object "Something"

    For Each Object "Something"
    --- (some code)

    B)

    For Each Object "Something"
    --- (some code)


    I'm personally keener on B. You could determine when it runs by just shoving some conditions in it. Although I should imagine it may be trickier to do in coding terms, as the FOR loop would need to function as both a Triggered event and a Fake event (I can't remember what we call non triggered ones).

    In other words, it would need to sense its own activation when the parser reaches it, execute its actions, and then retrigger itself as a fastloop until all selected objects were parsed.

    Hmm

  4. #14
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2006
    Location
    Near Nantes (Brittany)
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Questions about a new fast loop

    Yes, an object fast loop would be useful. And I would prefer the option 1. Even though I think that it could create problems that we can't imagine yet (and they would be difficult to debug) : "Why doesn't my loop work ???... Oh my god it's because my condition is far too restrictive when I call it, and I need to test all the objects !"
    I'd rather you just create the first option. If I need the second one, I can use the traditional fastloops...

  5. #15
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Questions about a new fast loop

    definitely option 1; option 2 could just be a "Reselect All" action as Random said

  6. #16
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Questions about a new fast loop

    Yes, an optimised ForEach condition would be excellent. Not sure I understand the questions about options though.

    Question 1:

    * ForEach "Active1"
    + Where "Active1" alt value A > 10

    compared to

    * Where "Active1" alt value A > 10
    + ForEach "Active1"


    I'd expect the first example to loop through all Active1's and compare each one with alt value A > 10.

    Would the second example, would the ForEach still loop through all Active1's or would it loop through only those returned by the condition "Where Active1 alt value > 10" ?


    Question 2:

    Probably yes but if you have more than one 'ForEach "Active1"' events in a frame, would MMF group all the same ForEach's in a list, get the first Active1 instance then run through all these events and actions, then get the next instance and repeat so that it only processes the list once? Or would each ForEach event run through a loop of all objects for each one ? Confusing!
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  7. #17
    Clicker iOS Export ModuleSWF Export Module
    Giovanni_Cardona's Avatar
    Join Date
    Jun 2007
    Location
    San Juan, Puerto Rico
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Questions about a new fast loop


    Answer to #1: Yes please
    Answer to #2: Both please, you can call it "foreach object loop" for the second option?

    Object loop will be a great addition to MMF.

    Do you think is possible to have a EventGroup-Loop?

  8. #18
    Clicker iOS Export ModuleSWF Export Module
    Giovanni_Cardona's Avatar
    Join Date
    Jun 2007
    Location
    San Juan, Puerto Rico
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Questions about a new fast loop

    Woa, Andy, did you just replaced "Condition" words with "ForEach" in your message? glad you liked "ForEach" too!

  9. #19
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Questions about a new fast loop

    Quote Originally Posted by Giovanni_Cardona
    Woa, Andy, did you just replaced "Condition" words with "ForEach" in your message? glad you liked "ForEach" too!
    well it basically is a for each loop so

  10. #20
    Clicker iOS Export ModuleSWF Export Module
    Giovanni_Cardona's Avatar
    Join Date
    Jun 2007
    Location
    San Juan, Puerto Rico
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Questions about a new fast loop

    Thanks!

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. Instead of Fast Loop
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 5th November 2010, 04:08 AM
  2. fast loop and loop index
    By willow in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th May 2010, 01:43 AM
  3. Fast loop within fast loop - platform game
    By Safe in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 16th April 2010, 07:38 AM
  4. fast loop
    By jhonson in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 17th November 2008, 09:18 PM
  5. Fast Loop - How do you use it?!
    By jonjoyceuk in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 31st May 2008, 02:47 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
  •