Using 1/TimeDelta() doesn’t provide much info as the only values returned are around 59.997 or around 30.997… Numbers are harder to read the more FPS fluctuates.
I am rounding it up, I forgot to mention it. But the issue is not about decimals anyway. It is about that the only values displayed are 60 (no drop) or 30 (big drop).
I just tested it out with just a text box
the same "FPS: " + ToString(round(1/TimeDelta()))
And it’s working just fine.
There is no flat rates of 60 and when it drops it picks it self back up pretty quickly but still in whole numbers.
So, right now, It dropped down to 30fps and in a couple of seconds, it climbed back up to 60fps (ex. 31,36,37,40,48…etc)
I am not sure what you are doing for it to be displaying just 60 or 30. Are you adding anything else to the fps counter*?
Yup thats what I thought, I saw some older post where you mentioned it before and it says on Wiki too. Thats why I asked if im doing something wrong with the other two suggestions. Because it seems they worked for people in the mentioned post.