How do I achieve this effect?

Get help using Construct 2

Post » Sun May 28, 2017 6:18 am

Image

Instead of

Image

I'm using a layer called "Lighting" of which is blackness covering the screen. I have a light sprite which creates the effect of lighting using "force own texture". But I'd like there to be a way for light to hit a wall, but only pass through a tiny section of it. Even if I need a tiled background to prevent the light sprite, it would be nice to know if I can make this happen.
Oh, okay.
B
23
S
5
Posts: 39
Reputation: 1,251

Post » Sun May 28, 2017 11:17 am

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Sun May 28, 2017 11:28 am

You can measure the distance between the player and the wall, and set the light width to it, so it does not move outside the wall.
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367


Return to How do I....?

Who is online

Users browsing this forum: db3344, leena222, mindragon73, Yahoo [Bot] and 18 guests