I have a problem calculating the fps of my game.
I have a checktime method checking how many times the update() method is called within a second.
Is this the right way to have the fps?
This checktime method is just after the update() method and has an incrementer and when 1001ms are passed the method will return the number of fps.
If my isometric engine is drawing only the grid of the game (made with polygons) the fps are over 100 but I fill my map with grass tiles the fps slow down to 17-18.
Is that possible?
Please note that the grasstiles are loaded only one time as an ImageIcon and the preloaded with a MediaTracker.
I guessed that I had an error writing the fps code a because isn't possible that a small filled grid can go down to 17fps on a P4 2.8Ghz 512mb..