How do I achieve this kind of masking effect?

Get help using Construct 2

Post » Sat Feb 27, 2016 8:18 pm

Hello, can someone explain how to achieve this kind of effect in construct 2? I've tried experimenting with blend modes on layers and sprites but I don't know how to do what I want in this picture. Thanks!

Image
B
11
S
2
Posts: 91
Reputation: 1,017

Post » Sat Feb 27, 2016 8:53 pm

Go to File > New > "Example: Blend modes" to see what each blend mode does
B
84
S
22
G
15
Posts: 1,039
Reputation: 15,249

Post » Sat Feb 27, 2016 9:57 pm

The easiest thing to do is duplicate the background frame and cut-out that section, and place this second copy on top of the hero sprite at the same coordinates as the full background sprite.
Edit: or, with blending, the trick is you need the hero and mask on another layer with "Force own texture" turned on. My sample with "Destination out" then does what you want.

http://www.blackhornettechnologies.com/ ... utout.capx
ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352


Return to How do I....?

Who is online

Users browsing this forum: David181, dop2000, namaewayukidesu and 14 guests