logo       

Re: PyGame slowdown: msg#00213

python.pygame

Subject: Re: PyGame slowdown

I have no idea what he was doing without seeing his code.

23fps for a 2D game is not unheard of on a slow machine. I have
played pygame 40fps+ games on my p166mmx laptop before it died a few
months ago.

I wouldn't worry about it unless you want to fix his code. In which
case use the profiler to check out where the slow down is. Also check
the memory usage.


On 9/27/05, Jason <jason-3nD9h6jMH12LEA3gh/Afxlpr/1R2p/CL@xxxxxxxxxxxxxxxx>
wrote:
> I'm not at a stage where I can comment properly on this, but I hope to
> be in a few weeks time, however...
>
> I've read recently on the gamedev forum about someone who had created a
> game and was reportedly getting a FPS of about 5k.
>
> When he FLIPped the screen, the FPS dropped down to a mere 23fps.
>
> He minimised the window, back up came the FPS to between 3k and 5k.
>
> Is this a common thing, or is he
>
> a) Don't want to use the word 'lying', but perhaps not getting his facts
> correct
>
> b) Doing something horrifically wrong with his code
>
> c) Doing everything ok and that's just how the cookie crumbles!
>
> The response he got was pretty good, saying that he needed to check the
> profiler to see where the slowdown was, but I was wondering of the
> PyGame authors knew of this problem and had any performance tips or
> maybe any updates to PyGame.
>
>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise