User Tag List

Results 1 to 6 of 6

Thread: What is Immediate conditions?

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    What is Immediate conditions?

    What is Immediate conditions(Red color condition in Event editor)?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: What is Immediate conditions?

    They are triggered. You can't negate them.
    E.g. "User clicks within area XY" is an immediate condition, since it's triggered once - when the player clicks within the area.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: What is Immediate conditions?

    Have a look here: Red line events question

  4. #4
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Re: What is Immediate conditions?

    What meaning is "Immediate"?

    The operation result is the same regardless of the condition in the first(Red) or the second(NOT Red).

    _________________________
    Sorry, my bad English.

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

    Re: What is Immediate conditions?

    "Immediate" as in "immediately".

    Normal events in MMF are checked periodically (50 times per second) to see if something should happen.
    Immediate events happen completely independently of the normal events.

    If you try to use fastloops, you will see that while a fastloop is running, no other events are running until the loop has finnished.
    That is because fastloops are finnished immediately after you tell the loop to start, only then can the game/app continue to run.

    Other immediate events are when the user presses a button or clicks the mouse. You will see that it doesn't matter where in your entire list of events you put those immediate events, the outcome will always be the same.

    For example theese events:

    Code:
    Always: set counterA to 1
    Always: set counterA to 2
    Always: set counterA to 3
    On clicked with right mouse: set counterB to the value of counterA
    Will act just the same as:
    Code:
    Always: set counterA to 1
    On clicked with right mouse: set counterB to the value of counterA
    Always: set counterA to 2
    Always: set counterA to 3
    In both examples "counterB" will have the value of '3' even though it doesn't look like it in the last example. That is because MMF checks for mouse clicks at the end of each run though the event list (50 times pr second by default).
    So in that sense, the immediate events was triggered immediately when MMF detected the click (in this case at the end of the event list)

  6. #6
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: What is Immediate conditions?

    You can learn more about true and fake events in an article titled "Getting the most of MMF runtime engine" written by François.
    There's more articles and tutorials in CT's learning resources page.

Similar Threads

  1. Less VS More conditions
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th December 2011, 09:24 AM
  2. Two conditions for one event?
    By delta9857 in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 5th November 2010, 07:38 AM
  3. Conditions for a Rebootrequest
    By Fritz_Bilda in forum Install Creator and Patch Maker
    Replies: 3
    Last Post: 6th October 2010, 11:08 AM
  4. AND conditions
    By maestro1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 24th February 2008, 08:11 AM
  5. AND OR conditions
    By Golds in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th September 2007, 01:21 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
  •