Comment 3 for bug 514236

Revision history for this message
Daniel Bell (danielbell) wrote : Re: Timer bug

i've just committed revision 27 into the legacy which should fix this. Its a very dirty fix (more like a hack) but it should do the trick until I have time to research a better implementation for writing text.

Basically the way text is written to the screen with pygame is that it just writes on top of the surface - and if there is text in that position it just writes over it. As a result if the text that was there before you write is longer than what you currently wish to write, then remnants of the previous text will appear.

The "fix" is that whenever we write text we add a few spaces at the end - hopefully overwriting the remnants.