[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Substantial Lag

I would use builtin pygame clock, coz' no need for manual control of the frame rate.

2012/2/13 Ryan Strunk <ryan.strunk@xxxxxxxxx>

From: owner-pygame-users@xxxxxxxx [mailto:owner-pygame-users@xxxxxxxx] On Behalf Of Vovk Donets
Sent: Sunday, February 12, 2012 10:12 PM

To: pygame-users@xxxxxxxx
Subject: Re: [pygame] Substantial Lag


> If you, by any chance, need this then for C++ like delay in miliseconds you can use .sleep() function from time module.

Is there a need for me to build that in, or is Pygame good at giving up the processor from time to time?

Vovk Donets
 python developer