How do I accomplish this?

Get help using Construct 2

Post » Fri Apr 14, 2017 5:42 pm

I want to make some of my levels dark with only a circle around the player visible. So, I can do this simply by creating a black mask sprite with a circle in the center and make that sprite follow the player. However, I also want to make other objects apart from the player to 'emit light', so If I make black masks for all of these 'light emitters' they will conflict with each other.

As far as I know, this cannot be done with C2 on its own. So, is there some plugin I can add to it?
B
19
S
7
Posts: 142
Reputation: 1,776

Post » Fri Apr 14, 2017 7:10 pm

Can I ask what you mean by "conflict with each other?"
B
56
S
33
G
23
Posts: 334
Reputation: 16,743

Post » Fri Apr 14, 2017 8:43 pm

Well, the black part of the mask will cover the transparent parts of other masks. Get it? You see, the goal is to make the rest of the level black, except for the areas I don't want, but adding a mask on each area I want it to be visible will make them cover each other and my whole level will be black....
B
19
S
7
Posts: 142
Reputation: 1,776

Post » Fri Apr 14, 2017 9:06 pm

I don't completely understand what you're trying to do, however you could use a layer above your game (but below the UI layer), fill it with a black background and set the opacity to your desired level.

Try exploring that option first and see what you can do with it before you decide to look for an external addon
Image Image Image
B
29
S
11
G
27
Posts: 729
Reputation: 16,995

Post » Fri Apr 14, 2017 11:30 pm

B
33
S
18
G
28
Posts: 2,477
Reputation: 20,918

Post » Sat Apr 15, 2017 2:03 pm



Exactly what I wanted! Thanks a bunch!
B
19
S
7
Posts: 142
Reputation: 1,776


Return to How do I....?

Who is online

Users browsing this forum: digitalsoapbox, RetrocadeMedia and 1 guest