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

Re: [pygame] Re: Paralax snow flaks: Some tipps for enhancing theperformance?



On Tue, 4 May 2004, Ludwig Auer wrote:
> Thank you! Now the Dirty Rectangles Methode works...
> But i must say, that the performance is lower than in the normal one
> 
> Windowed I get 57 without Dirty Rectangles, in Fullscreen 15
> With the Dirty Rectangles the fps are 37 Windowed and 11 in Fullscreen 
> (with an unexplainable flickering in fullscreen)...

Your problem is that you call BOTH pygame.display.update and 
pygame.display.flip in your main loop. Remove the flip and things should 
work better.

--
Sami Hangaslammi