Wheres my water sample / example

I am thinking of a wheres my water style puzzle. But not really the same thing.

what i want to do.

  1. be able to rub area and reveal what is below it. Like a scratch off game.

  2. in other areas of the game i would like to do rub the area and allow something to fall through the area that was cleared off. Like wheres my water.

What i could do for #1 above is just change the opacity of the area every time they rub is to reveal the below item, but i think there is a better way using the wheres my water style of rubbing dirt or a scratch off.

Can anyone help me out here?

thanks

Larry

Look at the sample code that ships with Corona SDK.

SampleCode/Graphics/SnapshotEraser/

Rob

By golly that is exactly what i needed.

thank you for point that out.

Larry

Look at the sample code that ships with Corona SDK.

SampleCode/Graphics/SnapshotEraser/

Rob

By golly that is exactly what i needed.

thank you for point that out.

Larry