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

Re: [pygame] Why does my ball vibrate?



a while ago someone said that the ball speeding up and slowing down "randomly" was because it was based on the time elapsed every frame and that time varies because if other tasks are being run then the cpu is executing both threads so it doesn't spend all of its time in your game.

But then what workaround is there for physics simulations that are based on time?