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

Re: [pygame] Substantial Lag

No need for this!

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

From: owner-pygame-users@xxxxxxxx [mailto:owner-pygame-users@xxxxxxxx] On Behalf Of Vovk Donets
Sent: Monday, February 13, 2012 1:48 AM

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


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

I looked at the documentation, and it said that tick was used to manually slow down the game. I don’t need to do that, so I can leave that out. Thanks for setting me straight on that.

In order to save CPU power, do I need to put in a pygame.time.delay(10) at the end of my event loop?

Vovk Donets
 python developer