User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: how to make a counter display the FPS?

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

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    how to make a counter display the FPS?

    I know I've seen examples years ago, but can someone remind me how I would display the actual FPS of my game.

    (need to test speed on a mobile devise so I need it during actual runtime, not durring debug mode)

    thanks

  2. #2
    No Products Registered

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

    Re: how to make a counter display the FPS?

    With MMF2 you have an expression to get the FPS
    in MMF1.5 we used to have a counter, and always added 1 to it. Every one sec we had the FPS and set the counter back to 0.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: how to make a counter display the FPS?

    thanks much silly me, it was right under my nose as a built in feature.

  4. #4
    No Products Registered

    Join Date
    Apr 2010
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to make a counter display the FPS?

    Always->Set counter to FrameRate.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleMac Export Module
    dsilvers's Avatar
    Join Date
    Jun 2008
    Location
    Boston, MA
    Posts
    658
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: how to make a counter display the FPS?

    Gotta say, it's really nice to be able to run a game in HD and never see that counter drop below 60.

  6. #6
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: how to make a counter display the FPS?

    I'd never noticed that was under Frame expressions. That's good.
    Awesome! thank you!

  7. #7
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: how to make a counter display the FPS?

    The FrameRate expression is AFAIK only the desired framerate, NOT the actual framerate. If you wish to see the actual FPS, you need to do as before:

    always -> add 1 to some invisible counter
    every 1 second -> set visible counter to the value of the invisible one, and then reset the invisible one to 0.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: how to make a counter display the FPS?

    Not true! The framerate expression display the actuall framerate of the application. I know it, I programmed it!

  9. #9
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: how to make a counter display the FPS?

    Yeah, looking at my application - it certainly appears to give an accurate account of the actual framerate.
    I'd think it's marginally better performance-wise, using the Framerate expression too cos it's a function of the MMF2 engine, rather than constantly adding to counters.

    Good man, Francois!

  10. #10
    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,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Re: how to make a counter display the FPS?

    Which of the event that displays FPS is correct?

    - Always: Set counter to FrameRate

    - Every 01-"00: Set counter to FrameRate

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Active picture and counter won't display..
    By Earl in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 24th August 2012, 10:00 PM
  2. how to make counter display "+"
    By SolarB in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 4th August 2012, 06:08 PM
  3. Build 12: Counter Display Bug
    By Kisguri in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 22nd February 2011, 03:17 PM
  4. Counter Display Problem
    By zybers1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th June 2008, 12:52 AM
  5. Is have a counter with a larger display possible?
    By Mantoid in forum Multimedia Fusion 2 - Technical Support
    Replies: 31
    Last Post: 22nd July 2006, 11: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
  •