DEV Community

Iano Njuguna
Iano Njuguna

Posted on

Answer: pygame.time.clock() or pygame.clock.tick() error

To use the pygame clock:

clock = pygame.time.Clock()

Then,

clock.tick(60)

Top comments (0)