fpsclock tick(fpslook at that animated cat gothis program will be much more of commercial success than my game--look at this rock different rock|frames per second and pygame time clock objects the frame rate or refresh rate is the number of pictures that the program draws per secondand is measured in fps or frames per second (on computer monitorsthe common name for fps is hertz many monitors have frame rate of hertzor frames per second low frame rate in video games can make the game look choppy or jumpy if the program has too much code to run to draw to the screen frequently enoughthen the fps goes down but the games in this book are simple enough that this won' be issue even on old computers pygame time clock object can help us make sure our program runs at certain maximum fps this clock object will ensure that our game programs don' run too fast by putting in small pauses on each iteration of the game loop if we didn' have these pausesour game program would run as fast as the computer could run it this is often too fast for the playerand as computers get faster they would run the game faster too call to the tick(method of clock object in the game loop can make sure the game runs at the same speed no matter how fast of computer it runs on the clock object is created on line of the catanimation py program fpsclock pygame time clock(the clock object' tick(method should be called at the very end of the game loopafter the call to pygame display update(the length of the pause is calculated based on how long it has been since the previous call to tick()which would have taken place at the end of the previous iteration of the game loop (the first time the tick(method is calledit doesn' pause at all in the animation programis it run on line as the last instruction in the game loop all you need to know is that you should call the tick(method once per iteration through the game loop at the end of the loop usually this is right after the call to pygame display update( fpsclock tick(fpstry modifying the fps constant variable to run the same program at different frame rates setting it to lower value would make the program run slower setting it to higher value would make the program run faster