User Tag List

Results 1 to 8 of 8

Thread: Bug: Fastloop

  1. #1
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bug: Fastloop

    This is a little app wich show you where is the bug with Fastloop. It seems that this bug is since B243 because I've don't seen it before.

    Press enter in the application and then read explanations in event editor.
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug: Fastloop

    Yes its a bug :/ I worry about MMF2 since these bugs are "game killers". I doubt I will update to 243 in next month..

    Workaround:
    Have two conditions Enter pressed. The first destroy actives. The second run the loops. Works fine..But I know it should work this way

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,559
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Bug: Fastloop

    Short answer: Loops like to be the only action in an event.

    Long answer: Some actions that are listed prior to the loop start action, for example to destroy an object, don't get done straight away. Instead the MMF2 runtime sets a marker to remind itself that the action should be performed later, but the loop makes MMF2 forgetful and by the time it gets to the action it doesn't remember the correct instances to affect.
    .:::.Joshtek.:::.

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,304
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Bug: Fastloop

    Joshtek is right. Move the Start Loop function to a separate event to avoid any conflict with the Destroy action.

    This problem is not specific to the build 243, I've just tested it with the build 242.

    Yves.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug: Fastloop

    I know the workaround but I think no MFA has illustrated this bug. So maybe it could be corrected in a later build release.

    The bug about fastloop wich lost object selection is known and maybe complicated to correct but why the start of a fastloop is not done in the good order ?


  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,559
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Bug: Fastloop

    Every 1/50 of second, the Fusion's engine does the following :

    1. Checks the player inputs
    2. Animates the objects one by one
    3. Checks the timer events
    4. Performs the other events
    5. Destroys the marked objects
    6. Displays the screen, updates the sound buffers
    7. Handles Windows messages, and regulates loop speed
    8. Checks for end of loop, and jumps to 1 if frame not finished.
    Source: Getting the most of Multimedia Fusion's runtime engine.
    .:::.Joshtek.:::.

  7. #7
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, ┼rhus
    Posts
    3,457
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Bug: Fastloop

    And the even more technical explanation:

    Each event has a "selected objects list" were MMF2 remembers which objects it should affect if all conditions are true.
    Each condition can remove objects from the selected objects list if the objects doesn't meet the condition ('Object overlaps obstacle' condition will remove those from the list that doesn't overlap).
    This list of objects will then be used when you call actions on your objects.
    That is the reason why MMF2 only destroys the objects you specify with the conditions.

    But as Joshtek said MMF2 gets forgetful. Starting a loop makes MMF2 reset this list you just build up with your conditions and by the time the loop is over and gets back to complete your original event, MMF2 has no idea which objects to use anymore.

  8. #8
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeň, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug: Fastloop

    Quote Originally Posted by Yves
    This problem is not specific to the build 243, I've just tested it with the build 242.
    You're so right about that!
    This has been around since MMF1.5 so it's nothing new... and to be honest, it doesn't bother me much at all... you get kind of used to it

Similar Threads

  1. Can a Fastloop run within another Fastloop?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 18th November 2011, 11:48 PM
  2. Fastloop Issue
    By Teh_Purple_d00d in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 19th September 2011, 08:08 PM
  3. trying to loop a fastloop
    By willy in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 31st May 2008, 08:21 PM
  4. fastloop help
    By falkon in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th April 2008, 11:14 PM
  5. Fastloop bullets example
    By DavidN in forum File Archive
    Replies: 3
    Last Post: 22nd April 2007, 12:13 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
  •