So the question is as follows:
I want to draw the entire visible screen black (no foreground, just object based) except for a (ecliptic) shape inside. How can this be achieved in an efficient manner?
It's the effect you get when you walk into (or out of) a dungeon in alttp. I've already build it with sprites way back when, but I'm trying to make it more efficient. It's also out of interest because programming the visuals for the lantern later on will also benefit from an efficient solution.
I'm guessing the best bet would be to create a surface outside of the draw event (sized after the screen). Clear it, turn it fully black and finally turn the inner area transparent again. I'm not sure if this is possible or how to do it. Let alone if this is the only/best solution.
Who can help?