pygame is
Simple DirectMedia Layer is
Site Swing

This project has no maintainer.
If you are the maintainer of this project, please sign up for an account and contact [email protected] with your account name and project title.



The project maintainer not yet posted any links for this project. account Comments

If you wish to leave a comment with your account, please sign in first.

January 19, 2008 9:49am - pymike - nickname: (pymike)
Yep. Sorry, that's a problem I've had. I'm starting a new library with my new team, which will have lots of the same scripts (but cleaned up and bug-fixed) in it. Sorry about the bugs. If you send me your code at [email protected] I might be able to fix it up :-)
January 16, 2008 9:30pm - Bernard J Quinn III - nickname: (bjquinniii)
That part I figured out. I can get the buttons to fire (activate? trigger?) as long as they are painted onto the screen. What I was unable to do was to get them to behave when I had painted them on another surface (had a large sprite on which I intended to put all of my controls/buttons. It seems like the curser collision doesn't get detected when I try to do that.
January 15, 2008 8:55am - pymike - nickname: (pymike)
Sorry...get them to fire? You mean add commands to the buttons? if so, it would work like this:

def fire():
print "bang!"


of course you can have your other args in the button but that's just a simple example.

If you want more than one arg in fire() you can use lambda. for example:

def fire(position, speed):
print "Bang!", position, speed

Button(command = lambda: fire(position=(0, 0), speed=5))

Hope this helps you!
January 5, 2008 11:29pm - Bernard J Quinn III - nickname: (bjquinniii)
I'm new to python (and OOP) so bear with me... how exactly do the buttons work? I have a screen that I have divided into separate panes using large sprites, and want to include some of your PyGU buttons as a control panel on one of them. I have been able to get the buttons to render onto the surface of the sprite, and resize appropriately when the window is resized, but I haven't been able to get them to fire...
December 18, 2007 2:19pm - pymike - nickname: (pymike)
Thanks for the feedback. Hmm...In my windows version the "Lib" drectory is uppercase. I'll fix this in the next release.
December 16, 2007 7:50am - Luca Fabbri - nickname: (keul)
Installing this version report me an error.

The DATA_PATH in the module is a string like

sys.exec_prefix + '/Lib/site-packages/pygu/gui/'

but the library is installed with a "lib" (lowercase) directory name. This is a problem on linux systems.

After changed Lib to lib, all run normally.

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Feb 21, 2017

Jan 31, 2017

Jan 24, 2017

Jan 18, 2017

Jan 7, 2017

Dec 30, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)