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

Re: [pygame] Re: SDL 1.3 blit speed



Hi DROID,

The pygame.examples.scroll demo shows the Surface.scroll method in action. Scroll shifts the pixels on a surface, so only the new parts have to be blitted on.

Lenard Lindstrom

On 23/07/11 09:22 AM, DR0ID wrote:
[snip]
I'm not sure how the scroll method is implemented (since actually one could do a blit on the same surface, but this would mean that you do two fill screen blits each frame).

Any suggestions welcome.

Thanks.

~DR0ID