Overlay/decals (Construct's equivalent.)

For questions about using Classic.

Post » Wed Mar 02, 2011 11:27 am

I have yet to find how to do this in construct and would like to know if anyone else has an idea on how to do this.

What I want to do is make an Sprite that's visibility is controlled by if its over another sprite as so.

Ex the blue square would be what i want to decal.

How would I go about doing this? Thanks in advance.
B
2
G
3
Posts: 16
Reputation: 882

Post » Wed Mar 02, 2011 12:21 pm

Filters, more specifically masks.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Thu Mar 03, 2011 5:09 am

[quote="Mipey":yf2zopj1]Filters, more specifically masks.[/quote:yf2zopj1]
I'm sorry, but could you be more specific? I found how to apply a mask effect, however it seems to not have effect of what I needed. This seems to only modify the image below it and apply its transparency biased on the mask's transparency.

what I needed was something that could apply to another sprite like a decal or an overlay, so that it wouldn't lose its original texture.

I was able to make a "dirty" way of doing this However in the example you can see it would require a "mask" the size of the entire screen in any practical use.
[url:yf2zopj1]http://www.mediafire.com/?1i8pcsabfy877a2[/url:yf2zopj1]

I was hoping to have an option that could be used multiple times on the same object such as splotches of paint when they hit a target. the paint shows up on the target sprite but the wall behind it is clean.
B
2
G
3
Posts: 16
Reputation: 882


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests