User Tag List

Results 1 to 6 of 6

Thread: Recommended setting of "Timer-based Movements"

  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,817
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)

    Recommended setting of "Timer-based Movements"

    Hi,

    Please teach the recommended setting of "Timer-based Movements".

    Should I usually enabled this setting? or, should I disable it?

  2. #2
    Clicker Fusion 2.5HTML5 Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jul 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recommended setting of "Timer-based Movements"

    With timer based movements turned on, the speed of the built in movements and animations is unaffected by the framerate setting. So for example, you can set the framerate very high but the speed of objects remains unaffected. Keep in mind, that the timer based movements setting has no affect on the speed of custom movements, only the built in movements.

    I prefer to turn it off and only use machine independent speed. There is little reason to use extremely high framerates, because almost all monitors only refresh at 60 hertz. Also, the speed of animations seems to be less consistent with timer based movements turned on.

  3. #3
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,752
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Re: Recommended setting of "Timer-based Movements"

    A true alternative to "machine independent" option. The machine independent option works fine, but it does not have great latitude of working. It recovers application on machines slower by 25 -30% but above that, it begines to work badly.

    Timer Based Movement calculates the number of pixels to move based on the time elapsed since the previous loop. So if your application runs slowly, or fast, the speed of the objects on the screen will be exactly the same. The tolerance is really high. Some games are playable from 10fps to 100fps.

    The animations are also calulated based on the timer, so the animations will match the movements in timer based mode.

    A check box in the frame properties allows you to turn on and off the feature. If "off", the application will behave just as up to now. If "on", the movements will be timer based. To preserve the compatibility with games made before this system was in place, the default setting for such games is off. You can very simply turn it on, by ticking the box. When you turn that on you must enter the next property (movement timer base) the running speed of your application. If it runs at 60hz, then enter 60. If you set this property correctly, there will be no difference in your game or application before and after turning this feature on.

    If you create a new application, the property is setn "On" by default. The movement timer base is also very powerful. It allows you to modify the speed of all objects of the frame at once. For example, if you created your application with a movement timer base of 50 and you turn it to 100, all your objects will move twice as fast.

    The timer based movement will also be an invalueablefeature for HWA games, as the speed of the application depends very much on the graphic card. On some machines, your application will run at 60fps (frames per second), and on others at 100fps. With the timer based movement, the application will have the same game play.

    If you plan your application to run at various speeds, you must aviod using counters as timers, as the counters increment or decrement depends on the speed of the main loop, where as the movements depend on the the timer. If there is too much of a difference between them, the events in the game will become out of synce. You should use the timer instead.

    Some third party extensions my not be able to take advantage of this feature.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  4. #4
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,752
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Re: Recommended setting of "Timer-based Movements"

    A true alternative to "machine independent" option. The machine independent option works fine, but it does not have great latitude of working. It recovers application on machines slower by 25 -30% but above that, it begines to work badly.

    Timer Based Movement calculates the number of pixels to move based on the time elapsed since the previous loop. So if your application runs slowly, or fast, the speed of the objects on the screen will be exactly the same. The tolerance is really high. Some games are playable from 10fps to 100fps.

    The animations are also calulated based on the timer, so the animations will match the movements in timer based mode.

    A check box in the frame properties allows you to turn on and off the feature. If "off", the application will behave just as up to now. If "on", the movements will be timer based. To preserve the compatibility with games made before this system was in place, the default setting for such games is off. You can very simply turn it on, by ticking the box. When you turn that on you must enter the next property (movement timer base) the running speed of your application. If it runs at 60hz, then enter 60. If you set this property correctly, there will be no difference in your game or application before and after turning this feature on.

    If you create a new application, the property is set "On" by default. The movement timer base is also very powerful. It allows you to modify the speed of all objects of the frame at once. For example, if you created your application with a movement timer base of 50 and you turn it to 100, all your objects will move twice as fast.

    The timer based movement will also be an invalueable feature for HWA games, as the speed of the application depends very much on the graphic card. On some machines, your application will run at 60fps (frames per second), and on others at 100fps. With the timer based movement, the application will have the same game play.

    If you plan your application to run at various speeds, you must aviod using counters as timers, as the counters increment or decrement depends on the speed of the main loop, where as the movements depend on the the timer. If there is too much of a difference between them, the events in the game will become out of synce. You should use the timer instead.

    Some third party extensions my not be able to take advantage of this feature.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

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

    Re: Recommended setting of "Timer-based Movements"

    I have the impression to read François.

  6. #6
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,752
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Re: Recommended setting of "Timer-based Movements"

    With something that great it should be quoted.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

Similar Threads

  1. Own Timer-Based Movements [Examples]
    By Pharanygitis in forum File Archive
    Replies: 1
    Last Post: 3rd May 2013, 02:26 PM
  2. "Bug" For Saving and Loading Frame Positions AND "Timer Glitch"?
    By Zarpo in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th March 2012, 12:40 PM
  3. Platform Movement Object and Timer-Based Movements
    By DistantJ in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 18th February 2012, 03:44 PM
  4. Platform Movement Object and Timer-Based Movements
    By DistantJ in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 4th February 2012, 11:17 PM
  5. Please teach "Timer-based movements".
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th June 2009, 09:56 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
  •