Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog

Basics

1 Star2 Stars3 Stars4 Stars5 Stars (9 votes, average: 4.22 out of 5)
Loading ... Loading ...

Display the FPS ( Frame per Second) values in a separate HUD.
Use this script freely to check your exported application’s performance.
Author : Makkar





The steps to use it:

1. import the ste into your current project
2. drag and drop FPS_Display_Main AI into the Game/MainUserAi window
3. drag and drop FPS_Display HUD into Game/Resources
4. open FPS_Display_Main/onInit to customize the script

Why the counter never really goes bellow 10 frames per sec ?

The frame rate is clamped, because the maxFrameTime is set to 0.1 by default.
You can change this value, for example:

application.setMaxFrameTime (  0.5 ) //FPS > 2

Leave a Reply

You must be logged in to post a comment.