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.
My in work shmup game CYBERSTORM DEVLOG - "That Terminator is out there. It can't be bargained with. It can't be reasoned with. It doesn't feel pity, or remorse, or fear. And it absolutely will not stop, ever, until you are dead"
B
50
S
26
G
7
Posts: 402
Reputation: 8,685

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: No registered users and 15 guests