How do I shadows on camera

Get help using Construct 2

Post » Sat Nov 14, 2015 6:48 pm

Hello, I am new Construct user, and I need to ask how to add circle shadows arround character. I know how to follow character by ScrollTo Behavior, but dont know how to make something like this:
Image

Camera follows blue character the first circle is without shadow, the second with shadow and anything else is dark. Player only see things at these circles. Nothing else... How can I do this.

Hope that I describe it good.


Thanks! :)
B
4
Posts: 19
Reputation: 234

Post » Sat Nov 14, 2015 6:55 pm

@Majox You need to create a mask - This should help you out greatly :https://www.scirra.com/tutorials/1336/making-a-simple-mask
Image Image Image
B
63
S
19
G
6
Posts: 325
Reputation: 7,994

Post » Sat Nov 14, 2015 6:56 pm

What you are describing can be very easily achieved using blendmodes, an example of the possibilities is shipped with Construct2
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 » Sat Nov 14, 2015 8:02 pm

I think, that I still do not get it :( My character goes trought everything and I do not know if I set it up good. I try to send here my file, but I have too samll reputation, because I am new here. Can somebody create really simple file, with these layers and function?

Thanks a lot! :)
B
4
Posts: 19
Reputation: 234

Post » Sat Nov 14, 2015 8:56 pm

look at the lighting demo that ships with c2 - it is almost what you want, just alter the mouselight light sprite.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Sat Nov 14, 2015 9:37 pm

@RamPackWobble any link please? :)
B
4
Posts: 19
Reputation: 234

Post » Sat Nov 14, 2015 9:42 pm

Majox wrote:@RamPackWobble any link please? :)


Start C2
Create new project
In the search box type 'Lighting'
Click on preview

Is this the type of effect you are after?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,548
Reputation: 60,440

Post » Sun Nov 15, 2015 12:43 am

@zenox98 thank you, yes this is what I want :)
B
4
Posts: 19
Reputation: 234


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests