[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame]



On Mon, Apr 30, 2001 at 12:28:53PM -0700, David Clark wrote:
> Second, you'll find that scrolling by 1 pixel at a time is unnecessary
> - I tried scrolling in steps of four pixels, and it still looked
> perfectly smooth.

It can also be good to accelerate and decelerate the scrolling.

e.g. Move 1, 2, 4 then 8 pixels at a time each frame, then decellerate down to
4, 2, 1.

Nice and smooth.
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org