How do I set a brilliant light behind the player? (Paster)

Get help using Construct 2

Post » Fri Nov 27, 2015 9:53 am

Hi.

The scenary is a 2D platform game.

I have learnt basics about Paster, but...

Layer that contains the Paster is on the top of layers (it must be). So the darkness (a giant black sprite) is above the player and pasted into Paster, right. Now, all is dark, right again.
There is a TV turned on behind player, which has its own light.
A light behind player will never be able to shine because is under the darkness. If you paste the light object into Paster, it will shine but light will be above the player. When you walk over it, it will stay over you.

https://www.dropbox.com/s/75vlj1cmi2t0hk0/light_problem.capx?dl=0
Any ideas about fix this?
Thanks in advance. :roll:

Excuse me for my bad english.
B
25
S
3
G
1
Posts: 53
Reputation: 1,417

Post » Fri Nov 27, 2015 10:31 am

Added a capx. I forget it :)
B
25
S
3
G
1
Posts: 53
Reputation: 1,417

Post » Fri Nov 27, 2015 11:10 am

@R0J0hound? Can you throw some light over this, please?
B
25
S
3
G
1
Posts: 53
Reputation: 1,417

Post » Fri Nov 27, 2015 11:15 am

There is no reason to bump your thread, you could have just edited your post..

I'm not really sure what effect you are really trying to achieve and why you use the paster plugin for this..
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 » Fri Nov 27, 2015 11:29 am

Sorry @LittleStain. I'll try to not bump again.

Due to your answer I am thinking about if it's a mistake use Paster plugin only to achieve a light system. A brilliant light effect is what I'm trying to achieve. Simply, a TV shining in the dark, but if you walk in front of the Tv, the light remains behind the player. Am I explaining well?

My reason for Paster is that in the game, lights will be lightning the room where you are and the walls behind player, but not the background such as sky or mountains.

I am thinking this is impossible even if you are using a traditional light system, this is:
Layer 0: -
Layer 1 : Light
Layer 2: Darkness
Layer 3: Player

When you want player walk above the light, you have to move Player lo layer 0, but whit this, Player will be lighted with no darkness. :cry:
B
25
S
3
G
1
Posts: 53
Reputation: 1,417

Post » Fri Nov 27, 2015 11:47 am

Somthing like this?

Far from perfect
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 » Fri Nov 27, 2015 12:33 pm

Thanks @LittleStain, but the desired result is like is that light were behind player all time, with all its original shinning.
With this method I cannot see a good path to achieve it. Perhaps, I personally can't get it.
B
25
S
3
G
1
Posts: 53
Reputation: 1,417

Post » Fri Nov 27, 2015 12:47 pm

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 » Fri Nov 27, 2015 1:05 pm

Yesss @LittleStain. I think you strike home (I think its well writed XD ).
I'll study your example. It looks like the best way, I guess.

Thanks again, master.
B
25
S
3
G
1
Posts: 53
Reputation: 1,417


Return to How do I....?

Who is online

Users browsing this forum: Darknessed and 12 guests