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

Re: [pygame] Frame Per Second



On Sunday 12 March 2006 17:13, Kamilche wrote:
> Yes, that's normal. If the entire background is moving, as in a
> scrolling game, there's no help for it - that's your maximum frame rate.

well you can easily use OpenGL the get the load of moving images the to 
graphics card,

many people have written utilities to be used with pygame for that, some even 
implementing the pygame sprite e.g. API for it. see the archives of this list 
if you are interested in trying those out.

> If you are updating only portions of the screen, look into 'dirty
> rectangle' processing. It can massively increase your frame rate.

yep, plain SDL can well drive fun games with the nice dirtyrect blit system in 
pygame.

> --Kamilche

~Toni