pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Water Ripples

Water Ripples - 2

Tom Oldbury (tom66)

Tags:

Description

A very slow water rippling effect. Needs optimisation.

Changes

Fixed: event pump bug (credit & thanks to dr0id), some python warnings, using four-space tabs, added some optimisation (not much I can do here unfortunately)

Links

Home Page: http://www.pygame.org
Source: http://files.getdropbox.com/u/1134084/Pygame/Water%20Ripples/Water%20Ripples%201.tar.gz

Screenshot


click to view original size

Releases

Water Ripples - 2 - Jul 31, 2009
Water Ripples - 1 - Jul 30, 2009

Pygame.org account Comments

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

July 31, 2009 9:39am - DR0ID - nickname: (dr0id)
found the problem: you need to pump the events, otherwise the eventqueue fills up (just add a line pygame.event.pump() in the main loop).
July 31, 2009 9:24am - DR0ID - nickname: (dr0id)
Nice, but it locks up after the 5th frame or so (display freezes, code is still running, no idea). Also, it would be better to use 4 spaces instead of a tab.
spotlight

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


Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

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