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

Re: [pygame] [Pygame] Smooth Animation

Hey, OP, you may want to read and/or outright use this library:  http://inventwithpython.com/pyganim/index.html

It has a partially written tutorial, but rather helpful examples.

On Thu, Nov 22, 2012 at 4:11 PM, Greg Ewing <greg.ewing@xxxxxxxxxxxxxxxx> wrote:
yannisv wrote:
Yes, I am. The problem is when I set the FPS to ~12, and use clock.tick(FPS)
inside the loop, that movement looks terrible (as expected). When I set the
FPS to 30 or 60, the movement does look better, but the frames change
extremely fast.

If you want smooth animation, you will need to create more
animation frames. There's no way around that.