Handle your game events easier! Pygvent is a simple yet useful event framework for PyGame.
With a pygvent.Handler instance, you can bind your callback functions to specific PyGame events with specific dict-keys. You can also specify more possible events or keys. Then, call myhandler.update() every step. You can use different Handlers like different game worlds. Included is an example 'Pong' application, showing this technique. Pygvent is Public Domain.
- Home Page