On 21.05.2010 22:14, Alex Hall wrote:
Well, it was not doing anything anyway, so I commented it out. The error is now gone, but my ctrl-down is still acting very strangely, acting like I had hit alt-tab or another keystroke to switch focus out of the pygame window and into the window behind it.
HiTake a look at line 38, there you quit pygame, but in line 68 (which you took out) you tell the loop to continue. If you quit pygame and still call pygame.event.get() you get the video not initialized error (took me a while to see what Lenard said).
For the odd behavior of you ctrl-down, I'm not sure what should happen, so I cant tell if it is doing what you want it to do.
~DR0ID