An example of destructable terrain. You may use in this example any background image and any ground image. So you are not limited to a one color image. Also the screen will not flicker in this example.
Within the zip file you will both find an example which uses a background to take parts of and an example that uses sprites