How to avoid shadows overlaping another shadows?

Get help using Construct 2

Post » Fri Jul 01, 2016 10:30 pm

I'm using the shadow light plugin to add an atmosphere to my game, but there is this problem... the shadows go through objects and overlap each others..

Is the plugin really limited like this or am I losing something?
B
20
S
4
Posts: 387
Reputation: 2,274

Post » Mon Jul 04, 2016 2:51 pm

Bump
B
20
S
4
Posts: 387
Reputation: 2,274

Post » Tue Jul 05, 2016 2:10 am

More than likely what's happening is either your lights are on separate layers from each other remember layers apply to lights as well.
Or you might have forgotten to put the Cast shadow behavior on the objects you're trying to affect with the shadow light.

I haven't messeed around too much with shadows very much so, I might be overlooking something.

Here's a good example of working with multiple shadow lights and objects in a scene: https://www.scirra.com/tutorials/5005/m ... ing-lights
Good luck with your project shadows can add a lot if you take the time to implement them good luck!
B
12
S
8
G
3
Posts: 33
Reputation: 3,483

Post » Tue Jul 05, 2016 2:23 am

@Brandon12hummer
Yes, shadows add a lot to the project, that's the reason I'm trying to fix this problems.

The problem is that there is no way to create 'obstacles' to shadows... it just go in front or behind the rest of the level, you know? And that's a huge problem...

I wonder if there is a way to do what I want... like, a shadow hitting a platform and stopping.
B
20
S
4
Posts: 387
Reputation: 2,274

Post » Tue Jul 05, 2016 3:43 am

I'm sorry it appears I misunderstood your initial post.

I see what you mean by shadows completely blacking out objects behind them and not colliding with them for some strange reason it's probably the way the shadow casting is set up instead of taking into account other objects the shadows seem to only take the object they are cast from into account when casting.

I tried a lot of things to try to find a workaround but I was unable to those shadows don't seem to care about anything I guess the current shadow system works better for, very specific top-down games or possibly special gameplay mechanics and don't work so well for visual appeal in a environment with lots of objects.

Unless is a workaround that i and you don't know of, anyways sorry for the misunderstanding good luck with your project.
B
12
S
8
G
3
Posts: 33
Reputation: 3,483

Post » Tue Jul 05, 2016 10:44 am

That's what I thought.. the plugin is really lacking very much... it's a shame, could be VERY usefull.
But well... at least we have the shadow effect. Very simple, but we have it hehe
B
20
S
4
Posts: 387
Reputation: 2,274


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests