pygame is
Simple DirectMedia Layer is
Site Swing
Surface-based destructible terrain

Surface-based destructible terrain - 1.0

Francesco Mastellone (effeemme)



For an hypothetic nonexistent reader who can't figure the twenty lines of code out, this simply blits a circle of X color onto a surface whose colorkey was previously set to X.

Coming up: destructible terrain based on rectangle subdivision. It's better than the surface approach if you actually want this terrain to be useful for stuff like checking whether a platformer character is on it.

The spiffy terrain images are GIMP-powered. Clouds are brushes on a gradient, terrain is brushes, smudges, and unsharp masking.


Home Page:


click to view original size


Surface-based destructible terrain - 1.0 - Sep 30, 2008 account Comments

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

No user comments have been submitted.

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

Nov 12, 2015

Nov 11, 2015

Nov 8, 2015

Oct 16, 2015

Oct 9, 2015

Sep 11, 2015

Sep 6, 2015

Aug 26, 2015

Aug 25, 2015

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