Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Wheres my water sample / example
Started by doubleslashdesign Aug 13 2016 11:16 AM

2 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

doubleslashdesign

[GLOBAL: userInfoPane.html]
doubleslashdesign
  • Contributor

  • 725 posts
  • Corona SDK

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



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 22,041 posts
  • Corona Staff

Look at the sample code that ships with Corona SDK.

 

SampleCode/Graphics/SnapshotEraser/

 

Rob



[TOPIC: post.html]
#3

doubleslashdesign

[GLOBAL: userInfoPane.html]
doubleslashdesign
  • Contributor

  • 725 posts
  • Corona SDK

By golly that is exactly what i needed.

 

thank you for point that out.

 

Larry




[topic_controls]
[/topic_controls]