How do I make a shadow cover an object?

  • Ok, I edited this question to simplify it a little bit. So I have this .capx

    [attachment=1:ojf1j4pm][/attachment:ojf1j4pm]

    Is there any way to make the shadow cover the red object that's behind?

    This would be the perfect example:

    [attachment=0:ojf1j4pm][/attachment:ojf1j4pm]

    This is the original post if you want to check:

    Hello community!

    I am trying to make a decent flashlight effect, so I modified a .capx [sorry, can't use urls yet] and got this:

    [attachment=2:ojf1j4pm][/attachment:ojf1j4pm]

    Now the problem is, when I stand in front of a wall, I can still see the other walls when I hoover over them with the flashlight even though a wall is blocking the "light" path. Is there any way to solve this? should I use another technique to emulate a flashlight like this?

    Thanks in advance!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Bumpity bump!

    Nothing yet? :C

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)