Answer the question
In order to leave comments, you need to log in
How to make such lighting in a 2D game?
I want to make a lighting mechanic in the game, which means that the player will only see the part of the scene that is lit by the camera. The rest will be completely indistinguishable from the black background. An example in the illustration below:
How to implement this?
Answer the question
In order to leave comments, you need to log in
I see a million options, but I can’t understand what exactly interests you
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question