How to print current FPS?

Hey Guys,

I'm wondering how to print your current fps. I know it's displayed in the window but I want to print the fps in the console or write it into a textfile.

I searched the forums but hard to find the answer because there are too many topics containing "fps" :slight_smile:



try to look into de source code from the jmetest packages.

look at Timer.getTimer() :slight_smile:

ahh… perfect,

Thanks a lot !