User Tag List

Results 1 to 3 of 3

Thread: "timer" limit?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    Lacey, WA
    Posts
    756
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "timer" limit?

    What happens to the "timer" variable (Timer count in 1/1000 seconds since start of frame) when it reaches its limit of 2147483647 after approximately 24 days of an application running?

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    It would wrap according to the C/C++ standard.
    2147483647 is the maximum of a signed integer, thereby it would wrap to -2147483648 and count up from there.
    You should check out my C++ blog at some point

  3. #3
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    It may be internally stored as a larger or even unsigned type, however, so internal timer-related functions may still work fine.
    Working as fast as I can on Fusion 3

Similar Threads

  1. "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
  2. Beta4/SDK4.1: "Timer equals" not working for me
    By BHGames in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 30th October 2010, 02:05 AM
  3. Recommended setting of "Timer-based Movements"
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 6th December 2009, 03:23 PM
  4. 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
  •