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 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.

August 12, 2008 2:57pm - Luca Fabbri - nickname: (keul)
> while not e(12)and q and not not x[0] in range(240) or not x[1] in range(240):

This line has something like "not not x[0]..."!

Another: you can write down what you want after a "]", like:
> x[0]in range(240)or not x[1]in range(240)

This way the code became VERY ugly, of course!
August 12, 2008 8:25am - pymike - nickname: (pymike)
Hi ffao,

I've been working on a newer version, and I've already figured out a few of the things below! The j(*(f+(0,))) is awesome, I'll borrow that :-)

Thanks for the interest :-)
August 11, 2008 9:26pm - ffao - nickname: (ffao)
Nice to be influencing a large number of pygme coders! (I see you borrowed the ((v&2)-1)*[1,2][v<3] thing) Mine's still shorter though, I think I picked a very simple algorithm to begin with (nobody commented about my favorite part of my algorithm yet, but it only saves a few keystrokes).

There's still something to be done though if you want to go for a lower byte count -- for example, j(f[0],f[1],0) is the same as j(*(f+(0,))) [isn't that pretty?]. Also, you can create a variable with the value 16 to save a few bytes. You could get rid of the variable s too, as the only method of it you use is s.fill(). So instead of s=h.set_mode([240]*2) do s=h.set_mode([240]*2).fill, and then call s() directly.
August 10, 2008 4:03pm - pymike - nickname: (pymike)
This one won't be getting sound, since it was made to be small.
August 10, 2008 12:02pm - qubodup - nickname: (qubodup) - 4/5

Needs sounds though

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)