User Tag List

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

Thread: Any ways to set an action for Wait a certain time?

  1. #1
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)
    BackStaged's Avatar
    Join Date
    Aug 2010
    Location
    France
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Any ways to set an action for Wait a certain time?

    ------------------------------------- EN FRANCAIS:

    Ok, j'explique mon souhait, actuellement j'écris une simple application dans MMF2 qui est basée sur une action chronométrée quand une image est prise par l'objet de l'extension Surface qui la sauvegardera alors.

    Je veux que MMF2 fasse une pause (PAS vraiment une pause, mais une fausse-pause) avant l'action de SAUVEGARDE. (et dans la même condition).

    Donc, je veux que MMF2 attende disons.. 10 secondes

    Imaginez ce comportement:

    + Quand l'Objet est Cliqué
    - MET EN PAUSE L'APPLICATION POUR 10 SECONDES <---- c'est là que je ne peux pas faire en sorte que les choses fonctionnent sans geler toutes les animations des objets actifs.
    - SURFACE SAUVEGARDE L'IMAGE (capture de zone).

    Merci!



    ------------------------------------- IN ENGLISH:

    Ok, I explain my wish, actually I wrote in MMF2 a simple application which is time action related when a picture taken by the Surface object is saved.

    I want MMF2 take a pause (NOT really a pause, but a fake-pause) before the SAVING action. (in same conditions).

    So, I want MMF2 wait for a ... 10 seconds

    Imagine that behavior:

    + When Object is Clicked
    - PAUSE THE APP FOR 10 SECONDS <---- it's here I can't do the things work without freeze all active objets which is animated.
    - SURFACE SAVE THE PICTURE (zone-based)

    Thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jan 2013
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure what your layout look like, but:

    Put everything in a group, ( ill call it 'runtime' ) and create an empty group (ill call it 'resume')

    'Inside Runtime'
    + When Object is Clicked
    - Set timer to 0
    - Activate 'Resume'
    - Deactive 'Runtime'

    'Inside Resume'
    + If timer equals 10
    - SURFACE SAVE THE PICTURE (zone-based)
    - Activate Runtime
    - Deactivate Resume

  3. #3
    Clicker Fusion 2.5Mac Export Module
    Zem's Avatar
    Join Date
    May 2012
    Location
    UK
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe i've missunderstood but what about the Delay function?

  4. #4
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)
    BackStaged's Avatar
    Join Date
    Aug 2010
    Location
    France
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Interesting way HadHaw, thanks I will perhaps use your trick!

    Zem: what is it ? An extension ? Where I can find it? Thanks too

  5. #5
    Clicker Fusion 2.5Mac Export Module
    Zem's Avatar
    Join Date
    May 2012
    Location
    UK
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi BackStaged i'm at work so i can't check at the moment but i think its part of the object that you create fastloops from, i think it is actualy called "restrict actions..." and is on the menu with other functions such as 'repeat x times', 'only one action when event loops' and another function i can't remember right now.

    Hope this helps

  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)
    If you're wanting to basically pause your app, the best available method is the group enable/disable method as describe above. Just remember that this doesn't disable animations, looping sounds, or movements.

    You'll need to also stop the animations, sounds and movements separately.

  7. #7
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)
    BackStaged's Avatar
    Join Date
    Aug 2010
    Location
    France
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Zem: Hey, thanks for the tips, I now managed to make a true fonctionnal method like yours!


    I manage to make a functionnal method like that one given by Zem: It is the use of an extension named Function EggTimer, which permit delayed event !
    Greatly working like that!

    500 event loops is: 10 seconds (BECAUSE my APP run at 50 Frame Per Seconds, and in Function EggTimer, a stack of FPS is 1 second in reality).



    Workflow like that:


    + When Object is Clicked
    - *** My events here...
    - Call "waitSaving" after 500 event loops


    and in an another Condition-based event

    + On function "waitSaving"
    - SURFACE SAVE THE PICTURE (zone-based)

  8. #8
    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)
    Oh... well heck, you don't need to have an extension for that.

    Just do

    + Some value < 500
    - Add 1 to some Value

    + Value = 500
    - do actions

  9. #9
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)
    BackStaged's Avatar
    Join Date
    Aug 2010
    Location
    France
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm, interesting way aswell, perhaps change my mind about my method, so.. If it is so easy as hell, why MMF2 don't have a Built-In action like that ^^ ? Thanks

  10. #10
    Clicker Fusion 2.5Mac Export Module
    Zem's Avatar
    Join Date
    May 2012
    Location
    UK
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by BackStaged View Post
    Hmm, interesting way aswell, perhaps change my mind about my method, so.. If it is so easy as hell, why MMF2 don't have a Built-In action like that ^^ ? Thanks
    it does under the Special object ^^, that is the object i was referring to earlier

    Attachment 10049 which then leads to Attachment 10050

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Using Time X to delay an action...
    By 38cjc38 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 20th October 2011, 12:43 AM
  2. Wait X amount of time? and score issues...
    By Shmuper in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 4th April 2010, 10:36 PM
  3. How to wait a certain amount of time?
    By n89 in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 3rd January 2008, 08:29 PM
  4. Bug R243 - Timer action set time.
    By joewski in forum File Archive
    Replies: 0
    Last Post: 26th January 2007, 03:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •