pygame is
Simple DirectMedia Layer is
Site Swing
Water Ripples

Water Ripples - 2

Tom Oldbury (tom66)



A very slow water rippling effect. Needs optimisation.


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)


Home Page:


click to view original size


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

If you wish to leave a comment with your 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.

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

Sep 11, 2015

Sep 6, 2015

Aug 26, 2015

Aug 25, 2015

Aug 21, 2015

Aug 16, 2015

Jul 30, 2015

Jun 24, 2015

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