Darker to lighter

How can I make something get darker or lighter depending on where it is?

1 Like
  1. On collision with an object make it darker
  2. Please give me some more information on what this needs to do, phrasing something as “How can I make something get darker or lighter depending on where it is?” doesn’t give me much information, I need more context.

There are more ways to do this, but I need more information to give you the best solution

For a ui layer I want it to get darker then the original sprite when in darker area and like on the surface lighter can I do this with the colors block?

1 Like

Does that give more details?

1 Like

Yes, you can do with the Color behavior. It seems like the best thing to do is have the player send a message to the objects in the UI layer when the character reaches the dark area (you could detect this via collisions, or if it’s something like a cave with the Y value)