How do I Draw an object only while overlapping another one

Get help using Construct 2

Post » Mon Oct 31, 2016 9:15 am

Hey guys

Is there any way to draw a sprite only while it's overlapping other objects - and only the part of it that's actually overlapping. I'd assume this has something to do with masks but I couldn't figure it out. The basic example is, I have water objects, and I have a reflection sprite, I want the reflection sprite to be drawn only when it has water objects under it, and not the entire object...as I mentioned.

Is this possible?
Cheers!
B
18
S
3
Posts: 65
Reputation: 994

Post » Mon Oct 31, 2016 1:00 pm

Yes
Check the Construct 2 demo folder.
There is a demo that shows all the different blend modes on one screen.
One of them will definitely do what you want.
Destination out maybe?
Sorry I'm at work right now just passing by so cant which one or what the demo is called.
...
B
47
S
24
G
7
Posts: 359
Reputation: 8,324

Post » Mon Oct 31, 2016 1:14 pm

Will do, thanks!
B
18
S
3
Posts: 65
Reputation: 994


Return to How do I....?

Who is online

Users browsing this forum: luckyrawatlucky and 4 guests