specific layer effect help?

For questions about using Classic.

Post » Tue Feb 12, 2013 12:04 am

I'm having trouble wrapping my head around this puzzle. I'm not even sure how to describe what I'm trying to accomplish but I'm hoping some kind of layer effect will work.

Here's the .Cap: https://dl.dropbox.com/u/28484936/layer_effect_example.cap

In this simple example I have 3 layers. The background layer (with the circles), the middle layer (checkered) and the top layer (the gray semi-transparent mask with a hole in the middle).




What I want is for the middle layer (checkers) to only show through where the hole is. Any part of the checkered layer that is covered by the grey area should be invisible, while the background (circles) should show through normally. The end result should look like this:



For the sake of this example I put all three of these object on separate layers but they don't necessarily have to be laid out like this. Any ideas? Thanks!robit_studios2013-02-12 00:04:57
B
20
S
5
G
3
Posts: 65
Reputation: 3,764

Post » Tue Feb 12, 2013 1:20 am

It can be done with the erase effect:
http://dl.dropbox.com/u/5426011/fixed/robit_studios.cap
Layer 2 has "force own texture" checked and the erase effect was given to the grey tiled background.
B
79
S
24
G
54
Posts: 4,738
Reputation: 40,739

Post » Tue Feb 12, 2013 8:32 pm

R0J0! Once again you are a lifesaver. :) This is exactly what I needed.

Now, this isn't a necessity but it would be awesome if this could all be done on 1 layer (just for simplicity in a project that is already complex). Would this be possible? I tried a few things but it seems like at least 2 layers are required.

Like I said, though, the method you described will work just fine for my purposes. Thanks!
B
20
S
5
G
3
Posts: 65
Reputation: 3,764


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests