How do I turn a shadowlight on and off?

0 favourites
  • 3 posts
From the Asset Store
A well commented RPG game template to learn from or use as a base for your own game!
  • Is there a way to have a shadowlight be enabled and disabled with the event sheet? I have a dark room and want it to be lit up by the shadowlight when the torch sprite is picked up. I tried changing the position but it gets set back to the controllable character every tick as to have the light follow the character.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There is no enable/disable action through events for the shadowlight itself.

    It is not even an available property for it either.

    You can play with the opacity of it though.

    At opacity 0, objects with shadowcaster behavior will not display a shadow.

    Although, it may be easier to answer your question seeing your exact project.

    Consider making a reproduction of your dark room and torch sprite and post it.

  • There is no enable/disable action through events for the shadowlight itself.

    It is not even an available property for it either.

    You can play with the opacity of it though.

    At opacity 0, objects with shadowcaster behavior will not display a shadow.

    Although, it may be easier to answer your question seeing your exact project.

    Consider making a reproduction of your dark room and torch sprite and post it.

    This worked perfectly for my current scenario, thanks!

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