If I have a Shadow Light object and some walls (tilemap) with Shadow Caster behavior on top of layer (as I want to display it and not being shadowed) , is it possible to display only the walls that are close to the light source and not all of them ? If a wall is separated from the source by another wall, I'd like to not display it.
Anyone has found a solution or it is impossible with the implementation of Shadow Light object ?
Edit : here's a modified image from a previous post that talks a bit about what I want.
This in construct 2 :
What I would like to have :
Develop games in your browser. Powerful, performant & highly capable.
Take a look at this ? https://www.scirra.com/manual/163/line-of-sight
Never used it thought.
Probably won't help you to cast shadow over a wall, but could help you to hide the walls you're not supposed to see.
Thanks for your help Coin Coin ! , but I think this won't work with the Tilemap, as the tiles are one whole object and I can't hide some tiles while other are visible.
Actually I can have the desired effect (hidden walls) if the walls of the TIlemap are black and the shadow is black too. Thus everything that is in the shadow merge together.
Anything else ?