Mask or Erase assistance

For questions about using Classic.

Post » Fri May 15, 2009 2:47 am

How can I hide everything on a layer except where I have my mask sprite without making the mask gigantic? I have a feeling it has something to do with force own texture but I cant figure it out.
B
2
S
1
G
3
Posts: 59
Reputation: 1,118

Post » Fri May 15, 2009 3:16 am

I had a long thread about this same question a long time ago with construct
eventually, the only way I found to it was using a canvas

make the sprite invisible,

[code:11cmh3h2]+always
---clear canvas
---paste masksprite to canvas[/code:11cmh3h2]

and set the mask effect to the canvas instead of the masking sprite
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Fri May 15, 2009 4:01 am

It would be nice if I could have a large tiled erase object, with a mask over it that cancels part of it out.

Is this possible with a shader?
Like a shader that sets the alphas to 0 (the big tiled object)
Then a 'mask' that increases just the alpha.
B
2
S
1
G
3
Posts: 59
Reputation: 1,118


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests