Is there a blend method or other way to take a gradient black to white sprite lets say, and overlap with another sprite. Then wherever the darker gradient areas overlap, makes the sprite start to vanish?
Kinda like an area of opacity effect?
Develop games in your browser. Powerful, performant & highly capable.
Have a look at LittleStain reply (post 2 ?) in this thread as I think
it's what you are after.
edit - change the blend mode on the yellow "flag" to destination in.
edit 2 - this blend uses alpha not white/dark, does that matter ?