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

Re: [pygame] Pygame: Fixed timestep demo?



Basically, just use pygame.time.Clock to maintain a constant framerate.

On Mon, May 2, 2011 at 5:40 AM, Jake b <ninmonkeys@xxxxxxxxx> wrote:
What's the suggested way to use a fixed time step in pygame? I want to
verify I'm using the right method. I want it for the case when you're
not using a physics lib.

( There's resources at gaffer, and stackoverflow,  )
but none specifically pygame that I found.

Do you know of an example?

--
Jake