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

RE: [pygame] Substantial Lag

From: owner-pygame-users@xxxxxxxx [mailto:owner-pygame-users@xxxxxxxx] On Behalf Of Christopher Night
Sent: Sunday, February 12, 2012 7:07 PM
To: pygame-users@xxxxxxxx
Subject: Re: [pygame] Substantial Lag


> You're only updating 5 frames a second, so yu should expect delays of up to 0.2s, and if you tap the key fast enough it won't register. Why not change the 5 to 50 or something?

That’s good to know. I was thinking it was like the wait function in C++. I didn’t realize that was how many frames it updates; I thought that was how many milliseconds it paused.

Thanks a ton,