TheAtomicMushroo's Forum Posts

  • 2 posts
  • Ah, brilliant! This worked perfectly. Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm trying to make a side-scrolling stealth game and the one thing that is giving me issue is figuring out how to make the lighting work. So far I am using sprites to fake lighting effects on a separate layer. At the moment I have a huge black tiled background over the entire play area to act as the shadow. I have a white sprite using the "destination out" filter protruding from the guard sprite to act as their flashlight. I was wondering if there is a better way to go about this. At the moment the effect looks nice, however the second the guard goes near any of the walls, their light sprite clips through it. Same goes with closed doors. Would it be possible to have a flashlight effect that is stopped by solid objects?

    I have already tried shadow lights and that failed spectacularly.

  • 2 posts