User Tag List

Results 1 to 4 of 4

Thread: TIMER is different on different device ( phone and tablet)

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 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)

    Join Date
    Jul 2006
    Location
    ITALIA - garda lake
    Posts
    105
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    TIMER is different on different device ( phone and tablet)

    I have a problem with my game : http://community.clickteam.com/entries/702-TOUCH-RACING-W-I-P-android-games

    I have insert a counter for the lap time : every 001 cent (1/100) add 1 to counter, but the time is different on different device.

    On ASUS memo pad HD 7 quad core is slow : lap time = 490
    On mediacom phonepad s500 quad core is veri fast = 880

    Where is the problem?

    Thank you very much

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 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)

    Join Date
    Jul 2006
    Location
    ITALIA - garda lake
    Posts
    105
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Set FPS frame to 30
    Always set counter "lap time" to 100/FPS
    so everything seems ok!

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    I dont understand.
    You are using the real "Timer" object of Fusion, or the Click object?
    Both use directly the system time of the machine!

    If you use a counter that you increment at each loop, it is different. The number of loops (FPS) of the game mightbe different on different devices (like 30 frames per seconds on one, 60 frames per seconds on another).

    So, basically, what are you using?

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 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)

    Join Date
    Jul 2006
    Location
    ITALIA - garda lake
    Posts
    105
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you.
    I use "the timer" set to every 100/1 :

    "New condition -> the timer -> every 1 - 1/100 -> add 1 to "counter lap""

    In this mode the "COUNTER LAP" is different on different devices.

    I solved it in this mode :

    ALWAYS : add 100/FPS to counter. On different device the lap time is equal.

    Here a example APK corectly : https://www.dropbox.com/s/rs60jxnnav..._TIME.apk?dl=0

    Thankyou very much.

Similar Threads

  1. Replies: 10
    Last Post: 28th April 2014, 04:05 PM
  2. Buttons appearing differently on phone and tablet
    By Klownzilla in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 2nd April 2014, 11:35 PM
  3. Determine if device is a phone
    By Keith in forum Android Export Module 2.5
    Replies: 2
    Last Post: 22nd March 2014, 03:39 PM
  4. Android Automatic Screen Rotation and Resolution optimization phone/tablet
    By alperoz49 in forum Android Export Module 2.5
    Replies: 2
    Last Post: 10th March 2014, 08:33 AM
  5. Ways to get APK on phone / device
    By iamjot in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 18th March 2013, 11:03 AM

Posting Permissions

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