FastRenderGroup

updated: 06.07.2007
added: 26.05.2007

FastRenderGroup is a spritegroup like in the pygame.sprite module, except that draws things much faster. It handels layers too and switches between dirty rect drawing to fullscreen drawing if fullscreen drawing is faster. So you dont have to worry what would be faster.
There is only one LIMITATION: all sprites must be added to this group to be drawn correctly. For more information see the readme.txt and the docstrings.
A name for the different groups has been found: LayeredUpdates for the group supporting layers and LayeredDirty for the group using the DirtySprites. Both will be added to pygame 1.8.

Changes:

see module doc string and readme.txt

TODO:

known issues:

None.

Download:

(pygame 1.8) FastRenderGroup_v1.1.103.zip (~144 KB)
FastRenderGroup_v1.1.83.zip (~141 KB)
top

lens

updated: 29.03.2006
added: 29.03.2006

It's a faked magnifing lens effect written in pygame using the standard sprite module.
Some time ago surfing the web I got on a homepage which presented their products. To see the details there was a similar lens effect (done in Flash). So I decided to try to make one in python.

Had some trouble with the colorkey and alpha settings on the surfaces. Now it works, but if some one knows how to do this better, please tell me.

Todo:

Download:

lens_0.1_.zip (13kB)
top

needles

updated: 03.10.2006
added: 03.10.2006

First I wanted to do a magnetic needle simulation and ended up with this.
The needles point always where the mouse is, it does nothing else. (so they are NOT magnetic needles)

Todo:

Download:

needles.zip (~6kB)
top

gradients

updated: 09.08.2007
added: 03.10.2006

Gradient function to draw gradients. Line-, circular- and rectangular shaped gradients.
Every color can have its own gradient function, for maximal control of the gradient.
There is also a z=f(x,y) gradient function, it can generate nice patterns.
Check out the demo. Numeric is only 2-3 times faster for linear gradients, if you know a faster way to generate gradients in python/pygame tell me please.

Download:

pygame homepage in libs
gradients_rev109.zip
top

Dice Wars Enhanced

updated: 24.04.2013
added: 09.08.2007

It is a clone of http://www.gamedesign.jp/flash/dice/dice.html. It is enhanced in the sence that it is mulitplayable now. At the moment only at one computer, but I plan to extend it with an network interface so you can play on a LAN network. It is still under developement, but yet playable.
more here

Download:

Dice Wars Enhanced rev 171(~68KB)
top

Beergame

updated: 09.08.2007
added: 09.08.2007

Simply out of fun and mainly for testing the FRG (and found some bugs). It is a clone of a game I have seen recently (it was in flash).
Catch as many beerbottles as you can...
more here

Download:

BeerGame.zip (~178KB) (works with pygame 1.7.1)
top