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

Re: [pygame] Pygame module crashing on run



On lun, 2014-02-17 at 13:50 +0100, Floris van Manen wrote:
> you'll notice that there is not cursor position returned

Well, that's not a crash, that's easy to fix. You need to handle events
otherwise Pygame won't work properly. If you're not doing anything with
the events, you can just add this line into your loop, to simply discard
the events.

        pygame.event.pump()

Attachment: signature.asc
Description: This is a digitally signed message part