User Tag List

Results 1 to 5 of 5

Thread: Timer Good to .02 Seconds

  1. #1
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Timer Good to .02 Seconds

    I've been trying to make a counter into a timer with start, stop, and reset buttons that would be able to measure to a hundreth (or 0.02) seconds. So far I have not had any luck. Anyone have some ideas?
    Thanks,
    Steve

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

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

    Re: Timer Good to .02 Seconds

    The frame rate defaults to 50 cycles a second. So it limits you to one fiftieth of a second. Change the frame rate to 100, and, depending on your PC and the amount of graphics you're throwing around the frame, you'll get hundredths of a second.

    I wouldn't want to use this method for anything safety-critical...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Timer Good to .02 Seconds

    timer object (if its ported) ?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Timer Good to .02 Seconds

    It's fine if it the clock increments in one fiftieth of a second or 0.02 sec. The timer object gave me the hundreds of a second but kept repeating 1 to 99 then back to 1 to 99. I want the clock to show 1.54 then 3.56 seconds etc. And I am having trouble getting that.
    Thanks,
    Steve

  5. #5
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Timer Good to .02 Seconds

    Use the "timer" expression in MMF, it's the time since the start of the app in 100ths (I think) of a second. Just store it when they press start, and then always set the visible counter to (timer-start)/100.0

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. Where is a good place to get good sounds?
    By delta9857 in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 24th November 2010, 11:34 PM
  3. Mili seconds = seconds ?
    By Johnny in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th November 2009, 07:30 PM
  4. Seconds to Days, Hours, Minutes and seconds
    By dingdong in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st April 2007, 07:30 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
  •