Where's My Water Destructible Terrain

Destructible Terrain is the coolest (next to water) effect one can have in their game and Where’s My Water does it perfectly. How could we do this in corona? [import]uid: 54716 topic_id: 20501 reply_id: 320501[/import]

I did a little brainstorming on this a while ago.
If you look at Carlos’s demo of curve drawing with point reduction I think you could use that as a base for the carved out edge. Have that draw into a seperate image buffer an use that as a mask.
[import]uid: 110373 topic_id: 20501 reply_id: 80382[/import]

I have a work in progress on this up for people to try out

Code is on GitHub and code resource here
http://developer.anscamobile.com/code/terradestructa [import]uid: 110373 topic_id: 20501 reply_id: 83266[/import]