pygame

pygame: custom classes inheriting from pygame.Surface

Hello all, I'm playing with pygame for the first time (and am kind of a newb about python in general), and wondering if anyone could help me with this... I'm making a little shootem-up game and want to be able to create a class for bad guys. My thought was that the class should inherit from pygame.Surface, but that's giving me all kinds...

How do I send midi Control Change messages (CC's) using pyPortMidi or pygame?

I'm using Python along with Pygame which uses pyPortMidi for it's midi module, and I'm currently sending NoteOn and NoteOff messages through Midi Yoke to Ableton live, which works great. But I can't seem to figure out how I send CC messages.. Anyone? The (working) class basically looks like this. class MidiIO: def __init_...

Using the ALT key with PyGame

Hi guys, I'm looking to detect the ALT key in PyGame, but every time I press it, it will bring up the menu that you normally get if you click the icon at the upper left of the window (Restore, Maximize, etc). How do I get PyGame to recognise the keypress, rather than the window? many thanks ...

simple game development on linux

Hello, everyone. I'd like to develop simple 2d games on linux. Something like one below. The only decent tecnology I've found was PyGame. Is there any other worth taking a look? Is there a possibility to develop flash games on linux? Thanks in advance. ...

Lists in pgu/pygame

Hi, I'm searching for help about lists in pgu gui for pygame. I need to know which methods and properties they have, so I can include them in my programs ...