[Tutor] "paused" graphic leaves a 'residue' when returning to game?

Liam Clarke cyresse at gmail.com
Sun Apr 17 03:14:23 CEST 2005


Hi Denise, 

Are you using Pygame?

On 4/15/05, D. Hartley <denise.hartley at gmail.com> wrote:
> 
> Another quick question:
> 
> I can pause and unpause the little game I created, and I have a
> graphic to display over top of the game screen when it is paused,
> which tells the user which key to press to unpause, right? It's set
> up the same way as my "game over" graphic. But in any case, when I
> unpause, it leaves this "residue" of the "paused" text on the game
> screen. the moving game characters move over it and sort of wipe it
> out, but I have no idea why it's there or how to clear it!
> 
> Has anyone else encountered a problem like this before? I can post the
> specific code if that would be helpful. I've tried to clear the
> screen, refresh, etc., and since the pause screen uses the same code
> as the game over screen I figured the former should not leave a
> residue if the latter does not. Any suggestions for things to try
> out, to fix this?
> 
> Thanks a ton!
> 
> ~Denise
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 



-- 
'There is only one basic human right, and that is to do as you damn well 
please.
And with it comes the only basic human duty, to take the consequences.'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050417/327b2b97/attachment.htm


More information about the Tutor mailing list