User Tag List

Results 1 to 6 of 6

Thread: help in timer

  1. #1
    No Products Registered

    Join Date
    Oct 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy help in timer

    Dear friends i am new in the MMF2 , i try to look in tutorials but i didn't find what i need , what i need is :

    i need two things to happen in same action but (Like if collision happen between car and cat )one to be direct(to stop the car ) and the other thing after certain of time (destroy the car )i try but it doesn't work ,,,, any help please .......

  2. #2
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,735
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)
    If I am understanding correctlty you wish to stop the car when it collides with the cat and then, some time after that, destroy the car.

    To achieve this, one way would be to stop the car on collision, and set an alterable variable to the current timer. Also set a flag on the car object to ON.

    Then, you need to do the following test:

    If flag 0 of car is on and stored time value < timer - 100 then destroy car.

    The timer counts in hundredths so 100 is 1 second.

    I hope that helps :

  3. #3
    No Products Registered

    Join Date
    Oct 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    thanks

    Yes my friend that what i need exactly and i understand the idea , it so easy but last question :

    is the Alterable Values in Values tab is the place to define the flags or not(in the properties of the object) and if not where can i define the flag ??? i saw in event editor when click right mouse button in alterable values there is flags but where i can add flag mainly thanks again ...

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JasonDarby's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4,938
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    There are two types of flags really...

    Global
    Local/Object based.

    Global are ones that you can place/create flags/values that you wish to use from anywhere in the app
    Local/Object based are ones that you apply to a particular object (such as a counter or active object), these ones can only be used on the frame where these objects reside.

    To access global values you need to click on the Application name in the workspace toolbar. and in the Properties windows, click on the values tab.. here you can add global values and strings.

    Hope that is what you were looking for.

    Jason

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Ramiab, the best way to explain this is looking at the code/events setup in the event editor when you are new to MMF or any game creator. Upload your mfa to this thread and I will code it for you and then I will send it back and you will see what was done to achieve what you want. I will also write in detail what I did,.so you understand it. I remember when I first started out making games and what not,.. and looking at all the controls, sub menus and names of everything in MMF, it was like looking at a new language. Very hard at first, but after getting used to what does what and why, it's not that hard anymore. Believe me,.when I look at some of the games on here that are coded by others,.I still don't understand some of it....LOL

  6. #6
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also, flags are numbered, not named. I really wish you could name flags, but you can't.

Similar Threads

  1. How do you Create a Global Timer as a Countdown Timer
    By redpandagames in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 23rd February 2017, 10:08 AM
  2. set timer
    By jaaj302005 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 3rd November 2011, 10:39 PM
  3. timer
    By jaaj302005 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th October 2011, 11:52 PM
  4. Timer.
    By weka in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th May 2009, 01:30 AM
  5. Timer bar
    By TwistidChimp in forum The Games Factory 2 - Technical Support
    Replies: 10
    Last Post: 22nd May 2007, 12:42 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
  •