how to increase frame rate pygame code example Example: pygame how to regulate fps clock = pygame.time.Clock()