[solved] Shadowlight with walls?

Get help using Construct 2

Post » Thu Sep 08, 2016 5:40 am

Does anyone have ideas for how to light up walls with a topdown perspective like this?

Image

See how the light goes up the wall.

I don't want to do lighting like this:

Image

Image

images from this.
Last edited by alspal on Fri Sep 09, 2016 1:38 am, edited 1 time in total.
B
147
S
73
G
20
Posts: 1,785
Reputation: 22,420

Post » Thu Sep 08, 2016 9:14 am

this is yout game??
use the shadowlight under the wall layer
B
15
S
7
G
7
Posts: 201
Reputation: 5,277

Post » Thu Sep 08, 2016 10:00 am

No it's just images I found from searching.

I think the method you suggest might produce results similar to image 2 or 3.

I'm wanting to achieve the lighting on the wall as seen in image 1a, notice how in that image the wall tile is only vertically lit up at the point where the shadow starts.
B
147
S
73
G
20
Posts: 1,785
Reputation: 22,420

Post » Fri Sep 09, 2016 1:44 am

I figured out a method. On the layer which contains the light and shadows, a Canvas is placed at the bottom of each wall which is as wide as the wall and 1 pixel high. In the events the layer is pasted to the Canvas and is then the hight is stretched to be the hight of the wall.

Basically you get what you see in image 2 except now if there is a shadow below the wall then it will be vertically stretched up the wall, turning it into image 1!
B
147
S
73
G
20
Posts: 1,785
Reputation: 22,420


Return to How do I....?

Who is online

Users browsing this forum: Darth Crusher, marcoscodas, Yahoo [Bot] and 8 guests