How should I fix my translucent sprite problem?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mc1996


I wanted to make limited vision effect like in darkwood game.

And Ive found it in gdquest limited player vision with lights, but i ran into problem.

I was able to make sprite invisible outside of light, but in the light its translucent.

And i dunno how to make my sprite full body and not just translucent.

In gdquest tutorial that doesn’t happen, but maybe i dunno what ive misinterperted or what.

But can you give me some advice about it.


Thank you for reading this.


Copy and share the snippet of code you’re using to make the sprite visible again.

BoxyLlama | 2022-09-30 20:28

i didn’t use code just light2d nodes. And texture of light2d i used as sprite as tutorial suggested. And I dunno how to screenshot code and i didn’t write any codes just nodes.

mc1996 | 2022-10-01 13:14