I did some research and found this: Setting a fixed FPS in Pygame, Python 3 and this: pygame clock.tick() vs framerate in game main loop. It is similar to what I am asking.
So the clock.tick(FPS) caps the program to run at that FPS. The reason you do this is so you can control the FPS of the program and it makes it easier for time stuff like waits.
But how can I unlimited FPS and still control my FPS for time stuff like waits? From my understanding, this is not possible, due to the fact that clock.tick(FPS) caps the FPS and while not adding it in means unlimited FPS but you not being able to control the FPS.
So it seems to be a question of weather to cap you FPS for control or have your program run as fast as possible, but without control.
In conclusion, what I am asking is four questions;
- Pros and cons of capping your
FPS - Pros and cons of not capping your
FPSand going on with the naturalFPSof your program - Is it possible to have unlimited
FPSand still control myFPSfor time stuff like waits? - If so, how?