I don't think you are understanding the events correctly.>Wii will rock you
I lol'd.
Anyway, Let's see. The tools I need:
a clock. I suppose pygame.time.set_timer(pygame.USEREVENT + 1, 1000) would be correct.
That would set a timer that, every 1000 miliseconds (that's one second, right?), would call pygame.USEREVENT + 1 which would decrease the number in a variable I call "timeleft."
So then I could make pygame.USEREVENT + 1 = timeleft - 1 or something like that? (I'm pretty sure the syntax for that is wrong)
In the above code it would. but make sure you notice that the event itself does absolutely nothing, just like a keydown event or whatever.
Then, every 1000 miliseconds it would decrease timeleft by one, right?
Then I could have something that causes a "game over" event that would wipe everything off of the screen and print "game over" and print your scores, right? and I could even have a sort of "max combo" counter thing, because that wouldn't be too hard to program either.
Yep!
HTH, -Luke