Is there a way to impose one image across the top of another where they intersect.
For example if I have an explosion which spawns a black scorched earth effect can I only show the scorch effect where it overlaps with land.
Develop games in your browser. Powerful, performant & highly capable.
Look at the Blend Modes template. (File->New, search for blend).
Thanks, I found what I was looking for. For anyone wondering how to do this I spawned a scorch mark sprite with the explosion, the scorch sprite had a blend mode of 'source atop'. Anything that was on the same layer as the scorch would have the intersection imposed. Anyway thanks again.