How do I Make shadows and light

Get help using Construct 2

Post » Wed Aug 13, 2014 1:48 pm

I don't really like the current lighting system in construct 2, i'm looking forward to make light and shadow like this:
Shadow.png

Any help is appreciated :)
You do not have the required permissions to view the files attached to this post.
B
22
S
6
Posts: 244
Reputation: 2,710

Post » Wed Aug 13, 2014 1:58 pm

You could try to recreate that with some blendmodes and layers, or you could try and build your own system..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Aug 13, 2014 4:22 pm

Hi.
First put a "shadowsCaster" behaviors to the character (sprite)

second: Insert a new object "Shadows light", "Shadow Light" opacity to 20, "Shadow Light" light radius to 20.

Ready. Test

link attach.
https://www.dropbox.com/s/cj9t7vzkvnkt0 ... 0test.capx
B
48
S
9
G
10
Posts: 200
Reputation: 8,267

Post » Thu Aug 14, 2014 3:32 pm

Hey, nice example! but i wanted something more like a unity's 2d lighting add-on i have.
Screenshot_1.png


Thanks in advance!
You do not have the required permissions to view the files attached to this post.
B
22
S
6
Posts: 244
Reputation: 2,710

Post » Thu Aug 14, 2014 5:59 pm

Hiya,

I'm not quite sure what you are after, exactly.
Something like the attached capx perhaps?
You do not have the required permissions to view the files attached to this post.
B
43
S
24
G
20
Posts: 156
Reputation: 13,604

Post » Thu Aug 14, 2014 6:30 pm

Keep in mind that i'm going to put some backgrounds in my game, not just a colour :)

i don't even know if what i'm after is possible in C2..

Screenshot_1.png
You do not have the required permissions to view the files attached to this post.
B
22
S
6
Posts: 244
Reputation: 2,710

Post » Thu Aug 14, 2014 6:54 pm

Anything is possible..

I used BlackToAlpha and Gamma for this to work.
You do not have the required permissions to view the files attached to this post.
B
43
S
24
G
20
Posts: 156
Reputation: 13,604

Post » Thu Aug 14, 2014 7:09 pm

I'm sorry i'm a pain in the ass, but i can't find the "BlackToAlpha" anywhere in the forums ;\
B
22
S
6
Posts: 244
Reputation: 2,710

Post » Thu Aug 14, 2014 7:31 pm

Unpack this into your Construct 2 effects folder.
You do not have the required permissions to view the files attached to this post.
B
43
S
24
G
20
Posts: 156
Reputation: 13,604

Post » Fri Aug 15, 2014 3:51 am

Wow! this is pretty much what i wanted, i really didn't think it was possible in Construct 2.
i wish there was a thanks button :D, also sorry for the late reply.
B
22
S
6
Posts: 244
Reputation: 2,710

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests