Hi everyone. I was wondering how to go about creating a lotto card scratch off effect overlaying a gray circle over and image that can be rubbed off when on a mobile device.
Thanks
Use blend modes:
dropbox.com/scl/fi/qz1p7nx6ispc4po5xe3q0/ScratchOffTicket.c3p
Wow! Thank you!
dop2000
Hmm... I though I followed everything but the scatch image (red) paints instead of becomes transparent.
dropbox.com/scl/fi/y5mte8vv10mvy7ekabhss/Dans-Scratch-off.c3p
Ideas?
Develop games in your browser. Powerful, performant & highly capable.
Mask sprites should be on Mask layer. Scratch sprite should have Destination Out blend mode.
Hmm.. caught that after looking at your example a second (third, forth and fifth time lol).
Still painting instead of erasing though.
drive.google.com/file/d/1qwBmLxhrk2MIc7Y3wWVNkf6j3NBYiaJD/view
The Mask sprite should have Normal blend mode. Scratch sprite should have "Destination out" mode. It will turn invisible.
BOOM!
Perfect. Thank you so much!