How do I Make a Spot / Surch Light,

Get help using Construct 2

Post » Mon Mar 10, 2014 7:42 pm

Hi,
I am building a garage and would like to be able to look around it with a flash light,
Am I right in thinking this will use 3 layers ?
The background, with a car/sprite on it / Layer 0
A lights off layer {all black} / Layer 1
The Flash light as a sprite with a transparent middle / Layer 2
how do I set it that I can see the car though the hole in the flash light sprite ?
B
13
S
4
Posts: 60
Reputation: 1,001

Post » Mon Mar 10, 2014 10:02 pm

I have got this down to setting the opacity to 100 when overlapping ,
However the whole of the sprite image is set to 100,
How do I set it so just the overlapping pixels are set to opacity 100 ?
thanks.
B
13
S
4
Posts: 60
Reputation: 1,001

Post » Mon Mar 10, 2014 10:05 pm

So many ways to do this, all depends on how dark you want the room that is not lit, so on and so forth.

What if you just had 2 layers? One for the background with items you see and a layer on top of that with a hole you can see through and move that whole layer? Of course the canvas for the top layer would extend beyond your window in all views. There are certainly other tricks along this line with just 2 layers, again, it all depends on the exact type of look you are going for.

Maybe you are going for an effect like in this game?
http://www.scirra.com/arcade/addicting- ... 688/switch
B
19
S
7
G
7
Posts: 88
Reputation: 4,102

Post » Mon Mar 10, 2014 10:46 pm

Message: Kniggles can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
TheDoctor wrote:So many ways to do this, all depends on how dark you want the room that is not lit, so on and so forth.

What if you just had 2 layers? One for the background with items you see and a layer on top of that with a hole you can see through and move that whole layer? Of course the canvas for the top layer would extend beyond your window in all views. There are certainly other tricks along this line with just 2 layers, again, it all depends on the exact type of look you are going for.

Maybe you are going for an effect like in this game?
http://www.scirra.com/arcade/addicting- ... 688/switch


thanks,
I am a bit lost in how to do this :(
B
13
S
4
Posts: 60
Reputation: 1,001

Post » Sun Mar 16, 2014 10:21 pm

Here's an effect you can use:

http://www.scirra.com/arcade/addicting- ... 5-lighting

just below it is the capx
B
19
S
7
G
7
Posts: 88
Reputation: 4,102


Return to How do I....?

Who is online

Users browsing this forum: duke2704, sebrosen and 26 guests