Drawing an image onto another image

Hi there,

I am a very new Corona user so any help would be appreciated! I am attempting to draw an image onto another image to give the sense that you are revealing something but in reality you actually drawing it onto the page (gives the user the impression they are erasing one image to reveal another.) I hope that makes sense!

Thank you!
Suzie [import]uid: 97655 topic_id: 17349 reply_id: 317349[/import]

I am not sure of what you are after as an end result. However if you look in the Code Exchange there is an example of scratchies, you need to scratch the area to reveal something.

that is similar to what you are describing.

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 17349 reply_id: 65667[/import]

Link to page: http://developer.anscamobile.com/code/corona-lottery-scratch-ticket

This file is currently missing for download, (it’s not an official Ansca sample,) however I’m told it will get sorted shortly.

Peach :slight_smile: [import]uid: 52491 topic_id: 17349 reply_id: 65740[/import]

Thank you for your responses! The scratch code sounds like it is the best way to go. The link to the actual code is broken though :frowning: i will keep checking it though!

Thanks again! [import]uid: 97655 topic_id: 17349 reply_id: 66304[/import]

Oh I’ve been searching for a way to do that aswell!
(I tried creating circles when the user moved with his finger over the screen and tried to get those circles as a mask - but that didn’t work :/)

Would be great if anybody could supply us with a working version! :slight_smile: [import]uid: 13097 topic_id: 17349 reply_id: 66323[/import]

Sorry all, I accidently nuked the scratch card code on a Wordpress upgrade… it has been restored.

Just search in the code exchange for it…

–Croisened [import]uid: 48203 topic_id: 17349 reply_id: 66853[/import]

Excellent :slight_smile: I’m sure a lot of people will be very pleased.

Thanks Croisened :slight_smile:

Peach [import]uid: 52491 topic_id: 17349 reply_id: 66876[/import]

Brilliant! Thanks a million, this is exactly what i am looking for! [import]uid: 97655 topic_id: 17349 reply_id: 67710[/import]