Just wondering, right now of course there’s nothing really being drawn, just forcing a bar back and forth across the screen to catch lags.
But, it is telling me that the current fps is at 980+?
Here is the method, it’s being called upon the first loop.
public void updateFPS() {
currentFPS ++;
if (System.currentTimeMillis() - start >= 1000) {
FPS = currentFPS;
currentFPS = 0;
start = System.currentTimeMillis();
}
}
public void cycle() {
updateFPS();
System.out.println("FPS: "+FPS);
}
Now I’ve made a couple of projects, and the FPS usually turns out from 20-70 highs of 140, so i’m thinking this is wrong, can someone confirm?
What should the average fps be?
Maximum, minimum, average?