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

Re: [pygame] LayeredDirty bug?



This is just some testing code that demonstrates it.
Â
https://docs.google.com/file/d/0B40CJaTKX9a_UjN2V2RJc3Z0NmM/edit?usp=sharing
Â
Testing on Windows at the moment.
Â
The little unit should shuffle left and right whilst the app is running. This works fine until you move the Window.


On 21 July 2013 16:32, Noel Garwick <noel.garwick@xxxxxxxxx> wrote:

Please upload the code so others can test.

On Jul 21, 2013 11:18 AM, "Andrew Barlow" <andrew.barlow@xxxxxxxxx> wrote:
Hello!
Â
I'm currently just playing around with the PyGame sprite prefabs andÂI was wondering ifÂanyone hadÂever come across the issue where if you move a windowed PyGame that's using LayeredDirty, all updates stop rendering?
Â
It looks like the game loop is still running, but my screen drawing seems to stop (even though the list of dirty rects keeps populating). The Window title even says "Not Responding" but the Python console output continues to print my dirty rects.
Â
Any ideas as to why this might be?
Â
I think its got something to do with the switching between updated regions and fullscreen updates Âin the LayrerdDirty group, but I really don't know!
Â
I can uploadÂa zip of the code if that's of any help?
Â
Any help with this would be hugely appreciated!
Â
Cheers