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

Re: [pygame] Weird lag

Are you re-creating the font surface every frame? Or are you cache-ing the .render() output to .blit() ?

On Sat, Feb 28, 2009 at 4:21 PM, Daniel Mateos <daniel@xxxxxxxxx> wrote:
Hey again,

      3615    0.160    0.000    0.160    0.000 {method 'render' of
'pygame.font.Font' objects}

Any help or suggestions for better profileing/tracking down the lag
would be good :)

Daniel Mateos