sgrofranco's Recent Forum Activity

  • Hello!, thank you for your answer, unfortunately this still doesn't work and I think that the reason is that the door is also a Shadow Caster (I want to make doors hide what's behind them), so maybe there's a way to make some Shadow Casters draw over even other Shadow caster objects?

  • That's it, im making a tile map based game where I have doors (sprites) that work also as Shadow Casters, so that they block the light and the player doesn't know what's behind them but the thing is that for example the walls I have (which also are Shadow Casters) do not hide the Doors, because they are sprites and the behavior does not hide sprites :c.

    So in the end I had to add LoS to the player and make doors invisible when not in LoS but this doesn't work entirely well as I have some bugs related to the doors dissapearing.

    giphy.com/gifs/nYT2l0sfo5qmrZHSsS

    As you can see in the GIF, the door does not show up if im in the middle tile (even tho I should have a clear line of sight since it's right in front of me) but it doesn't show up until I move closer to it. And no the problem isn't the distance of the LoS, already tested that.

    If anyone knows how to help me I would appreciate it.

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

sgrofranco's avatar

sgrofranco

Member since 19 Nov, 2020

None one is following sgrofranco yet!

Trophy Case

  • 3-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies