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

Re: [pygame] Frame Per Second



Tham Ting Hoi wrote:
The size of the game's screen is 800, 600. My game only output a 800,600 background every frame and I've been experiencing low FPS(22) and i wonder if it's normal.

i would appreciate it if anyone could help me on this matter.

Thomas.

_________________________________________________________________
Take a break! Find destinations on MSN Travel. http://www.msn.com.sg/travel/



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. If you are updating only portions of the screen, look into 'dirty rectangle' processing. It can massively increase your frame rate.

--Kamilche