User Tag List

Results 1 to 8 of 8

Thread: Every 0:05 is not every 0:05

  1. #1
    No Products Registered

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

    Every 0:05 is not every 0:05

    Check this:
    www.voimalaitos.org/temp/every05.mfa

    The counter value does not increase as fast as it should be. I used many different FPS values and noticed that the speed depends on that. Why? I think "Every 0:05" should work like that no matter what the FPS is.

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every 0:05 is not every 0:05

    Because you're not using timer based which was introduced in the newest versions. You need to know your definitions on FPS, which actually means frames pro second. Now if there's more or less frames pro second, the program has no knowledge on whenever it is running too fast or too slow compared to the actual time. So if you had 1 fps then YES every 0:05 wouldn't be 0:05 but more like a second. The obvious solution to this is to use the timer based option which calculates everything independant on framerate but rather on some kind of magical time feature I have yet to discover.

  3. #3
    No Products Registered

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

    Re: Every 0:05 is not every 0:05

    Timer based movements is turned on?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every 0:05 is not every 0:05

    In case you haven't noticed, MechaBowser, it's called timer-based movements, not timer-based timers.

  5. #5
    No Products Registered

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

    Re: Every 0:05 is not every 0:05

    Well, any idea how to fix this? Timer should not depend on FPS...

  6. #6
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every 0:05 is not every 0:05

    Quote Originally Posted by Jaffob
    In case you haven't noticed, MechaBowser, it's called timer-based movements, not timer-based timers.
    My bad, I haven't actually looked into the timer based features as of yet, because it haven't had any signifient meaning to me.

  7. #7
    No Products Registered

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

    Re: Every 0:05 is not every 0:05

    I think my game won't work very well if "every 0:05" is not the same if I play the game on the computer which runs the game with 20fps or something...

    EDIT: I updated the example file and noticed that if I use

    every 0:10 -> + 10
    instead of
    every 0:05 -> + 5

    it works perfectly if fps is more than 10. And if it is lower than 10 then you don't really want to play the game anyway

  8. #8
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

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

    Re: Every 0:05 is not every 0:05

    Just speculating here, but I guess if the timer is faster than an Always event with the selected FPS, there's no way MMF2 can keep up with it accurately, as MMF2 only processes data as fast as the selected FPS.

Posting Permissions

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