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
Feb 12, 2016

Feb 7, 2016

Feb 4, 2016

Jan 30, 2016

Jan 24, 2016

Jan 23, 2016

Jan 18, 2016

Jan 5, 2016

Dec 27, 2015

Dec 12, 2015

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