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
Oct 23, 2016

Oct 22, 2016

Oct 17, 2016

Oct 11, 2016

Oct 10, 2016

Oct 3, 2016

Oct 1, 2016

Sep 19, 2016

Sep 17, 2016

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