Image Masking?

Get help using Construct 2

Post » Sat Nov 30, 2013 1:29 am

Is image masking possible within C2? I was hoping to find an effects filter in C2, but I couldn't find anything that works in the same way as masking in Flash or CSS. Am I overlooking it?
B
14
S
3
G
1
Posts: 87
Reputation: 1,108

Post » Sat Nov 30, 2013 8:33 am

I'm not sure what you mean by masking, but I think you should look into blendmodes. There's an example shipped with C2, which you can find in the new project dialog.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Nov 30, 2013 7:35 pm

@LittleStain

Thanks! I was looking for "effects." I overlooked the blend modes example.

What I mean by image masking is the "Destination out" blend mode example. Now that I know what C2 is calling it, I'm having a hard time recreating it. It works in the C2 example when I open it, but not when I try to recreate it in a different project. I think all you have to do is change the blend mode in the top overlapping sprite to destination out, but it doesn't have the same effect as in the example. The top overlapping sprite turns dark and opaque. I think all the settings are the same, WebGL enabled, but maybe there is something I'm missing? Can you take a look and see if it works for you?

Destination out troubleBoony2013-11-30 19:37:10
B
14
S
3
G
1
Posts: 87
Reputation: 1,108

Post » Sun Dec 01, 2013 2:50 am

I can't take a look at the capx from here, but it sounds like you need to set Force Own Texture to "yes" in the layer's properties.Ahr Ech2013-12-01 02:51:00
B
35
S
9
G
4
Posts: 201
Reputation: 5,172

Post » Sun Dec 01, 2013 4:25 am

@Ahr Ech

That did the trick. It's not explained very well in the manual. I appreciate your help!Boony2013-12-01 04:32:16
B
14
S
3
G
1
Posts: 87
Reputation: 1,108


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests